Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

threshold in AchartEngine?

I am new to android, and I have been using AChartEngine to make graphs I would like to know if there any way to set a threshold line for a graph in AchartEngine?

An example might be to have thresholds in a temperature chart at 32 degrees F and 212 degrees F. Below 32 the line could be one color, it could be a different color between 32 and 212 and another color above 212.

like image 559
callback Avatar asked Mar 23 '26 02:03

callback


1 Answers

You can do this with bar charts by enabling the gradient and setting the start and stop gradient colors, but not with line charts.

like image 83
Dan D. Avatar answered Mar 25 '26 14:03

Dan D.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!