stat-with-mini-chart
<ai-portal.stat-with-mini-chart>
构件 ai-portal.stat-with-mini-chart
Examples
Basic
Size
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
label | string | |||
value | string | |||
size | "medium" | "small" | "medium" | ||
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>[] |