delphi - Plotting a TChart with time as the X-axis -
i have series of 3,600 values, 1 every second hour. want chart them single series, using tchart in delphi 7.
the values should plotted on y-axis. should pass addxy() x-axis value? count of points?
i want label x-axis mm:ss, how do that? need beyond this? ...
chart1.series[0].xvalues.datetime := true; chart1.bottomaxis.datetimeformat := 'nn:ss';
i have been stuck while one. can post sample code? thanks
if not wrong, want
series1.addxy(<pass data value>, <pass value>, '', clred); series1.addxy(now, 1, '', clred); series1.addxy(now + ( 1 /(24*60*60)), 2, '', clred); //after 1 seconds series1.addxy(now + ( 2 /(24*60*60)), 3, '', clred); //after 2 seconds
Comments
Post a Comment