Search code examples
androidchartsachartengine

How to set the color of ticks in Dial Chart of AChartEngine


Now i can create the DialChart of AChartEngine like this

image one
(source: ppt.cc)

but i don't know how to set the background color of the ticks,like this one

image two
(source: ppt.cc)

thanks a lot.


Solution

  • You can your ticks color by using this method
    renderer.setLabelsColor(Color.parseColor("hexa decimal color code")); It will works finely.