Hi,
Have a chart with dates on horizontal axis and several line series.
Have ability for user to select "how long", or number of months, to display on chart. Not all line series hold points covering the entire time/date period. Thus MaxPointsPerPage doesn't help. i.e. the date period with series all having points/data is shorter than others because it has more points.
Thanks
Max-Time vs MaxPointsPerPage
Hi.
Instead of using MaxPointsPerPage, try manually setting axis "range" by specifying it's minimum and maximum value. For example, if you want to show only last hour worth of data:
PS : I posted a reply to similar problem in this forum couple of days ago.
Instead of using MaxPointsPerPage, try manually setting axis "range" by specifying it's minimum and maximum value. For example, if you want to show only last hour worth of data:
Code: Select all
With Chart1.Axes.Bottom do
begin
Automatic := False;
SetMinMax(AllSeriesMaxXValue, AllSeriesMaxXValue - 1.0/24);
end;
Marjan Slatinek,
http://www.steema.com
http://www.steema.com