Page 1 of 1

Incompatible issues after version update

Posted: Fri Sep 21, 2012 8:32 am
by 15660409
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?

Re: Incompatible issues after version update

Posted: Fri Sep 21, 2012 11:14 am
by 10050769
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,

Re: Incompatible issues after version update

Posted: Mon Sep 24, 2012 6:30 am
by 15660409
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

Re: Incompatible issues after version update

Posted: Mon Sep 24, 2012 9:29 am
by 10050769
Hello Simon,

Ok. We going to wait your answer :).

Thanks,