Static
approximateget approximate line height from css font definition currently only supports px and pt
Static
drawdraw activity indicator
initially should be zero; later pass in return value when drawing again
Static
drawDraws a border using the specified object style configuration
The top left x coordinate
The top left y coordinate
The width of the rectangle
The height of the rectangle
Optional
outside: booleanOptional
maxX: numberOptional
maxY: numberStatic
drawdraw an ellipse
the center x coordinate
the center y coordinate
Static
drawdraw a simple triangular arrow
The top left x coordinate
The top left y coordinate
Optional
width: numberOptional
height: numberOptional
right: booleanshould the arrow be facing right or left?
Static
drawStatic
drawStatic
drawDraws a rounded rectangle using the current state of the canvas. If you omit the last three params, it will draw a rectangle outline with a 5 pixel border radius
The top left x coordinate
The top left y coordinate
The width of the rectangle
The height of the rectangle
Optional
radius: numberThe corner radius. Defaults to 5;
Optional
fill: booleanWhether to fill the rectangle. Defaults to false.
Optional
stroke: booleanWhether to stroke the rectangle. Defaults to true.
Static
drawStatic
drawStatic
drawdraw a simple triangular arrow
The top left x coordinate
The top left y coordinate
Optional
width: numberOptional
height: numberOptional
up: booleanshould the arrow be facing up or down?
Static
drawStatic
fillStatic
pixelretrieve pixel ratio zoom level is taken into account on most browsers
Optional
view: any
a collection of graphics and drawing related utility functions used by the chart classes