Skip to content

Commit 06517dd

Browse files
q32757468claude
andcommitted
docs(site): add missing config properties to boxplot, violin-chart and table examples
Add axisXTitle/axisYTitle properties to boxplot and violin-chart example data, add startAtZero/axisXTitle/axisYTitle to violin-chart, and add theme property to table. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 11bad01 commit 06517dd

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

site/app/examples/examplesData/boxplot.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ export const boxplotData = {
8484
valueType: 'boolean',
8585
description: 'Whether the Y-axis starts from zero, default is false.',
8686
},
87+
{
88+
property: 'axisXTitle',
89+
type: 'optional',
90+
valueType: 'string',
91+
description: 'X-axis title.',
92+
},
93+
{
94+
property: 'axisYTitle',
95+
type: 'optional',
96+
valueType: 'string',
97+
description: 'Y-axis title.',
98+
},
8799
],
88100
},
89101
],

site/app/examples/examplesData/table.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ export const tableData = {
3838
valueType: 'string',
3939
description: 'Chart title.',
4040
},
41+
{
42+
property: 'theme',
43+
type: 'optional',
44+
valueType: "'default' | 'dark'",
45+
description: 'Table theme, default is "default".',
46+
},
4147
],
4248
},
4349
],

site/app/examples/examplesData/violin-chart.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,24 @@ export const violinChartData = {
7979
valueType: 'string',
8080
description: 'Must be a valid color value.',
8181
},
82+
{
83+
property: 'style.startAtZero',
84+
type: 'optional',
85+
valueType: 'boolean',
86+
description: 'Whether the Y-axis starts from zero, default is false.',
87+
},
88+
{
89+
property: 'axisXTitle',
90+
type: 'optional',
91+
valueType: 'string',
92+
description: 'X-axis title.',
93+
},
94+
{
95+
property: 'axisYTitle',
96+
type: 'optional',
97+
valueType: 'string',
98+
description: 'Y-axis title.',
99+
},
82100
],
83101
},
84102
],

0 commit comments

Comments
 (0)