AddData

<< Click to Display Table of Contents >>

Manual > Control Reference > Data > Plot graph control > Method >

AddData


 

Add plot data.

 


Syntax 1

AddData(

         penNo,

         xData,

         yData

         )

 


Parameters

 

penNo


Type:

Number


Pen number (1~).

 

xData


Type:

Number


X coordinate data. See below for details.

 

yData


Type:

Number


Y coordinate data. See below for details.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Example

 

 


Syntax 2

AddData(

         penNo,

         xData,

         xIndex,

         yData,

         yIndex

         )

 


Parameters

 

penNo


Type:

Number


Pen number (1~).

 

xData


Type:

Number


X coordinate data. See below.

 

xIndex


Type:

Number


The index of the xData array, see below.

 

yData


Type:

Number


Y coordinate data. See below.

 

yIndex


Type:

Number


The index of the yData array, see below.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Example

 


reference