Page 1 of 1

Exporting HatchStyle to Xaml

Posted: Tue Dec 07, 2010 10:20 am
by 15656109
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?

Re: Exporting HatchStyle to Xaml

Posted: Tue Dec 07, 2010 3:53 pm
by 10050769
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,