Hello FT_GIAG,
I have some information about your problems, so, after do many test we have arrived a conclusion, the issue is with range there is incompatiblity between Int64 and Double that is, a Double cannot represent a very large or very small Int64 value that's why the chart can't paint some of these points properly, and that's why when working with microseconds we have to use a specific technique, similar is used in the next code:
Code: Select all
// One Tick is 100 ns
// So one microsecond is 10 Ticks
private const long ticksPerMicroSecond = 10;
private const long tickMultiplier = 10000;
private void InitMicrosecond()
{
Points points = new Points();
DateTime today = DateTime.Today;
DateTime labels = DateTime.Today;
for (int i = 1; i < 50; i )
{
today = today.AddTicks(ticksPerMicroSecond * tickMultiplier);
labels = labels.AddTicks(ticksPerMicroSecond);
points.Add(today, i, labels.ToString("dd.MM.yyyy\nHH:mms.ffffff"));
}
points.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Triangle;
chart1.Series.Add(points);
chart1.Header.Text = "Space unequally distributed";
}
Previous code works fine for me when I have checked in your project, so I recommend use it to solver your problems.
Therefore, we consider the bug with number[TF02016022] is not really a bug. Or, if it's a bug, it's a bug with the .net framework's double value, so the teechart code is working by as it was designed to work in this instance.
Thanks,