Incompatible issues after version update

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Simon Dahlquist SP
Newbie
Newbie
Posts: 7
Joined: Tue Oct 11, 2011 12:00 am

Incompatible issues after version update

Post by Simon Dahlquist SP » Fri Sep 21, 2012 8:32 am

I've updated teechart from .Net version 3.x to version 4.1.

After update I got following errors in code (VS 2010):
this.tChart1.Axes.Depth.Labels.GridIgnoresLabelSize = false;
this.tChart1.Axes.Depth.LabelsAsSeriesTitles = true;

The compiler give following messages:

Error 4 'Steema.TeeChart.AxisLabels' does not contain a definition for 'GridIgnoresLabelSize' and no extension method 'GridIgnoresLabelSize' accepting a first argument of type 'Steema.TeeChart.AxisLabels' could be found (are you missing a using directive or an assembly reference?) C:\Users\Simonda\Documents\Programutveckling\TFS\BM_FOP_DIV\Private\SimonDa\MoistureTools\MoistureGraphCreator\Form1.Designer.cs 407 44 MoistureGraphCreator

Error 5 'Steema.TeeChart.Axis' does not contain a definition for 'LabelsAsSeriesTitles' and no extension method 'LabelsAsSeriesTitles' accepting a first argument of type 'Steema.TeeChart.Axis' could be found (are you missing a using directive or an assembly reference?) C:\Users\Simonda\Documents\Programutveckling\TFS\BM_FOP_DIV\Private\SimonDa\MoistureTools\MoistureGraphCreator\Form1.Designer.cs 408 37 MoistureGraphCreator

This code is found in the Form1.Designer.cs so the .Net version 3.x has autogenerated this two lines of code.

Does anyone know the correct way to write these lines in .Net 4.1 version?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Incompatible issues after version update

Post by Sandra » Fri Sep 21, 2012 11:14 am

Hello Simon Dahlquist SP,

I can not reproduce problem using next code and last version of TeeChart:

Code: Select all

  public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Styles.Line line1;
        private void InitializeChart()
        {
            line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            line1.FillSampleValues();
            tChart1.Axes.Depth.Labels.GridIgnoresLabelSize = true;
            tChart1.Axes.Depth.LabelsAsSeriesTitles = true;
        }
Can you tell us, if in previous code appears your problem? If problem doesn't appear, please try to send as a simple project so we can reproduce the exactly problem here.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Simon Dahlquist SP
Newbie
Newbie
Posts: 7
Joined: Tue Oct 11, 2011 12:00 am

Re: Incompatible issues after version update

Post by Simon Dahlquist SP » Mon Sep 24, 2012 6:30 am

Hi Sandra,

I'm glad to read that you can't reproduce this problem in the newest version.

I bought an update to the latest version before the weekend and will install that during this
week. I'll write and status update here when I'm done with that. Hopefully this problem is caused
by some unsuccessed version update.

Regards,

Simon

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Incompatible issues after version update

Post by Sandra » Mon Sep 24, 2012 9:29 am

Hello Simon,

Ok. We going to wait your answer :).

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply