ChartSparkline
stable
API
Props
All props accepted by this component, with their type, default value and description.
- seriesrequiredArray<IChartSeries>
- typeTChartSparklineKind
- colorTIntent | string
- lineWidthnumber
- showMarkersboolean
- showMinboolean
- showMaxboolean
- showLastboolean
- markerSizenumber
- widthnumber | string
- heightnumber | string
- stylestring | Array<string> | object | StyleValue
- titlestring
- idstring
- classstring | Array<string> | object
- aspectRatiostring
- maxHeightnumber | string
- maxWidthnumber | string
- minHeightnumber | string
- minWidthnumber | string
- bgColorTColor
- roundedboolean | number | string | TRounded | null | undefined
- elevationTElevation
- paddingboolean | number | string
- marginboolean | number | string
- fontSizeTFontSize
- fontWeightTFontWeight
- paddingTopboolean | number | string
- paddingLeftboolean | number | string
- paddingBottomboolean | number | string
- paddingRightboolean | number | string
- paddingBlockboolean | number | string
- paddingInlineboolean | number | string
- paddingInlineStartboolean | number | string
- paddingInlineEndboolean | number | string
- paddingBlockStartboolean | number | string
- paddingBlockEndboolean | number | string
- marginTopboolean | number | string
- marginLeftboolean | number | string
- marginBottomboolean | number | string
- marginRightboolean | number | string
- marginBlockboolean | number | string
- marginInlineboolean | number | string
- marginInlineStartboolean | number | string
- marginInlineEndboolean | number | string
- marginBlockStartboolean | number | string
- marginBlockEndboolean | number | string
- roundedStartStartboolean | number | string
- roundedStartEndboolean | number | string
- roundedEndStartboolean | number | string
- roundedEndEndboolean | number | string
- roundedTopRightboolean | number | string
- roundedTopLeftboolean | number | string
- roundedBottomLeftboolean | number | string
- roundedBottomRightboolean | number | string
- categoriesArray<string>
- subtitlestring
- showTooltipboolean
- animatedboolean
- animationDurationnumber
API
Slots
Content slots exposed by this component.
- #tooltip
- #empty
API
Emits
Events emitted by this component.
- @point-clickIChartPoint, MouseEvent | KeyboardEvent
Interactive
Playground
Edit props live and see the component update in real time. The generated code snippet updates as you change values.
Rendering the live preview…