From efedb5ad08d2ccbe61c0691b07fe0afbe0c9b644 Mon Sep 17 00:00:00 2001 From: Alex Firsov Date: Thu, 7 Oct 2021 14:29:08 +0300 Subject: [PATCH] Added overlap parameter to bar charts --- src/core-interfaces.ts | 1 + src/gen-charts.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core-interfaces.ts b/src/core-interfaces.ts index 3b06d3f23..661c40b74 100644 --- a/src/core-interfaces.ts +++ b/src/core-interfaces.ts @@ -1228,6 +1228,7 @@ export interface IChartPropsChartBar { barDir?: string barGapDepthPct?: number barGapWidthPct?: number + barOverlapPct?: number barGrouping?: string } export interface IChartPropsChartDoughnut { diff --git a/src/gen-charts.ts b/src/gen-charts.ts index 22b715d24..cade90b6e 100644 --- a/src/gen-charts.ts +++ b/src/gen-charts.ts @@ -907,7 +907,7 @@ function makeChartType(chartType: CHART_NAME, data: OptsChartData[], opts: IChar // 4: Add more chart options (gapWidth, line Marker, etc.) if (chartType === CHART_TYPE.BAR) { strXml += ' ' - strXml += ' ' + strXml += ' ' } else if (chartType === CHART_TYPE.BAR3D) { strXml += ' ' strXml += ' '