Problems and bugs
Problems and bugs
We have a list of problems and bugs in the TeeChart.NET v3.
We have been using TeeChart for more than 7 years.
We started with TeeChart 4 and saw bugs returning as we get new versions.
The bugs we have now we can not solve with workarounds and because it is part of our major software and is deeply integrated, we need these problems solved asap. Our next software release is February.
The problems we have are:
- Running out of memory when using 40 Colorgrid series with 400 values.
- The polar vlaues are moving to wrong positions when adding a new polar serie with marks turned on.
- The axis of the polar plot disapears when looking at their properties in the editor.
- The polar plot cannot be zoomed.
- Waterfall plot can not remove hidden lines (drawn behind other series).
We have been using TeeChart for more than 7 years.
We started with TeeChart 4 and saw bugs returning as we get new versions.
The bugs we have now we can not solve with workarounds and because it is part of our major software and is deeply integrated, we need these problems solved asap. Our next software release is February.
The problems we have are:
- Running out of memory when using 40 Colorgrid series with 400 values.
- The polar vlaues are moving to wrong positions when adding a new polar serie with marks turned on.
- The axis of the polar plot disapears when looking at their properties in the editor.
- The polar plot cannot be zoomed.
- Waterfall plot can not remove hidden lines (drawn behind other series).
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janne,
Please find below the answers to your questions:
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Please find below the answers to your questions:
I'm not able to reproduce the issue here using latest TeeChart for .NET v3 maintenance release available at the client area and the code below. Which exact TeeChart version are you using? Could you please send us a simple example project we can run "as-is" to reproduce the problem here?- Running out of memory when using 40 Colorgrid series with 400 values.
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Random y = new Random();
tChart1.AutoRepaint = false;
for (int i = 0; i < 40; i++)
{
Steema.TeeChart.Styles.ColorGrid colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
for (int x = 0; x < 20; x++)
{
for (int z = 0; z < 20; z++)
{
colorGrid1.Add(x, y.Next(), z);
}
}
}
tChart1.AutoRepaint = true;
tChart1.Refresh();
}
private DateTime startTime, now;
private void tChart1_BeforeDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
startTime = DateTime.Now;
}
private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
//calculate elapsed time
now = DateTime.Now;
TimeSpan elapsedTime = new TimeSpan(now.Ticks - startTime.Ticks);
int total = (elapsedTime.Seconds * 1000) + elapsedTime.Milliseconds;
label1.Text = "Elapsed time: " + total.ToString() + " ms";
}
I've been able to reproduce this issue here and added it (TF02012611) to our defect list to be fixed for future releases.- The polar vlaues are moving to wrong positions when adding a new polar serie with marks turned on.
Yes, when selecting the "Axes" tab in the chart editor, the selected axis is automatically set to not visible. The solution is setting it back to visible with corresponding checkbox. Anyway, this is also a bug which (TF02012612) I've added to our defect list to be fixed for future releases.- The axis of the polar plot disapears when looking at their properties in the editor.
This already on our wish-list to be considered for inclusion in future releases.- The polar plot cannot be zoomed.
Sorry but I don't understand which is the exact problem here. Would you be so kind to give us some more information or send us a simple example project we can run "as-is" to reproduce the problem here?- Waterfall plot can not remove hidden lines (drawn behind other series).
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
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 |
Hi,
- Using drag marks tool in polar is incorrrect after a rezise and not pointing to the correct point anymore
- In the waterfall we use 400 lines by 3200 points in each series. Points in the back of the waterfall are then vissible even if drawn first. This makes the waterfall very difficult to read becuase you can end up with just a totally colored graph and no point information. This can only be solved it serieses in the front are drawn oven the ones in the back. The area plot has this functionality, but with the amount of points mentioned, it is way too slow and not useable.
I have uploaded an example for you of a good useable waterfall that we coded in 1989...
- When changing the direction of the labels in polar, then a point at 30 degrees will then be presented at 330 degrees actually. How are we suppose to use this function (data is presented complete wrong)?
Thanks for the help.[/img]
- Using drag marks tool in polar is incorrrect after a rezise and not pointing to the correct point anymore
- In the waterfall we use 400 lines by 3200 points in each series. Points in the back of the waterfall are then vissible even if drawn first. This makes the waterfall very difficult to read becuase you can end up with just a totally colored graph and no point information. This can only be solved it serieses in the front are drawn oven the ones in the back. The area plot has this functionality, but with the amount of points mentioned, it is way too slow and not useable.
I have uploaded an example for you of a good useable waterfall that we coded in 1989...
- When changing the direction of the labels in polar, then a point at 30 degrees will then be presented at 330 degrees actually. How are we suppose to use this function (data is presented complete wrong)?
Thanks for the help.[/img]
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janne,
Data is represented the same. This should only be used if you want the labels of the series displayed in clockwise direction.
Yes, this is because when dragging the marks their position is set to a custom value not relative to any chart element. To prevent this you should set the marks position to a relative position to series points, axes, title, ... You'll find an example here.- Using drag marks tool in polar is incorrrect after a rezise and not pointing to the correct point anymore
Would you be so kind to send us a simple example project we can run "as-is" to reproduce the problem here?- In the waterfall we use 400 lines by 3200 points in each series. Points in the back of the waterfall are then vissible even if drawn first. This makes the waterfall very difficult to read becuase you can end up with just a totally colored graph and no point information. This can only be solved it serieses in the front are drawn oven the ones in the back. The area plot has this functionality, but with the amount of points mentioned, it is way too slow and not useable.
I have uploaded an example for you of a good useable waterfall that we coded in 1989...
- When changing the direction of the labels in polar, then a point at 30 degrees will then be presented at 330 degrees actually. How are we suppose to use this function (data is presented complete wrong)?
Data is represented the same. This should only be used if you want the labels of the series displayed in clockwise direction.
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 |
Other problems
Thanks for your reply, we will do the approach in a different way.
We have another reallly important problem we discovered after upgrade to version 3.2.2868.26903. When exporting the data to bitmap (or any picture format we get a "NullReferenceException was unhandled".
If we use the command ".Export.Image.JPEG.CopyToClipboard" we get a blue screen. This needs to be fixed NOW.
Please help!
We have another reallly important problem we discovered after upgrade to version 3.2.2868.26903. When exporting the data to bitmap (or any picture format we get a "NullReferenceException was unhandled".
If we use the command ".Export.Image.JPEG.CopyToClipboard" we get a blue screen. This needs to be fixed NOW.
Please help!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janne,
Yes, this is a known issue which has already been fixed for the next maintenance release which we expect to be out before the end of this week.
Yes, this is a known issue which has already been fixed for the next maintenance release which we expect to be out before the end of this week.
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 |
Thanks for the support
I have one more question:
When using ColorGrid serie I cannot use the irregular grid.
The screen is then empty.
When I switch of the irregular grid it is shown.
In the example below I have added values with even x and y values but in my application I need uneven values.
How can I get this?
-----------------------------------------------------------------------------------
Dim oSerie As New Steema.TeeChart.Styles.ColorGrid(TChart1.Chart)
oSerie.UsePalette = true
oSerie.PaletteStyle = Steema.TeeChart.Styles.PaletteStyles.Pale
oSerie.IrregularGrid = True
For i As Integer = 1 To 20
For j As Integer = 1 To 20
oSerie.Add(i, Rnd(), j, DateAdd(DateInterval.Minute, i, Date.Now).ToString)
Next
Next
-----------------------------------------------------------------------------------
Thanks in advance!
When using ColorGrid serie I cannot use the irregular grid.
The screen is then empty.
When I switch of the irregular grid it is shown.
In the example below I have added values with even x and y values but in my application I need uneven values.
How can I get this?
-----------------------------------------------------------------------------------
Dim oSerie As New Steema.TeeChart.Styles.ColorGrid(TChart1.Chart)
oSerie.UsePalette = true
oSerie.PaletteStyle = Steema.TeeChart.Styles.PaletteStyles.Pale
oSerie.IrregularGrid = True
For i As Integer = 1 To 20
For j As Integer = 1 To 20
oSerie.Add(i, Rnd(), j, DateAdd(DateInterval.Minute, i, Date.Now).ToString)
Next
Next
-----------------------------------------------------------------------------------
Thanks in advance!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janne,
Using the new maintenance release posted last Wednesday, your code works fine here either using setting IrregularGrid to False or True. To draw uneven ColorGrid you can do something like this:
You may also be interested in reading how this kind of series work in this thread.
Using the new maintenance release posted last Wednesday, your code works fine here either using setting IrregularGrid to False or True. To draw uneven ColorGrid you can do something like this:
Code: Select all
Dim oSerie As New Steema.TeeChart.Styles.ColorGrid(TChart1.Chart)
oSerie.UsePalette = True
oSerie.PaletteStyle = Steema.TeeChart.Styles.PaletteStyles.Pale
oSerie.IrregularGrid = True
For i As Integer = 1 To 20
For j As Integer = 1 To 20
If j Mod 2 = 0 Then
oSerie.Add(i, Rnd(), j, DateAdd(DateInterval.Minute, i, Date.Now).ToString)
Else
oSerie.Add(i, Rnd(), j + 0.5, DateAdd(DateInterval.Minute, i, Date.Now).ToString)
End If
Next
Next
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 |
Still not working
When I run the code you sent me it is showing a irregular grid, but the color information is not shown.
Every cell is still white.
My version is 3.2.2894.29191 which I think is the latest.
Every cell is still white.
My version is 3.2.2894.29191 which I think is the latest.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janne,
It works fine for me. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
It works fine for me. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janne,
Thanks for the example project. I've been able to reproduce the issue here. The difference between your example and mine was that I was using 3D view instead of 2D. This is a bug which I've added to our defect list (TF02012628) to be fixed for future releases.
In the meantime, a workaround is setting the chart to 3D view and Chart3dPercent to zero:
Thanks for the example project. I've been able to reproduce the issue here. The difference between your example and mine was that I was using 3D view instead of 2D. This is a bug which I've added to our defect list (TF02012628) to be fixed for future releases.
In the meantime, a workaround is setting the chart to 3D view and Chart3dPercent to zero:
Code: Select all
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TChart1.Series.Clear()
Dim oSerie As New Steema.TeeChart.Styles.ColorGrid(TChart1.Chart)
oSerie.UsePalette = True
oSerie.PaletteStyle = Steema.TeeChart.Styles.PaletteStyles.Pale
oSerie.IrregularGrid = True
For i As Integer = 1 To 20
For j As Integer = 1 To 20
If j Mod 2 = 0 Then
oSerie.Add(i, Rnd(), j, DateAdd(DateInterval.Minute, i, Date.Now).ToString)
Else
oSerie.Add(i, Rnd(), j + 0.5, DateAdd(DateInterval.Minute, i, Date.Now).ToString)
End If
Next
Next
'Workaround
TChart1.Aspect.View3D = True
TChart1.Aspect.Chart3DPercent = 0
End Sub
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 |