How to customize LinearGauge Frame ?
Posted: Mon Aug 13, 2012 11:40 am
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 : 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 : 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.
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 : 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 : 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.