HatchStyle of Legend in WPF TChart

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

HatchStyle of Legend in WPF TChart

Post by neurosoft » Fri Feb 25, 2011 3:12 pm

Hi Steema people!
I want to add Bars with hatch styled brush to my WPF TChart. And I want to show Legend of Bar. I use following simple code:

Code: Select all

            MyTChart.Aspect.View3D = false;
            Bar bar = new Bar();
            bar.Add(10);
            bar.Brush.Style = Steema.TeeChart.WPF.Drawing.HatchStyle.DiagonalCross;
            bar.Brush.Color = Colors.LightGray;
            bar.Brush.ForegroundColor = Colors.Blue;
            MyTChart.Series.Add(bar);
But image in the Legend (BackwardDiagonal) does not correspond to brush of Bar (DiagonalCross). You can see it on the attached picture:
TChartHatchStyle.jpg
TChartHatchStyle.jpg (48.24 KiB) Viewed 6551 times
The question is how can I set correct Legend HatchStyle?
Thanks.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: HatchStyle of Legend in WPF TChart

Post by Sandra » Mon Feb 28, 2011 12:25 pm

Hello neurosoft,

I could reproduce your problem here and I have added your requests in bug list report with number [TW16015422]. We will try to fix it to next maintenance releases of TeeChart.Net.

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

neurosoft
Newbie
Newbie
Posts: 35
Joined: Thu May 06, 2010 12:00 am

Re: HatchStyle of Legend in WPF TChart

Post by neurosoft » Wed Apr 20, 2011 10:40 am

Hi steema!
We have downloaded latest release of TeeChart (TeeChart.NET version 2011Build 4.1.2011.04193). Bug [TW16015422] in Release.txt is marked as Fixed. But I reproduce this bug by using code posted above.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: HatchStyle of Legend in WPF TChart

Post by Sandra » Wed Apr 20, 2011 2:23 pm

Hello neurosft,

I can reproduce your problem and we are working with it. We have inform you asap.

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: HatchStyle of Legend in WPF TChart

Post by Sandra » Thu Apr 21, 2011 8:10 am

Hello neurosoft,

For some reason the bug doesn't fixed, but now it is fixed. And it would be available to next maintenance release. On the other hand; can you tell us if you have source code of TeeChart.Net? So if you have source code and you need fix of this bug, yet we can give you the fix.

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