@progress/kendo-charts 1.24.0-dev.202206130525 → 1.24.0

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.
@@ -22,7 +22,7 @@ var DonutChart = (function (PieChart) {
22
22
 
23
23
  this.createLegendItem(value, segmentOptions, fields);
24
24
 
25
- if (!value || fields.visible === false) {
25
+ if (fields.visible === false) {
26
26
  return;
27
27
  }
28
28
 
@@ -115,4 +115,4 @@ setDefaultOptions(DonutChart, {
115
115
  }
116
116
  });
117
117
 
118
- export default DonutChart;
118
+ export default DonutChart;
@@ -83,7 +83,7 @@ var PieChart = (function (ChartElement) {
83
83
  currentSeries.color = fields.color || seriesColors[i % colorsCount];
84
84
  }
85
85
 
86
- callback(pointData.valueFields.value, new Ring(null, 0, 0, currentAngle, angle), {
86
+ callback(value, new Ring(null, 0, 0, currentAngle, angle), {
87
87
  owner: this$1,
88
88
  category: defined(fields.category) ? fields.category : "",
89
89
  index: i,
@@ -14,7 +14,7 @@ class DonutChart extends PieChart {
14
14
 
15
15
  this.createLegendItem(value, segmentOptions, fields);
16
16
 
17
- if (!value || fields.visible === false) {
17
+ if (fields.visible === false) {
18
18
  return;
19
19
  }
20
20
 
@@ -103,4 +103,4 @@ setDefaultOptions(DonutChart, {
103
103
  }
104
104
  });
105
105
 
106
- export default DonutChart;
106
+ export default DonutChart;
@@ -70,7 +70,7 @@ class PieChart extends ChartElement {
70
70
  currentSeries.color = fields.color || seriesColors[i % colorsCount];
71
71
  }
72
72
 
73
- callback(pointData.valueFields.value, new Ring(null, 0, 0, currentAngle, angle), {
73
+ callback(value, new Ring(null, 0, 0, currentAngle, angle), {
74
74
  owner: this,
75
75
  category: defined(fields.category) ? fields.category : "",
76
76
  index: i,