From 724de646a6af356fc8b4634c6c9db733588f9282 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 3 Jun 2020 16:17:17 +0530 Subject: [PATCH] feat: set truncate as 1 by default --- src/js/charts/BaseChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/charts/BaseChart.js b/src/js/charts/BaseChart.js index 0c23766..542f4c8 100644 --- a/src/js/charts/BaseChart.js +++ b/src/js/charts/BaseChart.js @@ -33,7 +33,7 @@ export default class BaseChart { showLegend: 1, // calculate isNavigable: options.isNavigable || 0, animate: (typeof options.animate !== 'undefined') ? options.animate : 1, - truncateLegends: options.truncateLegends || 0 + truncateLegends: options.truncateLegends || 1 }; this.measures = JSON.parse(JSON.stringify(BASE_MEASURES));