SetValue

<< Click to Display Table of Contents >>

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

SetValue


 

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

 


syntax

SetValue(

         dataIndex,

         valueIndex,

         values

         )

 


Parameters

dataIndex


Type:

Number


The index of the data, starting from 0.

 

valueIndex


Type:

Number


The zero-based index of the value.

 

values


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