eo-mini-line-chart
<eo-mini-line-chart>
构件 eo-mini-line-chart
Examples
Basic
Auto size
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
width | Set | string | "155" | |
height | Set | string | "40" | |
smooth | Use a smooth curve line or not. | boolean | true | |
lineColor | string | "var(--color-brand)" | ||
showArea | boolean | |||
min | Specify the minimum value of the y-axis. If not specified, the minimum value will be calculated from the data. | number | ||
max | Specify the maximum value of the y-axis. If not specified, the maximum value will be calculated from the data. | number | ||
xField | string | "0" | ||
yField | string | "1" | ||
data | Record<string, number>[] |