feat: set truncate as 1 by default

This commit is contained in:
Shivam Mishra 2020-06-03 16:17:17 +05:30
parent 59416ec1af
commit 724de646a6

View File

@ -33,7 +33,7 @@ export default class BaseChart {
showLegend: 1, // calculate showLegend: 1, // calculate
isNavigable: options.isNavigable || 0, isNavigable: options.isNavigable || 0,
animate: (typeof options.animate !== 'undefined') ? options.animate : 1, animate: (typeof options.animate !== 'undefined') ? options.animate : 1,
truncateLegends: options.truncateLegends || 0 truncateLegends: options.truncateLegends || 1
}; };
this.measures = JSON.parse(JSON.stringify(BASE_MEASURES)); this.measures = JSON.parse(JSON.stringify(BASE_MEASURES));