ColorGrid Minimum Value

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jenb
Newbie
Newbie
Posts: 50
Joined: Thu Jun 21, 2007 12:00 am

ColorGrid Minimum Value

Post by jenb » Tue Jan 20, 2009 4:09 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 21, 2009 9:13 am

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?

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;
		}
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
Image Image Image Image Image Image
Instructions - How to post in this forum

jenb
Newbie
Newbie
Posts: 50
Joined: Thu Jun 21, 2007 12:00 am

Post by jenb » Wed Jan 21, 2009 4:46 pm

Thanks Narcis, I confirm that the fault has been fixed in the latest release.

Post Reply