Profile Picture

Exporting 3D chart to PDF

Posted By Anna Lear 14 Years Ago
Author
Message
Anna Lear
hazard Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 12, Visits: 1

I'm trying to export an XYZ scatter plot to PDF and JPEG using Nevron Chart 2010 Volume 1. JPEG export is working fine, but the PDF export only exports the X and Y axes, resulting in a 2D plot being saved in the file.

Here's my code for the export:

var sf = new SaveFileDialog { Filter = "PDF files (*.pdf)|*.pdf", InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) };
if(sf.ShowDialog(this) == DialogResult.OK)
{
    var fmt = new NPdfImageFormat();
    m_chartControl.ImageExporter.SaveToFile(sf.FileName, fmt);
}

Is there anything else I should be doing or is 3D chart export to PDF not supported at all? Thanks.






Similar Topics


Reading This Topic