Custom Line Chart
enes-sakut opened this issue · 1 comments
enes-sakut commented
danh32 commented
Unfortunately, this isn't a direct feature of Spark. You might be able to get this coloring by calling sparkView.setSparkLinePaint()
with your own paint that you've set up with a LinearGradient
. You'd have to do some math to adjust the LinearGradient to your data set, however as the coordinates of the graph aren't the same as the coordinates of the LinearGradient.