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

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Msi
Newbie
Newbie
Posts: 8
Joined: Fri Sep 14, 2018 12:00 am

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

Post by Msi » Wed Nov 07, 2018 5:02 pm

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 7828 times
New version:
GaugeV2018.png
GaugeV2018.png (9.61 KiB) Viewed 7828 times
Regards,
Tony.

Msi
Newbie
Newbie
Posts: 8
Joined: Fri Sep 14, 2018 12:00 am

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

Post by Msi » Thu Nov 08, 2018 9:07 am

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

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

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

Post by Christopher » Thu Nov 08, 2018 9:27 am

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply