- Fonts not embedded (see here)
- Height and Width of the PDF must be an integer or the created PDF is not viewable at all
- Fastline with LinePen.Width of 0.5 breaks the created PDF, it only shows the panel but the chart and all labels are not rendered. Using a LinePen width of 1,2,... works
- [*/]
TeeChart WPF - Export to PDF
TeeChart WPF - Export to PDF
Just want to let you guys know that there are some problem when exporting charts to PDF:
Re: TeeChart WPF - Export to PDF
btw. Using version TeeChart for .NET 2013 4.1.2013.5283, working with VB.NET
Re: TeeChart WPF - Export to PDF
Just update to latest release and still same problems, nothing about that stuff in the change logs so nothing unexpected
Workaround for points 1 and 2 are quiet easy as I simply need to change the values to working ones for the PDF export and change them back to original after it's done.
Workaround for points 1 and 2 are quiet easy as I simply need to change the values to working ones for the PDF export and change them back to original after it's done.
Re: TeeChart WPF - Export to PDF
Hello gbs,
Thanks for your information. I have added your request 2 and 3 in the wish-list with number [TW16016674]. We will try to fix it to upcoming versions of TeeChartFor.Net. On the other hand, the workaround at the moment is convert to int values the double values, using Round or truncate of Math class. See next example of code:
Thanks,
Thanks for your information. I have added your request 2 and 3 in the wish-list with number [TW16016674]. We will try to fix it to upcoming versions of TeeChartFor.Net. On the other hand, the workaround at the moment is convert to int values the double values, using Round or truncate of Math class. See next example of code:
Code: Select all
private void InitializeChart()
{
FastLine fastLine1 = new FastLine(tChart1.Chart);
tChart1.Aspect.View3D = false;
tChart1.Header.Font.Bold = true;
tChart1.Header.Font.Size = 15;
fastLine1.FillSampleValues();
fastLine1.LinePen.Width = 1;
button1.Click += button1_Click;
}
void button1_Click(object sender, RoutedEventArgs e)
{
tChart1.Export.Image.PDF.Width = Math.Round(400.3,0);
tChart1.Export.Image.PDF.Height = Math.Round(300.3,0);
tChart1.Export.Image.PDF.Save(@"C:\testChart.pdf");
}
Best Regards,
Sandra Pazos / 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 |
Re: TeeChart WPF - Export to PDF
Excactly what I do right now, but you should put them on the errorlist not wishlist as they were really hard to find and can be a real showstopper when it comes to exporting to PDF. thanks
Re: TeeChart WPF - Export to PDF
Hello gbs,
I hope I have clarified our way to work and treat problems.
Thanks,
We work with a unique list where there is all the problems, internally we classify the problems in bugs, feature requests or enhancements, it is the way we have decided use to classify the problems internally and work. To treat issues we are based in different variables, for example, severity. In your case the severity of your request is serious.Excactly what I do right now, but you should put them on the errorlist not wishlist as they were really hard to find and can be a real showstopper when it.
I hope I have clarified our way to work and treat problems.
Thanks,
Best Regards,
Sandra Pazos / 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 |