SparklineProps
Represents the props of the KendoReact Sparkline component.
Name | Type | Default | Description |
---|---|---|---|
axisDefaults? |
|
This option allows to override the default axis options. | |
className? |
|
Sets additional CSS classes to the component. | |
data? |
|
The data for the default Sparkline series. Discarded if series are supplied. | |
dir? |
|
Represents the | |
onAxisLabelClick? |
|
Fires when the user clicks an axis label. | |
onDrag? |
|
Fires as long as the user is dragging the Chart with the mouse or through swipe gestures. | |
onDragEnd? |
|
Fires when the user stops dragging the Chart. | |
onDragStart? |
|
Fires when the user starts dragging the Chart. | |
onLegendItemClick? |
|
Fires when the user clicks a legend item (see example). | |
onLegendItemHover? |
|
Fires when the user hovers over a legend item. | |
onNoteClick? |
|
Fires when the user clicks a note. | |
onNoteHover? |
|
Fires when the user hovers over a note. | |
onPlotAreaClick? |
|
Fires when the user clicks the plot area. The | |
onPlotAreaHover? |
|
Fires when the user hovers the plot area (see example). | |
onRefresh? |
|
Fires when the Chart is about to refresh. The event can be used to prevent the refresh of the Chart in specific cases (see example. | |
onRender? |
|
Fires when the Chart is ready to render on screen (see example). For example, you can use it to remove loading indicators. Any changes made to the options are ignored. | |
onSelect? |
|
Fires when the user modifies the selection. The range units are:
| |
onSelectEnd? |
|
Fires when the user completes the modification of the selection (see example). The range units are:
| |
onSelectStart? |
|
Fires when the user starts modifying the axis selection. The range units are:
| |
onSeriesClick? |
|
Fires when the user clicks the Chart series. The | |
onSeriesHover? |
|
Fires when the user hovers over the Chart series. | |
onZoom? |
|
Fires as long as the user is zooming the Chart by using the mousewheel operation. | |
onZoomEnd? |
|
Fires when the user stops zooming the Chart. | |
onZoomStart? |
|
Fires when the user uses the mousewheel to zoom the Chart. | |
paneDefaults? |
|
This option allows to override the default pane options. | |
panes? |
|
The chart panes configuration. | |
pannable? |
|
Specifies if the Chart can be panned (see example). | |
renderAs? |
|
Sets the preferred rendering engine (see example). If not supported by the browser, the Chart switches to the first available mode. The supported values are:
| |
seriesColors? |
|
The default colors for the Chart series. When all colors are used, new colors are pulled from the start again. | |
seriesDefaults? |
|
This option allows to override the default series options. | |
style? |
|
The styles that are applied to the component. | |
transitions? |
|
If set to | |
type? |
|
The data for the default Sparkline series. Discarded if series are supplied. | |
zoomable? |
|
Specifies if the Chart can be zoomed (see example). Currently is only applicable to linear types, where the range on the X axis can be changed based on the zoom level. |