add label config

Co-authored-by: pranavm2109 <mishrap@dickinson.edu>
This commit is contained in:
Shahir Ahmed
2025-03-27 20:32:35 -04:00
parent 936d1074b2
commit 34e756fde6
2 changed files with 8 additions and 0 deletions

View File

@@ -935,6 +935,10 @@ export interface XYChartConfig extends BaseDiagramConfig {
* Top and bottom space from the chart title * Top and bottom space from the chart title
*/ */
titlePadding?: number; titlePadding?: number;
/**
* Should show the data label on the chart
*/
showDataLabel?: boolean;
/** /**
* Should show the chart title * Should show the chart title
*/ */

View File

@@ -1228,6 +1228,10 @@ $defs: # JSON Schema definition (maybe we should move these to a separate file)
type: number type: number
default: 10 default: 10
minimum: 0 minimum: 0
showDataLabel:
description: Should show the data label on the chart
type: boolean
default: true
showTitle: showTitle:
description: Should show the chart title description: Should show the chart title
type: boolean type: boolean