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());
}
}
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.