You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 33fc0ca
Browse filesBrowse the repository at this point in the historyBrowse files
chore(spec): regenerate the reference docs and the react-block contract after the merge
Step 4 of the os-regen-merge sequence, on its own commit so a reviewer can read
"what main brought" apart from "what the change produces". The only movement is
the structure-key note's wording, shortened so the half that matters to a react
author survives the generated table's truncation.
Claude-Session: https://claude.ai/code/session_01LvwGppdonww4zGLWZo5rho
Co-authored-by: Claude <noreply@anthropic.com>
|**description**|`string \| Record<string, string>`| optional | Accessibility description — announced to screen readers as the chart’s label |
111
-
|**xAxis**|`{ field: string; title?: string \| Record<string, string>; format?: string; min?: number; … }`| optional | X-Axis configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — select `dimensions` / `values` on the widget instead. It stays authorable on an inline-data react `<ObjectChart>`. |
112
-
|**yAxis**|`{ field: string; title?: string \| Record<string, string>; format?: string; min?: number; … }[]`| optional | Y-Axis configuration (support dual axis). Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — select `dimensions` / `values` on the widget instead. It stays authorable on an inline-data react `<ObjectChart>`. |
113
-
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — select `dimensions` / `values` on the widget instead. It stays authorable on an inline-data react `<ObjectChart>`. |
111
+
|**xAxis**|`{ field: string; title?: string \| Record<string, string>; format?: string; min?: number; … }`| optional | X-Axis configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021). |
112
+
|**yAxis**|`{ field: string; title?: string \| Record<string, string>; format?: string; min?: number; … }[]`| optional | Y-Axis configuration (support dual axis). Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021). |
113
+
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021). |
114
114
|**colors**|`string[] \| Record<string, string>`| optional | Color palette (string[]) or value→color map (`{ value: color }`) |
115
115
|**height**|`number`| optional | Fixed plot height in pixels (overrides the container default) |
Copy file name to clipboardExpand all lines: content/docs/references/ui/report.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ const result = JoinedReportBlockSchema.parse(data);
49
49
|**description**|`string \| Record<string, string>`| optional | Accessibility description — announced to screen readers as the chart’s label |
50
50
|**xAxis**|`string`| ✅ | Dataset dimension name for the X-axis (bound-dataset dimension, not a raw field) |
51
51
|**yAxis**|`string`| ✅ | Dataset measure name for the Y-axis (bound-dataset measure, not a raw field) |
52
-
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — select `dimensions` / `values` on the widget instead. It stays authorable on an inline-data react `<ObjectChart>`. |
52
+
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021). |
53
53
|**colors**|`string[] \| Record<string, string>`| optional | Color palette (string[]) or value→color map (`{ value: color }`) |
54
54
|**height**|`number`| optional | Fixed plot height in pixels (overrides the container default) |
@@ -113,7 +113,7 @@ const result = JoinedReportBlockSchema.parse(data);
113
113
|**description**|`string \| Record<string, string>`| optional | Accessibility description — announced to screen readers as the chart’s label |
114
114
|**xAxis**|`string`| ✅ | Dataset dimension name for the X-axis (bound-dataset dimension, not a raw field) |
115
115
|**yAxis**|`string`| ✅ | Dataset measure name for the Y-axis (bound-dataset measure, not a raw field) |
116
-
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — select `dimensions` / `values` on the widget instead. It stays authorable on an inline-data react `<ObjectChart>`. |
116
+
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021). |
117
117
|**colors**|`string[] \| Record<string, string>`| optional | Color palette (string[]) or value→color map (`{ value: color }`) |
118
118
|**height**|`number`| optional | Fixed plot height in pixels (overrides the container default) |
@@ -161,7 +161,7 @@ const result = JoinedReportBlockSchema.parse(data);
161
161
|**description**|`string \| Record<string, string>`| optional | Accessibility description — announced to screen readers as the chart’s label |
162
162
|**xAxis**|`string`| ✅ | Dataset dimension name for the X-axis (bound-dataset dimension, not a raw field) |
163
163
|**yAxis**|`string`| ✅ | Dataset measure name for the Y-axis (bound-dataset measure, not a raw field) |
164
-
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — select `dimensions` / `values` on the widget instead. It stays authorable on an inline-data react `<ObjectChart>`. |
164
+
|**series**|`{ name: string; label?: string \| Record<string, string>; type?: Enum<'bar' \| 'horizontal-bar' \| 'column' \| 'line' \| 'area' \| 'pie' \| 'donut' \| …>; color?: string; … }[]`| optional | Defined series configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the dataset decides it (ADR-0021). |
165
165
|**colors**|`string[] \| Record<string, string>`| optional | Color palette (string[]) or value→color map (`{ value: color }`) |
166
166
|**height**|`number`| optional | Fixed plot height in pixels (overrides the container default) |
Copy file name to clipboardExpand all lines: skills/objectstack-ui/references/react-blocks.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,9 @@ Chart over an object’s aggregated data. Bind objectName + aggregate; the axes
93
93
|`subtitle`|`string \| object`| data || Chart subtitle |
94
94
|`description`|`string \| object`| data || Accessibility description — announced to screen readers as the chart’s label |
95
95
|`height`|`number`| data || Fixed plot height in pixels (overrides the container default) |
96
-
|`xAxis`|`object`| data || X-Axis configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021) — selec… |
97
-
|`yAxis`|`object[]`| data || Y-Axis configuration (support dual axis). Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by nam… |
98
-
|`series`|`object[]`| data || Defined series configuration. Structure, not appearance: on a dataset-bound dashboard widget the dataset decides this and the key is refused by name (ADR-0021)… |
96
+
|`xAxis`|`object`| data || X-Axis configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, where the da… |
97
+
|`yAxis`|`object[]`| data || Y-Axis configuration (support dual axis). Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard … |
98
+
|`series`|`object[]`| data || Defined series configuration. Structure, not appearance — authorable where the chart has inline data; refused by name on a dataset-bound dashboard widget, wher… |
99
99
|`colors`|`string[] \| object`| data || Color palette (string[]) or value→color map ({ value: color }) |
100
100
|`showLegend`|`boolean`| data || Display legend |
101
101
|`showDataLabels`|`boolean`| data || Display data labels |
0 commit comments