Appearance differs from Old version to New Teechart Assembly

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Gilber
Newbie
Newbie
Posts: 3
Joined: Thu Oct 05, 2017 12:00 am

Re: Appearance differs from Old version to New Teechart Assembly

Post by Gilber » Tue May 29, 2018 9:15 am

Hi Christopher,

Thank you for the information.
Our organization had one more license with source code access and we were able to get it.
As I informed earlier, our client is adamant towards finding a solution for this issue, we performed following steps.

1. Downloaded all the versions of Teechart.WPF.dll since 2010 and checked their behavior with our software.
2. We finalized on a version February 04, 2013(Build 4.1.2012.01310) which closely resembles with the behavior of our initial Teechart assembly.
Release notes of this revision also says following.
2) [No Bug ID]
Axis labels leaking memory under some
circumstances. Fixed.

So we believe that this revision also has the fix for our original out of memory issue fix.

As we are going to use this revision, it has an small issue where the vertical lines and the labels are overlapping each other. Actually there are two teechart components exactly on top of each other. The overlap issue did not occur with initial revision of Teechart(September 28, 2010(Build 4.1.2010.09280)), however overlap issue started occurring with very next revision of teechart(November 30, 2010(Build 4.1.2010.11300)). Please see attached pic.
We suspect that issue may be related with the Visibility property of the Teechart.WPF.Styles.SeriesPointer.Pointer. Changing the visibility of this property also alters the vertical line's location. Was there any change between these two revisions related to this property Teechart.WPF.Styles.SeriesPointer.Pointer.visibility ?

Can you please guide/suggest us towards resolving this issue ? Any suggestion will be deeply appreciated.

Thanks in adavnce
Attachments
SlightAxisAndTextOverlap.png
SlightAxisAndTextOverlap.png (23.83 KiB) Viewed 12149 times

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

Re: Appearance differs from Old version to New Teechart Assembly

Post by Christopher » Wed May 30, 2018 10:28 am

Hello,
Gilber wrote: Can you please guide/suggest us towards resolving this issue ? Any suggestion will be deeply appreciated.
I'm not entirely sure how you want me to help you here. Do you want me to suggest changes you can make to the source-code version you have so that you can build your own TeeChart.dll? If this is so then I will have to check with our managers here to confirm that this is going to be possible.
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

Gilber
Newbie
Newbie
Posts: 3
Joined: Thu Oct 05, 2017 12:00 am

Re: Appearance differs from Old version to New Teechart Assembly

Post by Gilber » Thu May 31, 2018 9:14 am

Hi Christopher,

Our expectation is any of the following.

1. Suggest us the Teechart properties which we need to work with in order to bring the original behavior, without any overlap of axis and labels.
2. Suggest us the source code changes in order to bring back the original behavior.

Please consult with your manager in case it is required.

Thanks and Regards,

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

Re: Appearance differs from Old version to New Teechart Assembly

Post by Christopher » Thu May 31, 2018 9:57 am

Hello,
Gilber wrote: 1. Suggest us the Teechart properties which we need to work with in order to bring the original behavior, without any overlap of axis and labels.
Can you please produce for me a minimal, complete and verifiable example (an mcme) with which I can reproduce this problem here?
Gilber wrote: 2. Suggest us the source code changes in order to bring back the original behavior.
Once you have provided us with an mcme with which we can reproduce the overlapping labels here we will be able to accurately reassess the situation.
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

Gilber
Newbie
Newbie
Posts: 3
Joined: Thu Oct 05, 2017 12:00 am

Re: Appearance differs from Old version to New Teechart Assembly

Post by Gilber » Fri Jun 01, 2018 8:52 am

Hi Christopher,

Please find the attached verifiable demo project.
Compiling and running this project with reference of TeeChart.WPF.dll v.4.1.2010.9282 will not result in any issue.
However compiling and running this project with reference of TeeChart.WPF.dll v.4.1.2010.11302 or v4.1.2012.1311 or any other recent version will result in overlap issue.

As informed earlier, we have finalized to use v4.1.2012.1311.
We prefer the solution if it is achieved without modifying the source code of Teechart, i.e. better if we can bring back the original behavior by tweaking some of the existing properties of TeeChart.WPF.dll.

Thanks and Regards,
Attachments
WpfAppTeechart.zip
(352.86 KiB) Downloaded 825 times

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

Re: Appearance differs from Old version to New Teechart Assembly

Post by Christopher » Fri Jun 01, 2018 9:29 am

Hello,

This issue can be resolved by a single line of code. Using the latest publically available version of TeeChart.WPF.dll I have added this line in a method:
devenv_2018-06-01_11-28-23.png
devenv_2018-06-01_11-28-23.png (11.95 KiB) Viewed 12113 times
adding in this line resolves the problem:
WpfAppTeechart_2018-06-01_11-26-46.png
WpfAppTeechart_2018-06-01_11-26-46.png (10.88 KiB) Viewed 12113 times
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