base background color
base border color
base color
Override the window's default devicePixelRatio.
The events option defines the browser events that the chart should listen to for tooltips and hovering.
base font
The base axis of the chart. 'x' for vertical charts and 'y' for horizontal charts.
Locale used for number formatting (using Intl.NumberFormat
).
Maintain the original canvas aspect ratio (width / height) when resizing.
Called if the event is of type 'mouseup' or 'click'. Passed the event, an array of active elements, and the chart.
Called when any of the events fire. Passed the event, an array of active elements (bars, points, etc), and the chart.
Called when a resize occurs. Gets passed two arguments?: the chart instance and the new size.
Delay the resize update by give amount of milliseconds. This can ease the resize process by debouncing update of the elements.
Resizes the chart canvas when its container does (important note...).
Generated using TypeDoc
Canvas aspect ratio (i.e. width / height, a value of 1 representing a square canvas). Note that this option is ignored if the height is explicitly defined either as attribute or via the style.
2