Class: SparkBar

SparkBar

new SparkBar()

Extends

Methods

paint()

A simple implementation of a sparkline, because it's a barchart we've changed the name ;).

Overrides:
Implements:

roundRect(gc, x, y, width, height, radius, fill, stroke)

A simple implementation of rounding a cell.

Parameters:
Name Type Description
gc CanvasRenderingContext2D
x number

the x grid coordinate of my origin

y number

the y grid coordinate of my origin

width number

the width I'm allowed to draw within

height number

the height I'm allowed to draw within

radius number
fill number
stroke number
Inherited From: