Page 1 of 1

linear gauge

Posted: Tue Aug 07, 2007 7:22 am
by 13046291
Hello

I want to configure a linear gauge in the editor (remove the border, change the backcolor...). But all changes doesn't work. When excecuting the program I always see the standard gauge.

Is this a bug? Or shut I program the changes via code?

Posted: Tue Aug 07, 2007 10:23 am
by narcis
Hi newcomer,

It works fine here using the What's New?\Welcome !\New Series\Gauges\Linear Gauge example in the features demo, pressing the Edit Top Series button. The features demo can be found at TeeChart's program group.

Would you be so kind which exact properties are not working at your end and also let us know the TeeChart version you are using?

Thanks in advance.

Posted: Tue Aug 07, 2007 11:28 am
by 13046291
version 3.2.2763.26082

here are the properties:

linearGauge1.FaceBrush.Color
linearGauge1.Frame.(InnerBand / MiddleBand / OuterBand).Color
linearGauge1.Frame.(InnerBand / MiddleBand / OuterBand).Visible = false;
linearGauge1.GreenLine.Visible = false;
linearGauge1.RedLine.Visible = false;

Posted: Tue Aug 07, 2007 11:43 am
by narcis
Hi newcomer,

Thanks for the information.

Yes, you are right. When setting those properties at design-time they are not serialized and not persisted at run-time.

I've added this bug (TF02012384) to our defect list to be fixed for the next releases. In the meantime, the only workaround is setting them programmatically at run-time.