@progress/kendo-charts 2.1.0 → 2.1.1-dev.202401290907
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/dist/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/chart/plotarea/donut-plotarea.js +9 -0
- package/dist/es/chart/plotarea/funnel-plotarea.js +6 -2
- package/dist/es/chart/plotarea/pie-plotarea.js +8 -0
- package/dist/es2015/chart/plotarea/donut-plotarea.js +9 -0
- package/dist/es2015/chart/plotarea/funnel-plotarea.js +6 -2
- package/dist/es2015/chart/plotarea/pie-plotarea.js +8 -0
- package/dist/npm/main.js +24 -3
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,15 @@ var DonutPlotArea = (function (PiePlotArea) {
|
|
|
26
26
|
this.appendChart(donutChart);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
// These were overriden in the Pie, so revert to original behavior
|
|
30
|
+
DonutPlotArea.prototype.getPointBelow = function getPointBelow (point) {
|
|
31
|
+
return this._getNextPoint(point, this._pointsByVertical, -1);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
DonutPlotArea.prototype.getPointAbove = function getPointAbove (point) {
|
|
35
|
+
return this._getNextPoint(point, this._pointsByVertical, 1);
|
|
36
|
+
};
|
|
37
|
+
|
|
29
38
|
return DonutPlotArea;
|
|
30
39
|
}(PiePlotArea));
|
|
31
40
|
|
|
@@ -49,8 +49,12 @@ var FunnelPlotArea = (function (PlotAreaBase) {
|
|
|
49
49
|
return this.pointsBySeriesIndex(basePoint.series.index);
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
FunnelPlotArea.prototype.
|
|
53
|
-
return
|
|
52
|
+
FunnelPlotArea.prototype.getPointToTheRight = function getPointToTheRight (point) {
|
|
53
|
+
return this.getPointBelow(point);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
FunnelPlotArea.prototype.getPointToTheLeft = function getPointToTheLeft (point) {
|
|
57
|
+
return this.getPointAbove(point);
|
|
54
58
|
};
|
|
55
59
|
|
|
56
60
|
return FunnelPlotArea;
|
|
@@ -34,6 +34,14 @@ var PiePlotArea = (function (PlotAreaBase) {
|
|
|
34
34
|
append(this.options.legend.data, chart.legendItems);
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
PiePlotArea.prototype.getPointBelow = function getPointBelow (point) {
|
|
38
|
+
return this.getPointToTheRight(point);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
PiePlotArea.prototype.getPointAbove = function getPointAbove (point) {
|
|
42
|
+
return this.getPointToTheLeft(point);
|
|
43
|
+
};
|
|
44
|
+
|
|
37
45
|
return PiePlotArea;
|
|
38
46
|
}(PlotAreaBase));
|
|
39
47
|
|
|
@@ -17,6 +17,15 @@ class DonutPlotArea extends PiePlotArea {
|
|
|
17
17
|
|
|
18
18
|
this.appendChart(donutChart);
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
// These were overriden in the Pie, so revert to original behavior
|
|
22
|
+
getPointBelow(point) {
|
|
23
|
+
return this._getNextPoint(point, this._pointsByVertical, -1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
getPointAbove(point) {
|
|
27
|
+
return this._getNextPoint(point, this._pointsByVertical, 1);
|
|
28
|
+
}
|
|
20
29
|
}
|
|
21
30
|
|
|
22
31
|
export default DonutPlotArea;
|
|
@@ -41,8 +41,12 @@ class FunnelPlotArea extends PlotAreaBase {
|
|
|
41
41
|
return this.pointsBySeriesIndex(basePoint.series.index);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
return
|
|
44
|
+
getPointToTheRight(point) {
|
|
45
|
+
return this.getPointBelow(point);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
getPointToTheLeft(point) {
|
|
49
|
+
return this.getPointAbove(point);
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -25,6 +25,14 @@ class PiePlotArea extends PlotAreaBase {
|
|
|
25
25
|
super.appendChart(chart, pane);
|
|
26
26
|
append(this.options.legend.data, chart.legendItems);
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
getPointBelow(point) {
|
|
30
|
+
return this.getPointToTheRight(point);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
getPointAbove(point) {
|
|
34
|
+
return this.getPointToTheLeft(point);
|
|
35
|
+
}
|
|
28
36
|
}
|
|
29
37
|
|
|
30
38
|
export default PiePlotArea;
|