跳到主要内容

stat-with-mini-chart

<ai-portal.stat-with-mini-chart>

构件 ai-portal.stat-with-mini-chart

Examples

Basic

Playground

Size

Playground

Properties

NameDescriptionTypeDefaultRequired
labelstring
valuestring
size"medium" | "small" "medium"
lineColorstring "var(--color-brand)"
showAreaboolean
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
xFieldstring "0"
yFieldstring "1"
dataRecord<string, number>[]