Incompatible issues after version update
Posted: 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?
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?