SVGChartProvider

Implementation of the chart provider using SVG elements.

It will draw SVG path with optional dots for each dataset and axis lines. Axis lines could be drawn across entire chart area or only on the left side. Distance between axis lines is calculated based on the chart height.

Configs

10

Common

listenersEvents

Chart

axisTicksCount: Number[]= [10,5,4,2,1]Also a property

Defines zoom levels for chart axis lines. By default, axis is split into 10 sections. When lines are closer than minAxisTickDistance next zoom level will be used. Default values are [10, 5, 4, 2, 1] which mean "draw line every 10% of the axis, if too close, then every 20%, 25%, 50% and 100% of the axis".

Defines minimum distance in pixels between two axis lines. Based on this value chart will calculate how many lines to draw. See corresponding config axisTicksCount.

When true, axis lines will be drawn across entire chart area.

When true, points on the chart path will be shown separately.

Misc

Other

tooltipTimelineChartProviderBase
tooltipTemplateTimelineChartProviderBase

Properties

16

Chart

axisTicksCount: Number[]= [10,5,4,2,1]Also a config

Defines zoom levels for chart axis lines. By default, axis is split into 10 sections. When lines are closer than minAxisTickDistance next zoom level will be used. Default values are [10, 5, 4, 2, 1] which mean "draw line every 10% of the axis, if too close, then every 20%, 25%, 50% and 100% of the axis".

Defines minimum distance in pixels between two axis lines. Based on this value chart will calculate how many lines to draw. See corresponding config axisTicksCount.

When true, axis lines will be drawn across entire chart area.

When true, points on the chart path will be shown separately.

Class hierarchy

isSVGChartProvider: Boolean= truereadonly
Identifies an object as an instance of SVGChartProvider class, or subclass thereof.
isSVGChartProvider: Boolean= truereadonlystatic
Identifies an object as an instance of SVGChartProvider class, or subclass thereof.
isDelayableDelayable
isEventsEvents
isTimelineChartProviderBaseTimelineChartProviderBase

Lifecycle

configBase

Misc

Other

tooltipTimelineChartProviderBase

Functions

25

Configuration

applyDefaultsstaticBase

Events

Lifecycle

destroystaticBase

Misc

initClassstaticBase
isOfTypeNamestaticBase
mixinstaticBase

Other

createOnFrameDelayable
onEvents
relayAllEvents
triggerEvents
unEvents

Events

3

Event handlers

3

Typedefs

2