XYChart
XY chart panel - scatter plots and bubble charts.
Use for showing relationships between two variables.
<XYChart title="CPU vs Memory" xField="cpu_usage" yField="memory_usage" show="points"> system_resources</XYChart>| Prop | Type | Default | Description |
|---|---|---|---|
unit | Unit | - | Display unit |
decimals | number | - | Decimal places |
xField | string | - | X field |
yField | string | - | Y field |
sizeField | string | - | Size field (for bubble charts) |
colorField | string | - | Color field |
show | 'points' | 'lines' | 'points+lines' | - | Show mode |
pointSize | number | - | Point size |
lineWidth | number | - | Line width |
fill | number | - | Fill opacity (0-100) |
legend | LegendConfig | LegendPlacement | - | Legend configuration |
colorMode | ColorMode | - | Color mode |
Inherits from BasePanelProps