Paints the sparkline in the specified area.
Syntax
var instance = new GC.Spread.Sheets.Sparklines.Sparkline(row, column, dataReference, dataOrientation, type, setting);
var value; // Type: any
value = instance.paintSparkline(ctx, x, y, w, h);
function paintSparkline(
: CanvasRenderingContext2D,
: number,
: number,
: number,
: number
) : any;
Parameters
- ctx
- The canvas's two-dimensional context.
- x
- x-coordinate relative to the canvas.
- y
- y-coordinate relative to the canvas.
- w
- The width of the cell that contains the sparkline.
- h
- The height of the cell that contains the sparkline.
See Also