@progress/kendo-charts 1.32.1-dev.202310241001 → 1.32.1-dev.202311011640

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.
@@ -14,6 +14,7 @@ var FunnelChart = (function (ChartElement) {
14
14
  ChartElement.call(this, options);
15
15
 
16
16
  this.plotArea = plotArea;
17
+ this.chartService = plotArea.chartService;
17
18
  this.points = [];
18
19
  this.labels = [];
19
20
  this.legendItems = [];
@@ -123,7 +124,7 @@ var FunnelChart = (function (ChartElement) {
123
124
  if (labelTemplate) {
124
125
  text = labelTemplate(data);
125
126
  } else if (labels.format) {
126
- text = this.plotArea.chartService.format.auto(labels.format, text);
127
+ text = this.chartService.format.auto(labels.format, text);
127
128
  }
128
129
 
129
130
  if (!labels.color) {
@@ -14,6 +14,7 @@ class FunnelChart extends ChartElement {
14
14
  super(options);
15
15
 
16
16
  this.plotArea = plotArea;
17
+ this.chartService = plotArea.chartService;
17
18
  this.points = [];
18
19
  this.labels = [];
19
20
  this.legendItems = [];
@@ -112,7 +113,7 @@ class FunnelChart extends ChartElement {
112
113
  if (labelTemplate) {
113
114
  text = labelTemplate(data);
114
115
  } else if (labels.format) {
115
- text = this.plotArea.chartService.format.auto(labels.format, text);
116
+ text = this.chartService.format.auto(labels.format, text);
116
117
  }
117
118
 
118
119
  if (!labels.color) {