All docs
V24.1
24.2
24.1
23.2
23.1
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Sparkline Types

DisposingEvent

The type of the disposing event handler's argument.

import { DisposingEvent } from "devextreme/viz/sparkline"
Type:

Object

DrawnEvent

The type of the drawn event handler's argument.

import { DrawnEvent } from "devextreme/viz/sparkline"
Type:

Object

ExportedEvent

The type of the exported event handler's argument.

import { ExportedEvent } from "devextreme/viz/sparkline"
Type:

Object

ExportingEvent

The type of the exporting event handler's argument.

import { ExportingEvent } from "devextreme/viz/sparkline"
Type:

Object

FileSavingEvent

The type of the fileSaving event handler's argument.

import { FileSavingEvent } from "devextreme/viz/sparkline"
Type:

Object

IncidentOccurredEvent

The type of the incidentOccurred event handler's argument.

import { IncidentOccurredEvent } from "devextreme/viz/sparkline"
Type:

Object

InitializedEvent

The type of the initialized event handler's argument.

import { InitializedEvent } from "devextreme/viz/sparkline"
Type:

Object

OptionChangedEvent

The type of the optionChanged event handler's argument.

import { OptionChangedEvent } from "devextreme/viz/sparkline"
Type:

Object

SparklineType

Specifies the sparkline type.

Accepted Values: 'area' | 'bar' | 'line' | 'spline' | 'splinearea' | 'steparea' | 'stepline' | 'winloss'

Used in:

TooltipHiddenEvent

The type of the tooltipHidden event handler's argument.

import { TooltipHiddenEvent } from "devextreme/viz/sparkline"
Type:

Object

TooltipShownEvent

The type of the tooltipShown event handler's argument.

import { TooltipShownEvent } from "devextreme/viz/sparkline"
Type:

Object