SpreadJS 13
GC.Spread.Sheets.Sparklines Namespace / SparklineEx type / 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.
In This Topic
    paint Method
    In This Topic
    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