<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DE"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><TITLE></TITLE></HEAD><BODY><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;"><p style="margin:0px;padding:0px;">>> I am trying to create a line graph where the X axis is a zoomable TDateTime
>> value and I believe that I need to use a DateTimeIntervalChartSource
>> However, I cannot seem to work out how to add values to it.<br /><br />You don't have to. The DateTimeIntervalChartSource gets the values from the <br />axis it is assigned to. Here's what you have to do:<br /><br />* Set up your chart as usual<br />* Add a TDateTimeIntervalChartSource. If you want to have the date/times along <br />  the x axis select Chart.BottomAxis.Marks.Source to point to it. Also, set <br />  Chart.BottomAxis.Marks.Style to smsLabel. In general, use the axis at which <br />  you want to have the date/times.<br />* You may want to play with its properties a bit to optimize its output. For <br />  example increase Intervals.MinLength and/or MaxLength to avoid overlapping <br />  of labels.<br />* To be honest I don't fully understand the effect of the Steps property. I have the<br />  feeling that you have to turn off those options which you don't want to have <br />  in the labels.<br /></pre></div><br><br>---<br><div style="font-family:arial;font-size:10pt;">Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! <a style="font-family:arial;font-size:10pt;" href="http://email.freenet.de/basic/Informationen" target="_blank">Rundum glücklich mit freenetMail</a></div></BODY></HTML>