Skip to content

Commit b7163da

Browse files
committed
docs: add chart series and dashboard comparison fields
1 parent 8d33fd4 commit b7163da

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

content/docs/references/ui/chart.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ const result = ChartAnnotation.parse(data);
113113
| **color** | `string` | optional | Series color (hex/rgb/token) |
114114
| **stack** | `string` | optional | Stack identifier to group series |
115115
| **yAxis** | `Enum<'left' \| 'right'>` || Bind to specific Y-Axis |
116+
| **variant** | `Enum<'primary' \| 'comparison'>` | optional | Series visual role |
117+
| **dashArray** | `string` | optional | SVG stroke-dasharray override |
118+
| **opacity** | `number` | optional | Series opacity override |
116119

117120

118121
---

content/docs/references/ui/dashboard.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ Dashboard header action
9595
| **actionIcon** | `string` | optional | Icon identifier for the widget action button |
9696
| **object** | `string` | optional | Data source object name |
9797
| **filter** | `[__schema0](./__schema0)` | optional | Data filter criteria |
98+
| **compareTo** | `string \| string \| Object` | optional | Period-over-period comparison window |
9899
| **categoryField** | `string` | optional | Field for grouping (X-Axis) |
100+
| **categoryGranularity** | `Enum<'day' \| 'week' \| 'month' \| 'quarter' \| 'year'>` | optional | Bucket categoryField date values into day/week/month/quarter/year periods |
99101
| **valueField** | `string` | optional | Field for values (Y-Axis) |
100102
| **aggregate** | `Enum<'count' \| 'sum' \| 'avg' \| 'min' \| 'max'>` || Aggregate function |
101103
| **measures** | `Object[]` | optional | Multiple measures for pivot/matrix analysis |

0 commit comments

Comments
 (0)