SpreadJS Documentation
sparklineType Method
GC.Spread.Sheets.Sparklines Namespace > Sparkline class : sparklineType Method
The sparkline type.
Gets or sets the type of the sparkline.
Syntax
var instance = new GC.Spread.Sheets.Sparklines.Sparkline(row, column, dataReference, dataOrientation, type, setting);
var returnValue; // Type: any
returnValue = instance.sparklineType(value);
function sparklineType( 
   value : SparklineType
) : any;

Parameters

value
The sparkline type.

Return Value

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

Reference

Sparkline class