How to make Tchart curve run vertically ?
Posted: Fri Jun 12, 2009 10:34 am
Hello,
A FastLineSeries can run from the left to the righ and inversely in the manner of an oscilloscope. I use the following commands for a curve which runs from the left to the right:
tmpTch:=XValues[1]-XValues[0];
if (Count>100) then repeat Delete(count-1) until count<= 100;
AddXY(XValues.First-tmpTch,X,'',clBlack)
But I would like to make it running from the top to the bottom of the Chart in the manner of a data recorder. I tried to do as below but it doesn't work:
tmpTch:=YValues[1]-YValues[0];
if (Count>100) then repeat Delete(count-1) until count<= 100;
AddXY(X,YValues.First-tmpTch,'',clBlack)
Could you advise how I can get the curve running from the top to the bottom of the graphic ?
Thank you in advance.
Patrick
Sciensoria
A FastLineSeries can run from the left to the righ and inversely in the manner of an oscilloscope. I use the following commands for a curve which runs from the left to the right:
tmpTch:=XValues[1]-XValues[0];
if (Count>100) then repeat Delete(count-1) until count<= 100;
AddXY(XValues.First-tmpTch,X,'',clBlack)
But I would like to make it running from the top to the bottom of the Chart in the manner of a data recorder. I tried to do as below but it doesn't work:
tmpTch:=YValues[1]-YValues[0];
if (Count>100) then repeat Delete(count-1) until count<= 100;
AddXY(X,YValues.First-tmpTch,'',clBlack)
Could you advise how I can get the curve running from the top to the bottom of the graphic ?
Thank you in advance.
Patrick
Sciensoria