Sparkline
import
import { Sparkline } from 'mui-plus';
Properties
Name | Type | Default | Description |
---|---|---|---|
color | "primary" | "secondary" | "inherit" | "success" | "warning" | "error" | primary | Theme color of the sparkline |
data | number[] | Sparkline series, as an array of y-values | |
height | number | 25 | Height of the sparkline |
width | number | 150 | Width of the sparkline |