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 » 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 (48.24 KiB) Viewed 6604 times
The question is how can I set correct Legend HatchStyle?
Thanks.
-
Sandra
- Site Admin
- Posts: 3132
- Joined: Fri Nov 07, 2008 12:00 am
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,
-
neurosoft
- Newbie
- Posts: 35
- Joined: Thu May 06, 2010 12:00 am
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
- Posts: 3132
- Joined: Fri Nov 07, 2008 12:00 am
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,
-
Sandra
- Site Admin
- Posts: 3132
- Joined: Fri Nov 07, 2008 12:00 am
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,