WebChart.ColorGrid: datetime, clickseries and zoom

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Apr 22, 2008 1:08 pm

Hi Yves,

DateTime formatting works fine here using this code:

Code: Select all

		private Steema.TeeChart.Styles.ColorGrid colorGrid1;
		private void InitializeChart()
		{
			tChart1.Series.Add(colorGrid1 = new Steema.TeeChart.Styles.ColorGrid());
			tChart1.Aspect.View3D = false;
			DateTime time = new DateTime(2008, 4, 22, 10, 0, 0);
			DateTime tmp = new DateTime();
			Random rnd = new Random();
			double y;

			colorGrid1.IrregularGrid = true;
			colorGrid1.YValues.DateTime = true;
			tChart1.Axes.Left.Labels.DateTimeFormat = "yyyy/MM/dd HH:mm:ss";

			for (int x = 0; x < 4; x++)
			{
				tmp = time;
				for (int z = 0; z < 4; z++)
				{
					y = rnd.NextDouble();
					tmp = tmp.AddHours(1);
					colorGrid1.Add(x, y, tmp.ToOADate());
				}
			}
Could you please check it out and make your project as similar to this as possible?

The ClickSeries issue works fine for me here using the first example you sent and our current TeeChart for .NET v3 sources. Could you please wait until the next maintenance release and check if this solves the problem at your end?

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

Post Reply