I need a line chart library that supports multiple colors (more likely three colors) for a mobile application.
Example: the Y axis is called glucose and the range is 50-600, then the x-axis date, the rage of one month (so there will always be a range of 30 points per day)
Logic: consider the beginning of the x axis from
1st and level of glucose is 70
2nd - 80
β¦
β¦
β¦
9th - 300
10th β 350
β¦
β¦
β¦
15th β 500
16th β 550
β¦
β¦
β¦
25th β 120
26th β 130
So, my graph should be drawn as follows, depending on the level of glucose.
50 β 150 - low β and line color should be green
151 β 300 β average β line color should be orange
Above 301 β high β line color should be red
I went through google graphs and jqPlot, but it seems you are out of luck, is anyone experiencing this?
source
share