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

Parameters

value
The type of the chart.

Return Value

If no value is set, returns the type of the chart; otherwise, returns the chart.
See Also

Reference

Chart type