mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-02 15:16:49 +02:00
@@ -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
|
||||||
*/
|
*/
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user