wangyao5 / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

[Feature Request/Enhancement] DialChart as SpeedOMeter #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just came around this wonderful looking DialChart. It's working perfect, 
looking cool and while I was developing a new Android tool for my biking tours 
I thought "Hey, why not use a DialChart as a SpeedOMeter". 

To test it I created an Activity with a BroadcastReceiver that receives 
notifications from a Service with a LocationListener.

It's working perfect but it's not useful if there are updates - the whole chart 
needs to be re-drawn entirely on updates. The problem is the Category (the 
tick, the needle). There is no way to set a new value for the Category.

I think the following method is "missing" to get this beast running:

CategorySeries.setValue(int index); followed by a repaint of the Needle alone 
or the Chart entirely (if it needs to).

Original issue reported on code.google.com by hawiko...@googlemail.com on 26 Mar 2011 at 7:47

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 12 Apr 2011 at 8:47

GoogleCodeExporter commented 9 years ago
Added the required APIs in SVN r146.
After changing the values, you will have to call GraphicalView.repaint() 
yourself.

Original comment by dandrome...@gmail.com on 13 Apr 2011 at 4:58