TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
neurosoft
- Newbie
- Posts: 35
- Joined: Thu May 06, 2010 12:00 am
Post
by neurosoft » Tue Dec 07, 2010 10:20 am
Hi steema people!
I want to export WPF TChart with HatchStyle to xaml:
Code: Select all
MyTChart.Series.Add(new Bar());
Bar series = MyTChart[0] as Bar;
series.Brush.Style = Steema.TeeChart.WPF.Drawing.HatchStyle.BackwardDiagonal;
series.Brush.Solid = false;
series.Brush.Color = Colors.White;
MyTChart.Aspect.View3D = false;
for (int i = 0; i < 10; i++)
{
series.Add(i);
}
Microsoft.Win32.SaveFileDialog saveDialog = new Microsoft.Win32.SaveFileDialog();
if (saveDialog.ShowDialog() == true)
{
MyTChart.Export.Image.XAML.Save(saveDialog.FileName);
}
But it leads to StackOverflowException. It is unacceptable for me. How can I export TChart with HatchStyle to xaml?
-
Sandra
- Site Admin
- Posts: 3132
- Joined: Fri Nov 07, 2008 12:00 am
Post
by Sandra » Tue Dec 07, 2010 3:53 pm
Hello neurosfot,
I could reproduce your problem and I have added it in bug list report with number [TW16015312]. We will try to fix it for next maintenance releases of TeeChartWPF.
Thanks,