Fixed: Unrecognized falsy value of truncateLegends
This commit is contained in:
parent
ea95aece5a
commit
2aab8dd315
@ -39,7 +39,7 @@ export default class BaseChart {
|
|||||||
isNavigable: options.isNavigable || 0,
|
isNavigable: options.isNavigable || 0,
|
||||||
animate: (typeof options.animate !== 'undefined') ? options.animate : 1,
|
animate: (typeof options.animate !== 'undefined') ? options.animate : 1,
|
||||||
disableEntryAnimation: options.disableEntryAnimation || 0,
|
disableEntryAnimation: options.disableEntryAnimation || 0,
|
||||||
truncateLegends: options.truncateLegends || 1
|
truncateLegends: (typeof options.truncateLegends !== 'undefined') ? options.truncateLegends : 1
|
||||||
};
|
};
|
||||||
|
|
||||||
this.measures = JSON.parse(JSON.stringify(BASE_MEASURES));
|
this.measures = JSON.parse(JSON.stringify(BASE_MEASURES));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user