SpreadJS 13
GC.Spread.Sheets.Charts Namespace / Chart type / dataRange Method
The formula string of the data range for the chart.
In This Topic
    dataRange Method
    In This Topic
    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.
    Remarks

    See Also

    Reference

    Chart type