One more bug in TChart.Export.Image.XAML.Save

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 15
Joined: Fri Jun 17, 2011 12:00 am

One more bug in TChart.Export.Image.XAML.Save

Post by neurosoft » Mon Mar 12, 2012 6:29 am

Hello Steema.
We've got a fresh bug with the latest version of WPF TChart library (4.1.2012.2283).
In some cases TChart.Export.Image.XAML.Save method generates invalid xml, that contains Infinity values in Rect.
For Example:

Code: Select all

<Rectangle Fill="#FF4466A3"
 Canvas.Left="134.5" Canvas.Top="172" Width="102" Height="1">
 <Rectangle.Clip>
  <RectangleGeometry Rect="Infinity,Infinity,-Infinity,-Infinity"/>
 </Rectangle.Clip>
</Rectangle>
It happens when TChart.Aspect.View3D is false; TChart contains histogram, that has at least two values; MyTChart.Export.Image.XAML.Height has special value, for example ends with ".5" (200.5 in my case).
The attached project reproduces the bug.
InfinityClippingBug.zip
(47.85 KiB) Downloaded 372 times
I hope, that bug will be fixed soon, we can't use new version of TChart while we have such errors.

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

Re: One more bug in TChart.Export.Image.XAML.Save

Post by Sandra » Tue Mar 13, 2012 9:40 am

Hello neurosoft,


I can reproduce it and I have added it in bug list report with number [TW16016077]. We will try to fix it for next maintenance releases of TeeChartFor.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

Post Reply