Page 1 of 1

Gauges saved in old versions and opened in last version dont mach

Posted: Wed Nov 07, 2018 5:02 pm
by 15684459
Hello again,

And thanks for be there…;o)

I have updated our Teechart versión (from 2014 to 2018)

Now, when I open a saved Gauge (saved with 2014) the appearance of it is not really good. How could I make it be shown as I can see in the older version?

I attach 2 images of a Gauge (shown in older version and shown in new version)
Old version:
GaugeV2014.png
GaugeV2014.png (14.29 KiB) Viewed 8136 times
New version:
GaugeV2018.png
GaugeV2018.png (9.61 KiB) Viewed 8136 times
Regards,
Tony.

Re: Gauges saved in old versions and opened in last version dont mach

Posted: Thu Nov 08, 2018 9:07 am
by 15684459
Hi again,

I have already solved it. The problem was in the marker position (the marker for the text in the gauge)


I dont know why, but in new versión the chart (previously saved in older versión) is opened with an extrange position out of limits of the rectangle. What I have done is only to place it by code when the window is loaded

For each serie in the chart:
numericGauge.Markers[0].Position = Steema.TeeChart.Tools.AnnotationPositions.Custom;

Anyway, thanks for your attention!

Tony

Re: Gauges saved in old versions and opened in last version dont mach

Posted: Thu Nov 08, 2018 9:27 am
by Christopher
Hello Tony,
Msi wrote:
Thu Nov 08, 2018 9:07 am
Anyway, thanks for your attention!
You're very welcome. I'm not entirely sure what might be happening here - I do know that between 2014 and 2018 the default theme was changed for TeeChart, which might mean some small differences in rendering by code written in the Windows Form Designer by the older version and read by the newer version. Anyhow, please don't hesitate to contact us if we can be of any further help.