Hello,
I made a 3D chart using: myBar.GalleryChanged3D(true)
Where "myBar" is a Steema.TeeChart.Styles.Bar serie.
Ir works perfectly but when I export a image (to use within a report) with the code: TChart1.Export.Image.PNG.CopyToClipboard()
The style get back to 2D.
Is there a way to export 3D charts to image?
Thanks
Exporting 3D chart to clipboard (as image)
-
- Newbie
- Posts: 4
- Joined: Fri Dec 28, 2018 12:00 am
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Exporting 3D chart to clipboard (as image)
Hello!
The following code works as expected here:
does this code work correctly at your end?
The following code works as expected here:
Code: Select all
public Form1()
{
InitializeComponent();
tChart1.Aspect.View3D = true;
tChart1.Series.Add(typeof(Bar)).FillSampleValues();
}
private void button1_Click(object sender, EventArgs e)
{
tChart1.Export.Image.PNG.CopyToClipboard();
}
Best Regards,
Christopher Ireland / 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 |
-
- Newbie
- Posts: 4
- Joined: Fri Dec 28, 2018 12:00 am
Re: Exporting 3D chart to clipboard (as image)
Thanks Christopher,
It worked perfectly!
It worked perfectly!