Re: How can I get the x-value of first (or last) element in history-data of a chart?

2004-04-18 Thread Richard H.
Hi Chrisger, If you don't have an X scrollbar, the last element in the history should always have the X value XScale.Range:Maximum. Then this formula should bring you the X value for the first element in the history buffer: XScale.Range:Maximum - (HistoryLength * XScale.Multiplier) If you are

How can I get the x-value of first (or last) element in history-data of a chart?

2004-04-15 Thread chrisger
Hello there is there a way to get the x-value of the first or last element in the history-data of a chart? I can retrieve the offset of the chart and the left an right borders of the visible range. as long as the history-buffer is not full i can calculate the x-value of the last element using