ChartSparkline

stable

API

Props

All props accepted by this component, with their type, default value and description.

series
required
Array<IChartSeries>
type
TChartSparklineKind
color
TIntent | string
lineWidth
number
showMarkers
boolean
showMin
boolean
showMax
boolean
showLast
boolean
markerSize
number
width
number | string
height
number | string
style
string | Array<string> | object | StyleValue
title
string
id
string
class
string | Array<string> | object
aspectRatio
string
maxHeight
number | string
maxWidth
number | string
minHeight
number | string
minWidth
number | string
bgColor
TColor
rounded
boolean | number | string | TRounded | null | undefined
elevation
TElevation
padding
boolean | number | string
margin
boolean | number | string
fontSize
TFontSize
fontWeight
TFontWeight
paddingTop
boolean | number | string
paddingLeft
boolean | number | string
paddingBottom
boolean | number | string
paddingRight
boolean | number | string
paddingBlock
boolean | number | string
paddingInline
boolean | number | string
paddingInlineStart
boolean | number | string
paddingInlineEnd
boolean | number | string
paddingBlockStart
boolean | number | string
paddingBlockEnd
boolean | number | string
marginTop
boolean | number | string
marginLeft
boolean | number | string
marginBottom
boolean | number | string
marginRight
boolean | number | string
marginBlock
boolean | number | string
marginInline
boolean | number | string
marginInlineStart
boolean | number | string
marginInlineEnd
boolean | number | string
marginBlockStart
boolean | number | string
marginBlockEnd
boolean | number | string
roundedStartStart
boolean | number | string
roundedStartEnd
boolean | number | string
roundedEndStart
boolean | number | string
roundedEndEnd
boolean | number | string
roundedTopRight
boolean | number | string
roundedTopLeft
boolean | number | string
roundedBottomLeft
boolean | number | string
roundedBottomRight
boolean | number | string
categories
Array<string>
subtitle
string
showTooltip
boolean
animated
boolean
animationDuration
number

API

Slots

Content slots exposed by this component.

#tooltip
#empty

API

Emits

Events emitted by this component.

@point-click
IChartPoint, 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…