Switching from Surface to Tower series casuses errors
Switching from Surface to Tower series casuses errors
2.0.2040.15118
Hi,
I have created a surface series from a datatable.
From the editor, I changed the surface series to a tower series. I get the following error:
at Steema.TeeChart.Styles.Tower.DrawCell(Int32 x, Int32 z)
at Steema.TeeChart.Styles.Tower.DrawCells()
at Steema.TeeChart.Styles.Tower.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
Additionally, I also get this error if I try to create a Tower series with the same datatable.
Am I missing something here?
Please can you give me a an example of how I can create a Tower series froma datatable?
Thanks,
Vaughan
Hi,
I have created a surface series from a datatable.
From the editor, I changed the surface series to a tower series. I get the following error:
at Steema.TeeChart.Styles.Tower.DrawCell(Int32 x, Int32 z)
at Steema.TeeChart.Styles.Tower.DrawCells()
at Steema.TeeChart.Styles.Tower.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
Additionally, I also get this error if I try to create a Tower series with the same datatable.
Am I missing something here?
Please can you give me a an example of how I can create a Tower series froma datatable?
Thanks,
Vaughan
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vaughan,
Could you please send us this datatable or a similar example we can use to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Could you please send us this datatable or a similar example we can use to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Narcís Calvet / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vaughan,
Ok, please send it directly to me.
Ok, please send it directly to me.
Last edited by Narcís on Wed Oct 04, 2006 11:22 am, edited 1 time in total.
Best Regards,
Narcís Calvet / 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vaughan,
I've been able to reproduce the problem here and we've found there's a bug that when importing series data from a text file X,Y and Z values are not supported, just X and Y values are supported. I've added this (TF02011037) to our defect list to be fixed for future releases.
I've been able to reproduce the problem here and we've found there's a bug that when importing series data from a text file X,Y and Z values are not supported, just X and Y values are supported. I've added this (TF02011037) to our defect list to be fixed for future releases.
Best Regards,
Narcís Calvet / 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 |
Hi,
This problem did not stem from importing a text file.
I created a surface series with a System.Data.DataTable (not a text file) and then exported the data from the Editor for you to see. (the two attachments I sent you)
Following that, from the Editor, I then changed the Surface series to a Tower series.
That is when I get the error, importing from a text file is a seperate issue.
It seems that your Steema.TeeChart.Styles.Tower.DrawCell(Int32 x, Int32 z) method has a problem with some data values when I reverse the parameters I supply for the X and Z axis?
If you need any more clarification of this issue please let me know?
Thanks,
Vaughan
This problem did not stem from importing a text file.
I created a surface series with a System.Data.DataTable (not a text file) and then exported the data from the Editor for you to see. (the two attachments I sent you)
Following that, from the Editor, I then changed the Surface series to a Tower series.
That is when I get the error, importing from a text file is a seperate issue.
It seems that your Steema.TeeChart.Styles.Tower.DrawCell(Int32 x, Int32 z) method has a problem with some data values when I reverse the parameters I supply for the X and Z axis?
If you need any more clarification of this issue please let me know?
Thanks,
Vaughan
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vaughan,
Ok, could you please send us an example we can run "as-is" to reproduce the problem here?
Thanks in advance.
Ok, could you please send us an example we can run "as-is" to reproduce the problem here?
Thanks in advance.
Best Regards,
Narcís Calvet / 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 |
Ok for simplicity, to recreate the exception just import the text file I sent to you
MSPvsRXQUL
This is also related to the following issue.
http://www.teechart.net/support/modules ... 2a0ed6346d
MSPvsRXQUL
This is also related to the following issue.
http://www.teechart.net/support/modules ... 2a0ed6346d
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vaughan,
We've been able to find that the problem lies on when converting from a surface series with IrregularGrid=true to a Tower Series. I've added this defect (TF02011045) to our bug list to be fixed for future releases. In the meantime, a workaround is using:
We've been able to find that the problem lies on when converting from a surface series with IrregularGrid=true to a Tower Series. I've added this defect (TF02011045) to our bug list to be fixed for future releases. In the meantime, a workaround is using:
Code: Select all
private void button1_Click(object sender, System.EventArgs e)
{
Steema.TeeChart.Styles.Series s=tChart1[0];
if(s is Steema.TeeChart.Styles.Custom3DGrid)
(s as Steema.TeeChart.Styles.Custom3DGrid).IrregularGrid = false;
Steema.TeeChart.Styles.Series.ChangeType(ref s,typeof(Steema.TeeChart.Styles.Tower));
if(s is Steema.TeeChart.Styles.Custom3DGrid)
(s as Steema.TeeChart.Styles.Custom3DGrid).IrregularGrid = true;
}
Best Regards,
Narcís Calvet / 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 |