![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | PDF export of point chart with spherical points does not draw the spheres. | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Gary Desrochers <gdesrochers> |
| Component: | Exporting | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Exported chart | ||
Created attachment 751 [details] Exported chart Library version: Steema TeeChart for .NET 2017 4.1.2017.03140 IDE version: Developer's Studio 2015 .Net version: 4.0 Language: C# OS: Windows 7 Ultimate 64-bit/Windows 10 64 bit If a simple chart is created with a single Steema.TeeChart.Styles.Points series with pointer style of Sphere then exported as PDF the PDF file has blank spaces where the "Sphere"s should be. Code example: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace SpherePDFExportIssue { public partial class Form1 : Form { public Form1() { InitializeComponent(); InitializeChart(); } private void InitializeChart() { tChart1.Aspect.View3D = false; Steema.TeeChart.Styles.Points TheSeries = new Steema.TeeChart.Styles.Points(); TheSeries.Marks.Visible = false; TheSeries.Pointer.Pen.Visible = false; TheSeries.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere; TheSeries.Pointer.HorizSize = 7; TheSeries.Pointer.VertSize = 7; TheSeries.ColorEach = true; TheSeries.FillSampleValues(); tChart1.Series.Add(TheSeries); } private void button1_Click(object sender, EventArgs e) { SaveFileDialog saveFileDialog1 = new SaveFileDialog(); saveFileDialog1.Filter = "txt files (*.pdf)|*.pdf|All files (*.*)|*.*"; saveFileDialog1.FilterIndex = 1; saveFileDialog1.RestoreDirectory = true; if (saveFileDialog1.ShowDialog() == DialogResult.OK) { tChart1.Export.Image.PDF.Width = tChart1.Width; tChart1.Export.Image.PDF.Height = tChart1.Height; tChart1.Export.Image.PDF.Save(saveFileDialog1.FileName); } } } } Drop a chart and a button on the form and use the above code. Run the code and then push the button to save the chart as PDF. Look at the output and you should see the same as the attachment.