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

Incorrect rendering of composite graphs #181

Open 4unkur opened 7 years ago

4unkur commented 7 years ago

2016-09-13_13-54-27

https://jsfiddle.net/4unkur/x1m525qn/3/

josephbona commented 7 years ago

If you're using composite graphs you need to set the same chartRangeMin and chartRangeMax for both sparkline instances to keep correct scale of the y axis. There is no way to dynamically set the second y axis scale based on the first that I see. Need that feature myself..