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?
Incompatible issues after version update
-
- Newbie
- Posts: 7
- Joined: Tue Oct 11, 2011 12:00 am
Re: Incompatible issues after version update
Hello Simon Dahlquist SP,
I can not reproduce problem using next code and last version of TeeChart:
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,
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;
}
Thanks,
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 7
- Joined: Tue Oct 11, 2011 12:00 am
Re: Incompatible issues after version update
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
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
Hello Simon,
Ok. We going to wait your answer .
Thanks,
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 |
Instructions - How to post in this forum |