SetXYValue

<< Click to Display Table of Contents >>

Manual > Control Reference > Data > Chart Ver2 control > Method >

SetXYValue


 

Set the data values (XY values) of the graph.

 


syntax

SetXYValue(

         dataIndex,

         valueIndex,

         xValues,

         yValues

         )

 


Parameters

dataIndex


Type:

Number


The index of the data, starting from 0.

 

valueIndex


Type:

Number


The zero-based index of the value.

 

xValues


Type:

Number (array)


Data value (X value) to be set in the graph. If an array is specified, the number of values will be set from valueIndex.

 

yValues


Type:

Number (array)


Data values (Y values) to be set in the graph. If an array is specified, the values will be set from valueIndex for the number of arrays.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


 

 


reference