Hello!
I'm using the ColorGrid series to display some data. The grid is displayed nicely when the spacing is 1 in X/Z direction and IrregularGrid is set to false. Pen visibility is also set to false.
However, when I set IrregularGrid to true (which I have to do in general, because the spacing may differ from 1 and there may be negative X/Z values), there is a visible gap between the cells of the ColorGrid, so the background color shows through. This doesn't look very nice, especially if the spacing of the data is small and the grid is very fine.
I'm using TeeChart v3.5.3371. Maybe I overlooked something in the documentation, but could you please tell me how to get rid of the gap to obtain a "smooth" display?
ColorGrid: visible gaps between cells
Hello ahellwing,
We couldn't reproduce your problem with last version of TeeChartFor .NET, please change next code, because we can reproduce exactly your problem here.
Thanks,
We couldn't reproduce your problem with last version of TeeChartFor .NET, please change next code, because we can reproduce exactly your problem here.
Code: Select all
private void Initialize()
{
Steema.TeeChart.Styles.ColorGrid colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
colorGrid1.IrregularGrid = true;
for (int x = -5; x < 5; x++)
{
for (int z = -5; z < 5; z++)
{
colorGrid1.Add(x / 10.0, x, z / 10.0);
}
}
}
Best Regards,
Sandra Pazos / 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 |
Hello!
I additionally added
colorGrid1.Pen.Visible = false;
in front of the for loop.
The result is:
You can see a grid of lines between the cells. Unfortunately, I could not reproduce the background color shining through in this simple new program.
A partial screenshot of my program where I discovered this problem looks like this (panel has gradient background colors enabled):
At a first glance, I could not find a significant difference in the source code for creating the chart on the form, which might be responsible for the different behaviour, but I will investigate this further.
I additionally added
colorGrid1.Pen.Visible = false;
in front of the for loop.
The result is:
You can see a grid of lines between the cells. Unfortunately, I could not reproduce the background color shining through in this simple new program.
A partial screenshot of my program where I discovered this problem looks like this (panel has gradient background colors enabled):
At a first glance, I could not find a significant difference in the source code for creating the chart on the form, which might be responsible for the different behaviour, but I will investigate this further.
Hello ahellwig,
I could reproduce your problem and this is a bug with number [TF02013109]. This only ocurrs when colorGrid1.IrregularGrid=true.
Thanks,
I could reproduce your problem and this is a bug with number [TF02013109]. This only ocurrs when colorGrid1.IrregularGrid=true.
Thanks,
Best Regards,
Sandra Pazos / 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 ahellwig,
You could use Bubble series setting its style to a rectangle.
I'm sorry but I can not give an estimate date for now. I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's fixed in them.Is there any time schedule when this might be fixed?
Could you give me some advice which other series I could use to display two-dimensional colour distributions (irregular grid is important for me)?
You could use Bubble series setting its style to a rectangle.
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 |