Page 1 of 1

Exporting to XAML bug. Clipping borders of series.

Posted: Mon Jun 18, 2012 10:21 am
by 15662639
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 9974 times
But result XAML is incorrect, right and bottom borders of the point are erased:
TChartExportPoint.jpg
TChartExportPoint.jpg (23.63 KiB) Viewed 9960 times
We have the same problem with bars and probably with other series.

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

Posted: Mon Jun 18, 2012 3:23 pm
by 10050769
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 9969 times
Can you tell us, step to step, how we have do to reproduce your problem?
Thanks,

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

Posted: Tue Jun 19, 2012 4:56 am
by 15662639
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);

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

Posted: Tue Jun 19, 2012 8:56 am
by 10050769
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 9936 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,

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

Posted: Tue Jun 19, 2012 9:17 am
by 15662639
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 525 times
pointXAML.zip
(1.11 KiB) Downloaded 524 times
In additional, the previous versions of WPF TChart have not that bug.

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

Posted: Tue Jun 19, 2012 2:54 pm
by 10050769
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,

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

Posted: Mon Jul 23, 2012 1:47 pm
by 15662639
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?

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

Posted: Tue Jul 24, 2012 8:24 am
by 10050769
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,