gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

Improper display with Chrome, Safari #188

Open AjayOza opened 7 years ago

AjayOza commented 7 years ago

My app works really well on Firefox and Sparklines are a central feature. However, not the case with Chrome and Safari. I an SO question: http://stackoverflow.com/questions/42271572/odd-angularjs-1-5-behaviour-in-chrome-of-nested-directive-in-component

Issue is reproducible on plunker: https://plnkr.co/edit/K9wO5Ibx1Uk8ygkOUGU6?p=preview

Thanks for having a look...

AjayOza commented 7 years ago

Apologies, this works now with version 2.1.2, though I had to manually fix the tooltip size by adding 10 to width and height in the getSize function. Thanks