Hi,
We are using TChart to show a graph in our application.
while exporting the graph to xaml when the series is a straight line or close to a straight line (moderate slope) The graph does not draw the line (appear as empty space).
Attached is a sample project, a video and some snapshots from our application that illustrate the problem.
how can we solve this issue?
Thanks.
WPF graph xaml export problem
WPF graph xaml export problem
- Attachments
-
- GraphExport.zip
- (149.64 KiB) Downloaded 598 times
Re: WPF graph xaml export problem
Hello,
I see the XamlExport.xaml ("Show run time xaml export" button) doesn't show the horizontal green lines. However, I'm not sure to see how you created the file XamlExport.xaml. We'd need to recreate the chart that seems to produce a wrong xaml when exported.
If I create a chart with an horizontal line in your application ("Draw straight Line" button) and then I export that chart to a xaml ("Show Xaml and Image" button), this looks fine for me here:
I see the XamlExport.xaml ("Show run time xaml export" button) doesn't show the horizontal green lines. However, I'm not sure to see how you created the file XamlExport.xaml. We'd need to recreate the chart that seems to produce a wrong xaml when exported.
If I create a chart with an horizontal line in your application ("Draw straight Line" button) and then I export that chart to a xaml ("Show Xaml and Image" button), this looks fine for me here:
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: WPF graph xaml export problem
Hi Yeray,
Thanks for your reply,
The XamlExport.xaml file is just one example from our system of the problem, we would prefer to focus on the test project
we have made where the generation of the xaml file and the graph from which the xaml is generated are present.
Unfortunately you didn't attached a project so we can’t understand how you fixed the problem,
At run time the graph look good the problem is only in the exported xaml result.
We just need to export the chart and get the same graph data in the xaml output,
We would appreciate if you could demonstrate the fix for the problem on the sample project we sent and attached the project to your reply.
Best Regards,
Thanks for your reply,
The XamlExport.xaml file is just one example from our system of the problem, we would prefer to focus on the test project
we have made where the generation of the xaml file and the graph from which the xaml is generated are present.
Unfortunately you didn't attached a project so we can’t understand how you fixed the problem,
At run time the graph look good the problem is only in the exported xaml result.
We just need to export the chart and get the same graph data in the xaml output,
We would appreciate if you could demonstrate the fix for the problem on the sample project we sent and attached the project to your reply.
Best Regards,
Re: WPF graph xaml export problem
Hello,
I didn't attach any project because I was just using the project you attached.
Maybe the difference is in the TeeChart version you and I are using. What exact TeeChart build are you using?
I didn't attach any project because I was just using the project you attached.
Maybe the difference is in the TeeChart version you and I are using. What exact TeeChart build are you using?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: WPF graph xaml export problem
We are using version 4.1.2012.1312
the snap shot you attached is the graph itself or the Xaml export result?
Thanks,
Alon.
the snap shot you attached is the graph itself or the Xaml export result?
Thanks,
Alon.
Re: WPF graph xaml export problem
Hi Alon,
Could you please check the build number? The last number use to indicate the month and day of the release, so that "13" sounds strange to me.
Where did you find that version? I can't find it in the download page.Yossi wrote:We are using version 4.1.2012.1312
Could you please check the build number? The last number use to indicate the month and day of the release, so that "13" sounds strange to me.
That was the snapshot of the application.Yossi wrote:the snap shot you attached is the graph itself or the Xaml export result?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: WPF graph xaml export problem
Hi Yeray,
Thanks for your replay, the TeeChart.WPF.dll version we are using is 4.1.2012.1312 like i stated and the TeeChart.dll version is 4.1.2012.9283.
I must say that i am disappointed that this discussion is not going into the right direction despite of the fact we have made a very simple and easy to use code example that demonstrate the
problem.
Let me restate the problem and explain the test project:
1. When you run the test project we attached, you will see a tee chart graph showing "steps" shaped graph data (that works perfectly fine).
2. when pressing the "Show Xaml and Image" button on the top left corner of the screen, a new window will open showing the resulted xaml export of the same graph on the top section and the image export result on the bottom section.
3. You can clearly see that in the xaml export result the line on the "steps" shaped graph is cut in multiple places.
Our requirement:
Send us back the project where the graph xaml export works properly (you can use any version of Dll's you want).
By "xaml export that works properly" we mean: that on the "Show Xaml and Image" window that opens after clicking the "Show Xaml and Image" button the xaml export result you see at the top looks identical to the
Image export result you see on the bottom section (without any cuts or missing data on the graph).
Please sent me a response ASAP if any part of the description written above is unclear \ you have problems running the test project.
I reattached the test project just in case..
P.S
We also made a video that demonstrate the problem of the test project but we can't attach it here because you have a very small size limitation of the attached items.
This issue is of high priority to us, so i will really appreciate quick solution to our problem.
Thanks,
Alon.
Thanks for your replay, the TeeChart.WPF.dll version we are using is 4.1.2012.1312 like i stated and the TeeChart.dll version is 4.1.2012.9283.
I must say that i am disappointed that this discussion is not going into the right direction despite of the fact we have made a very simple and easy to use code example that demonstrate the
problem.
Let me restate the problem and explain the test project:
1. When you run the test project we attached, you will see a tee chart graph showing "steps" shaped graph data (that works perfectly fine).
2. when pressing the "Show Xaml and Image" button on the top left corner of the screen, a new window will open showing the resulted xaml export of the same graph on the top section and the image export result on the bottom section.
3. You can clearly see that in the xaml export result the line on the "steps" shaped graph is cut in multiple places.
Our requirement:
Send us back the project where the graph xaml export works properly (you can use any version of Dll's you want).
By "xaml export that works properly" we mean: that on the "Show Xaml and Image" window that opens after clicking the "Show Xaml and Image" button the xaml export result you see at the top looks identical to the
Image export result you see on the bottom section (without any cuts or missing data on the graph).
Please sent me a response ASAP if any part of the description written above is unclear \ you have problems running the test project.
I reattached the test project just in case..
P.S
We also made a video that demonstrate the problem of the test project but we can't attach it here because you have a very small size limitation of the attached items.
This issue is of high priority to us, so i will really appreciate quick solution to our problem.
Thanks,
Alon.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: WPF graph xaml export problem
Hi Alon,
Thanks for your feedback.
I build your project with the latest TeeChart for .NET release (build 4.1.2014.12150-12154) and the exported bitmap and xaml files are absolutely identical, find them attached. Can you please try compiling your project with the latest TeeChart assemblies available?
Thanks in advance.
Thanks for your feedback.
I build your project with the latest TeeChart for .NET release (build 4.1.2014.12150-12154) and the exported bitmap and xaml files are absolutely identical, find them attached. Can you please try compiling your project with the latest TeeChart assemblies available?
Thanks in advance.
- Attachments
-
- GraphTempBmpAndXaml.zip
- (53.4 KiB) Downloaded 596 times
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |