Page 1 of 1

LinearGauge Greenline

Posted: Thu Apr 03, 2008 2:35 pm
by 15048424
Hi,

i have problems to change the greenline settings at runtime (in powerbuilder)
e.g.

works:

asLinearGauge.RedLine.visible = true
asLinearGauge.RedLine.StartValue = 0
asLinearGauge.RedLine.EndValue = 40

not work:

asLinearGauge.GreenLine.visible = true
asLinearGauge.GreenLine.StartValue = 50
asLinearGauge.GreenLine.EndValue = 100

thanks,
Thomas

Posted: Thu Apr 03, 2008 2:51 pm
by narcis
Hi Thomas,

Thanks for the information. I've been able to reproduce the issue here and added it (TA05012939) to our defect list to be fixed for next releases.

Posted: Mon Apr 28, 2008 10:22 am
by 15048424
Hi,

I have the same problems with
asLinearGauge.Back.Color

Thanks,
Thomas

Posted: Mon Apr 28, 2008 10:30 am
by narcis
Hi Thomas,

The property for that should be:

Code: Select all

    TChart1.Series(0).asLinearGauge.Face.Gradient.Visible = False
    TChart1.Series(0).asLinearGauge.Face.Color = clRed
Anyway, I checked the Color property doesn't work so I've added it to the defect list too.

Posted: Mon Apr 28, 2008 10:37 am
by 15048424
Hi,

both properties work for me.

Thanks,
Thomas

Posted: Mon Apr 28, 2008 10:40 am
by narcis
Hi Thomas,

It's strange as Color doesn't work fine for me here using v8.0.0.3, which is the first version that supports this series style actually.

Posted: Mon Apr 28, 2008 11:05 am
by 15048424
That is really strange.
Maybe other properties influence the color property...
[/img]

Posted: Mon Apr 28, 2008 12:21 pm
by narcis
Hi Thomas,

I just added a LinearGauge series to a new chart and changed those 2 properties. Could you please try exactly the same at your end?

Thanks in advance.

Posted: Mon Apr 28, 2008 12:36 pm
by 15048424
Hi,

I did the same things and it works...
I can send screenshots or teechart file to you (email?)

Posted: Mon Apr 28, 2008 12:42 pm
by narcis
Hi Thomas,

Please post the files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Mon Apr 28, 2008 12:51 pm
by 15048424
I post the files to the upload page (linear_gauge.zip -> screenshots and teechart file)