Page 1 of 1

How to customize LinearGauge Frame ?

Posted: Mon Aug 13, 2012 11:40 am
by 17060329
Hello,
I try to customize a LinearGauge about the height of middle band where the series are displayed.

The goal is to build this gauge rendering :
gauge-goals.jpg
The final linear gauge goal I try to create
gauge-goals.jpg (14.74 KiB) Viewed 8841 times
About the global panel, some frame band are displayed and I would like the data zone take all the panel size (and currently, only width is ok; but the height of LinearGauge include 2 two on top and on bottom) like this screenshot :
frame.jpg
The problem : the screen display 2 bands (one on top, one on bottom).
frame.jpg (11.68 KiB) Viewed 8841 times
Have you a example of LinearGauge code or instruction to resize the heigh with not empty band about the Frame ?
I tried several setVisible(false) on Frame, on Inner/OuterBand but without success.

Also I try to include the gradient background on all the panel but only success for middle band background change with :
gauge.getFaceBrush().getGradient().setStartColor(bgStartColor);
gauge.getFaceBrush().getGradient().setMiddleColor(bgMiddleColor);
gauge.getFaceBrush().getGradient().setEndColor(bgEndColor);

Thanks for your quick help.

Best regards.

Re: How to customize LinearGauge Frame ?

Posted: Tue Aug 14, 2012 3:00 pm
by yeray
Hi Mulderone,

Could you please send us the complete code that generates the chart you get in that image?
Thanks in advance.