Page 1 of 1

Printing Opengl Chart

Posted: Wed Aug 31, 2011 1:56 am
by 15657351
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

Re: Printing Opengl Chart

Posted: Wed Aug 31, 2011 8:26 am
by narcis
Hi lilo,

I have been able to reproduce the issue here and added it (TF02015718) to the defect list to be fixed.