ColorGrid Minimum Value
ColorGrid Minimum Value
I am using a ColorGrid with an regular grid. Z values go from 0 to 99, and X values from 0 to 2047. However the grid goes from 1 to 100, and 1 to 2048. I am using TeeChart version 3.5.3146.24806. I don't think that this problem happened with earlier versions of TeeChart.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi jenb,
This works fine for me here using code below with build 3.5.3274.30662/3/4, which is the latest version available at the client area. Could you please check if this version solves the problem at your end?
Thanks in advance.
This works fine for me here using code below with build 3.5.3274.30662/3/4, which is the latest version available at the client area. Could you please check if this version solves the problem at your end?
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.ColorGrid colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
Random y = new Random();
for (int x = 0; x < 99; x++)
{
for (int z = 0; z < 2047; z++)
{
colorGrid1.Add(x, y.Next(), z);
}
}
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
tChart1.Dock = DockStyle.Fill;
}
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 |