My application is adding points to chart every second or twice a second.
Requirement is to have actual DateTime stamp on every point. Currently
I am struggling with Bottom Axis label. Bottom label format is :
dd/mm hh:mm:ss
and I can see this format on the chart. But when application add points every second
Code: Select all
YValue := SomeValue;
XValue := Series1.XValues.Last+1;
Series1.AddXY(XValue, YValue);
Code: Select all
Chart1.BottomAxis.Increment := DateTimeStep[dtOneSecond]
Code: Select all
YValue := Sin(DegToRad(ValSin)) * 300 + 450;
XValue := Series1.XValues.Last+1;
XValuTime := FormatDateTime('dd-mm hh:nn:ss', Now );
Series1.AddXY(XValue, YValue, YValueTime);
are gone.
Can you please advise what to do ?
regards,
Tomas