@carbon/charts-vue 0.49.1 → 0.49.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/charts-vue.umd.js CHANGED
@@ -19483,12 +19483,12 @@ var legend_Legend = /** @class */ (function (_super) {
19483
19483
  }
19484
19484
  };
19485
19485
  Legend.prototype.truncateLegendText = function (addedLegendItemsText) {
19486
- var trucationOptions = tools_Tools.getProperty(this.getOptions(), 'legend', 'truncation');
19486
+ var truncationOptions = tools_Tools.getProperty(this.getOptions(), 'legend', 'truncation');
19487
19487
  // Truncation
19488
19488
  // get user provided custom values for truncation
19489
- var truncationType = tools_Tools.getProperty(trucationOptions, 'type');
19490
- var truncationThreshold = tools_Tools.getProperty(trucationOptions, 'threshold');
19491
- var truncationNumCharacter = tools_Tools.getProperty(trucationOptions, 'numCharacter');
19489
+ var truncationType = tools_Tools.getProperty(truncationOptions, 'type');
19490
+ var truncationThreshold = tools_Tools.getProperty(truncationOptions, 'threshold');
19491
+ var truncationNumCharacter = tools_Tools.getProperty(truncationOptions, 'numCharacter');
19492
19492
  // truncate the legend label if it's too long
19493
19493
  if (truncationType !== TruncationTypes.NONE) {
19494
19494
  addedLegendItemsText.html(function (d) {