Exporting HatchStyle to Xaml

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 35
Joined: Thu May 06, 2010 12:00 am

Exporting HatchStyle to Xaml

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
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Exporting HatchStyle to Xaml

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply