Hello,
I need to create a chart that overlays multiple years of data for
comparison. For example, comparing the number of widges produced by day of
the year.
I know how to create a line chart over time (X= Jan 1 though Dec 31) and
(Y=Units). That chart is working fine. But now I want to overlay 2004,
2005 and 2006. where each line represents a different year on the chart (3
lines), on the same chart Jan-Dec.
Can anyone help?
Thanks,
Kevin
Overlaying Multiple Years 2004-2006
I see two possible solution:
1. Use additional custom horizontal axes for each year - however it could be cumbersome and heavy.
2. Use the same horizontal axis for each year, make plots versus day number instead of TDateTime or, say, adjust all dates to the same year by adding/subtracting i*365 (IncMonth function can help)
and make plots different by color, pen whatsoever.
1. Use additional custom horizontal axes for each year - however it could be cumbersome and heavy.
2. Use the same horizontal axis for each year, make plots versus day number instead of TDateTime or, say, adjust all dates to the same year by adding/subtracting i*365 (IncMonth function can help)
and make plots different by color, pen whatsoever.
Regards, Alexander
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009