Spread.Sheets Documentation
paint Method
The canvas's two-dimensional context.
The value evaluated by the custom function.
x-coordinate relative to the canvas.
y-coordinate relative to the canvas.
The cell's width.
The cell's height.
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( 
   context : CanvasRenderingContext2D,
   value : object,
   x : number,
   y : number,
   width : number,
   height : 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

Reference

SparklineEx type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.