Exporting to XAML bug. Clipping borders of series.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 12
Joined: Mon Jun 04, 2012 12:00 am

Exporting to XAML bug. Clipping borders of series.

Post by neurosoft » Mon Jun 18, 2012 10:21 am

Hi!
We've got new bug with the new version of WPF TChart (v 4.1.2012.5103).
Points on the exported to XAML TChart are clipped.
Just try to add circle point (not only circle) to WPF TChart

Code: Select all

Steema.TeeChart.WPF.Styles.Points points = new Points();
points.Pointer.Style = PointerStyles.Circle;
points.Pointer.Pen.Color = Colors.Red;
points.Pointer.Brush.Color = Colors.White;            
points.Add(10);
MyTChart.Series.Add(points);
and then export it to XAML.
The source point is ok:
TChartPoint.jpg
TChartPoint.jpg (21.66 KiB) Viewed 9832 times
But result XAML is incorrect, right and bottom borders of the point are erased:
TChartExportPoint.jpg
TChartExportPoint.jpg (23.63 KiB) Viewed 9818 times
We have the same problem with bars and probably with other series.

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

Re: Exporting to XAML bug. Clipping borders of series.

Post by Sandra » Mon Jun 18, 2012 3:23 pm

Hello neurosoft,

I can not reproduce your problem using last version of TeeChartFor.Net and your code and I am get next results:
ExportXaml1.jpg
ExportXaml1.jpg (13.42 KiB) Viewed 9827 times
Can you tell us, step to step, how we have do to reproduce your problem?
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: 12
Joined: Mon Jun 04, 2012 12:00 am

Re: Exporting to XAML bug. Clipping borders of series.

Post by neurosoft » Tue Jun 19, 2012 4:56 am

Excuse me, you are right. My posted code works properly. But the problem appears if you disable TChart.Aspect.View3D property. To reproduce the bug just add

Code: Select all

MyTChart.Aspect.View3D = false;
to exising test code:

Code: Select all

MyTChart.Aspect.View3D = false;
Steema.TeeChart.WPF.Styles.Points points = new Points();
points.Pointer.Style = PointerStyles.Circle;
points.Pointer.Pen.Color = Colors.Red;
points.Pointer.Brush.Color = Colors.White;           
points.Add(10);
MyTChart.Series.Add(points);

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

Re: Exporting to XAML bug. Clipping borders of series.

Post by Sandra » Tue Jun 19, 2012 8:56 am

Hello neurosoft,

I am afraid still cannot reproduce your problem here using your code I get next results:

ExportXaml2.jpg
ExportXaml2.jpg (13.1 KiB) Viewed 9794 times
Can you tell us how you do to open the xaml image? I have opened the xaml using Windows Inernet Explorer 9 and is seen good. I think probably the problem is the program are you open the xaml


Thanks,

neurosoft
Newbie
Newbie
Posts: 12
Joined: Mon Jun 04, 2012 12:00 am

Re: Exporting to XAML bug. Clipping borders of series.

Post by neurosoft » Tue Jun 19, 2012 9:17 am

Hello Sandra!
I open result xaml by Internet Explorer 8. But problem is not in the program for viewing xaml. Problem is in the xaml.
There are test project and exported xaml example that I have in attachments. You can check it:
ClippingPointsTest.zip
(8.38 KiB) Downloaded 500 times
pointXAML.zip
(1.11 KiB) Downloaded 511 times
In additional, the previous versions of WPF TChart have not that bug.

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

Re: Exporting to XAML bug. Clipping borders of series.

Post by Sandra » Tue Jun 19, 2012 2:54 pm

Hello neurosoft,

Finally, I can reproduce your problem and I have added it in bug list report with number [TW16016226]. We will try to fix it for next maintenance releases of TeeCharWPF.

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: 12
Joined: Mon Jun 04, 2012 12:00 am

Re: Exporting to XAML bug. Clipping borders of series.

Post by neurosoft » Mon Jul 23, 2012 1:47 pm

Hi steema!
I have downloaded the new version of the WPF TChart, but problems, that I have described here and in this post are not solved yet. When can I expect acceptable exporting to xaml of the WPF TChart?

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

Re: Exporting to XAML bug. Clipping borders of series.

Post by Sandra » Tue Jul 24, 2012 8:24 am

Hello neurosoft,

The bugs number [TW16016225] and [TW16016226] isn't still fixed.
When can I expect acceptable exporting to xaml of the WPF TChart?
The bugs are added with high priority, in the list but the time until we can fix it also depends on other variables such as the complexity of the problem, the number of issues with even higher priority that claims our team attention.
I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.

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