From 73fddf062315f90c2ce92b1cbf3c58cd9eb21367 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 3 Jun 2020 16:18:12 +0530 Subject: [PATCH] refactor: set default width for legend label to 150 --- src/js/charts/AggregationChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/charts/AggregationChart.js b/src/js/charts/AggregationChart.js index c02bf4d..7670977 100644 --- a/src/js/charts/AggregationChart.js +++ b/src/js/charts/AggregationChart.js @@ -63,7 +63,7 @@ export default class AggregationChart extends BaseChart { let count = 0; let y = 0; this.legendTotals.map((d, i) => { - let barWidth = 110; + let barWidth = 150; let divisor = Math.floor( (this.width - getExtraWidth(this.measures))/barWidth );