How to customize LinearGauge Frame ?

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Mulderone
Newbie
Newbie
Posts: 26
Joined: Mon Oct 03, 2011 12:00 am

How to customize LinearGauge Frame ?

Post by Mulderone » 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 :
gauge-goals.jpg
The final linear gauge goal I try to create
gauge-goals.jpg (14.74 KiB) Viewed 7925 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 7925 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.

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to customize LinearGauge Frame ?

Post by Yeray » Tue Aug 14, 2012 3:00 pm

Hi Mulderone,

Could you please send us the complete code that generates the chart you get in that image?
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply