How to set fill color on a Solid Gauge chart?

How do you set the fill color of a Solid Gauge chart?

This is the area behind the arc - filling the rectangle.

Also, if you do not require a title for your chart, how can you recapture some of the space above the arc on a Solid Gauge chart?

Thanks,

John

Anyone?

Hi John,

The area behing the arc is the chart background, you should be able to do

configuration.getChart().setBackgroundColor(...)

Regarding the spacing, by default it should take much extra space if there’s no title, if this doesn’t happen you can force it with:

configuration.getChart().setMarginTop(0) Hope this helps,

Guillermo

Many thanks Guillermo that is exactly what I was looking for.

  • John