- OpenGL3D.png (315.88 KiB) Viewed 21013 times
Can you help?
Code: Select all
Surface series;
private void InitializeChart()
{
series = new Surface(tChart1.Chart);
series.FillSampleValues();
tChart1.Aspect.Orthogonal = false;
tChart1.Legend.Visible = false;
tChart1.Aspect.Zoom = 95;
tChart1.Aspect.Elevation = 295;
tChart1.Aspect.Perspective = 20;
tChart1.Aspect.Chart3DPercent = 35;
}
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 |
Code: Select all
Surface series;
Steema.TeeChart.Drawing.GL.TeeOpenGL openGL;
private void InitializeChart()
{
openGL = new Steema.TeeChart.Drawing.GL.TeeOpenGL(tChart1.Chart);
openGL.ShadeQuality = true;
series = new Surface(tChart1.Chart);
//series.FillSampleValues();
tChart1.Header.Text = "openGL.Active " + openGL.Active;
tChart1.Aspect.Orthogonal = false;
tChart1.Legend.Visible = false;
tChart1.Aspect.Zoom = 95;
tChart1.Aspect.Elevation = 295;
tChart1.Aspect.Perspective = 20;
tChart1.Aspect.Chart3DPercent = 35;
}
private void button4_Click(object sender, EventArgs e)
{
tChart1.Draw();
openGL.Active = !openGL.Active;
tChart1.Header.Text = "openGL.Active " + openGL.Active;
tChart1.Aspect.Zoom = openGL.Active ? 60 : 95;
}
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 |
Unfortunately this is a defect which I have added to our tracking system with id=1302. Every effort will be made to find a fix to this defect before the next maintenance release. Apologies for any inconvenience in the meantime.Anaesthesia wrote:I still not able to work out how to position axis labels correctly when open GL is active. I suspect that the labels are being printed, but in a different orientation.
I note that in your own example, when OpenGL is active, the left and bottom axis zeroes are not shown either.
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 |
That's excellent, I'm very pleased to hear it.Anaesthesia wrote:Thank you. - I'm still extremely pleased with the graphs I generate!
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 |
Of course. There are two changes, both of them to the unit CanvasGL.cs under:Anaesthesia wrote:I have the source code version. Could you let me know what to do?
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 |
In the second image I think one can see that the signature to override is slightly different, i.e.Anaesthesia wrote:When I replace the method (as shown below) and attempt to re-compile, I get:
Error 1 'Steema.TeeChart.Drawing.GL.GraphicsGL.TextOut(int, int, string, bool)': no suitable method found to override
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 |