TeeChart New Version Integration Issue

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Quant
Advanced
Posts: 142
Joined: Tue Dec 30, 2014 12:00 am

TeeChart New Version Integration Issue

Post by Quant » Wed Jan 20, 2016 7:07 am

Hi,

We have used the Latest Version of TeeChart with our Project and we are getting following visible differences as shown in attached screenshots.
TchartDiff.PNG
With Previous Version of TeeChart
TchartDiff.PNG (47.17 KiB) Viewed 2296 times
TchartDiff.PNG
With Previous Version of TeeChart
TchartDiff.PNG (47.17 KiB) Viewed 2296 times
There are two visible differences:
1] Axis Labels Font Size gets increased.
2] Axis Border gets Invisible.

Please let us know how to resolve them.

Note: We didn't change anything in our project. We checked the same with older TeeChart Version again which is working fine.
Attachments
Acc Latest.png
With Latest (Dec-15) Version of TeeChart
Acc Latest.png (42.94 KiB) Viewed 2298 times

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

Re: TeeChart New Version Integration Issue

Post by Christopher » Wed Jan 20, 2016 4:21 pm

Hello,

Using TeeChart.dll 4.1.2015.12161, the .NET 3.5 version shipped with the latest release, running the following code:

Code: Select all

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      tChart1.Series.Add(typeof(Candle)).FillSampleValues();
    }
gives me the following chart:
export635889034627644469.png
export635889034627644469.png (28.29 KiB) Viewed 2269 times
this is because of changes to the default theme. To change the theme back to that of previous versions, you can use:

Code: Select all

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      tChart1.Series.Add(typeof(Candle)).FillSampleValues();

      tChart1.CurrentTheme = ThemeType.Opera;
    }
which gives the following:
export635889035119026550.png
export635889035119026550.png (46.98 KiB) Viewed 2269 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

Quant
Advanced
Posts: 142
Joined: Tue Dec 30, 2014 12:00 am

Re: TeeChart New Version Integration Issue

Post by Quant » Thu Jan 21, 2016 4:40 am

Hi,

Code: Select all

tChart1.CurrentTheme = ThemeType.Opera;
We added following code to our project and it changed whole appearance of the chart. :(
Attaching the screenshot for your reference. Please check previously attached screenshot for our original Chart Appearance.

After Opera Theme Applied.png
After Opera Theme Applied.png (76.33 KiB) Viewed 2260 times

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

Re: TeeChart New Version Integration Issue

Post by Christopher » Thu Jan 21, 2016 10:03 am

Quant wrote:We added following code to our project and it changed whole appearance of the chart. :(
Yes, that is the expected behaviour.

May I suggest, then, that you either:
1) change the theme and then apply all the color/font etc. changes you wish
2) do not change the theme, but specify *all* the color/font etc. changes you wish
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