Printing Opengl Chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Printing Opengl Chart

Post by lilo » Wed Aug 31, 2011 1:56 am

I am having some problems printing the opengl chart. Nothing will display in the print preview.

I am using the following code:

Sub InitOpengl()
Points1.Chart.Aspect.View3D = True
Points1.Chart.Walls.Visible = True
Points1.Chart.Aspect.Orthogonal = False
Points1.Chart.Aspect.Chart3DPercent = 100
Points1.Chart.Aspect.Zoom = 50
Points1.Chart.Aspect.View3D = True
Rotate1.Active = True
Openglchart1 = New Steema.TeeChart.Drawing.GL.TeeOpenGL(TChart1.Chart)
Openglchart1.Active = True
Openglchart1.AmbientLight = 60
Openglchart1.Canvas.SmoothingMode = True
End Sub

Private Sub PrintDiagramToolStripMenuItem_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles PrintDiagramToolStripMenuItem.Click
TChart1.Printer.Preview()
End Sub

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Printing Opengl Chart

Post by Narcís » Wed Aug 31, 2011 8:26 am

Hi lilo,

I have been able to reproduce the issue here and added it (TF02015718) to the defect list to be fixed.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply