Spread.Sheets Documentation
dataRange Method
GC.Spread.Sheets.Charts Namespace > Chart type : dataRange Method
The formula string of the data range for the chart.
Gets or sets the whole data range of the chart as formula string.
Syntax
var instance = new GC.Spread.Sheets.Charts.Chart(sheet, name, chartType, x, y, width, height, dataRange, dataOrientation);
var returnValue; // Type: any
returnValue = instance.dataRange(value);
function dataRange( 
   value : string
) : any;

Parameters

value
The formula string of the data range for the chart.

Return Value

If no value is set, returns the formula string of the whole data range for the chart; otherwise, returns the chart.
See Also

Reference

Chart type