Paints the SparklineEx on the canvas.
Syntax
var instance = new GC.Spread.Sheets.Sparklines.SparklineEx();
var returnValue; // Type: any
returnValue = instance.paint(context, value, x, y, width, height);
function paint(
: CanvasRenderingContext2D,
: object,
: number,
: number,
: number,
: number
) : any;
Parameters
- context
- The canvas's two-dimensional context.
- value
- The value evaluated by the custom function.
- x
- x-coordinate relative to the canvas.
- y
- y-coordinate relative to the canvas.
- width
- The cell's width.
- height
- The cell's height.
See Also