SpreadJS 13
GC.Spread.Sheets.Charts Namespace / Chart type / Chart Constructor
The host sheet of the chart.
The name of the chart.
The type of the chart.
The x location of the chart.
The y location of the chart.
The width of the chart.
The height of the chart.
The formula string of data range for the chart.
The orientation of data for series.
In This Topic
    Chart Constructor
    In This Topic
    Represents a chart.
    Syntax
    var instance = new GC.Spread.Sheets.Charts.Chart(sheet, name, chartType, x, y, width, height, dataRange, dataOrientation);
    function Chart( 
       sheet : Worksheet,
       name : string,
       chartType : ChartType,
       x : number,
       y : number,
       width : number,
       height : number,
       dataRange : undefined,
       dataOrientation : undefined
    ) : Chart;

    Parameters

    sheet
    The host sheet of the chart.
    name
    The name of the chart.
    chartType
    The type of the chart.
    x
    The x location of the chart.
    y
    The y location of the chart.
    width
    The width of the chart.
    height
    The height of the chart.
    dataRange
    The formula string of data range for the chart.
    dataOrientation
    The orientation of data for series.
    See Also

    Reference

    Chart type