Line/FastLine to XAML Bug
Posted: Mon Jun 18, 2012 9:46 am
Hi Steema people!
We have the same bug, that was described in topic http://www.teechart.net/support/viewtop ... =4&t=12550, with Line and FastLine series in WPF TeeChart.
The following code reproduces the problem:
and then
As you can see, the source TChart and the XAML TChart version are different. XAML is wrong (Line is out of bounds).
We have the same bug, that was described in topic http://www.teechart.net/support/viewtop ... =4&t=12550, with Line and FastLine series in WPF TeeChart.
The following code reproduces the problem:
Code: Select all
MyTChart.Aspect.View3D = false;
MyTChart.Width = 300;
MyTChart.Height = 200;
Steema.TeeChart.WPF.Styles.Line line = new Steema.TeeChart.WPF.Styles.Line();
line.Add(0);
line.Add(1000);
line.Add(0);
MyTChart.Series.Add(line);
MyTChart.Axes.Left.Maximum = 200;
MyTChart.Axes.Left.AutomaticMaximum = false;
Code: Select all
Microsoft.Win32.SaveFileDialog saveDialog = new Microsoft.Win32.SaveFileDialog();
if (saveDialog.ShowDialog() == true)
MyTChart.Export.Image.XAML.Save(saveDialog.FileName);