@progress/kendo-charts 1.33.0-dev.202311200833 → 1.33.0-dev.202311231237
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/plotarea-base.js +4 -2
- package/dist/es/core/date-category-axis.js +3 -2
- package/dist/es2015/chart/plotarea/plotarea-base.js +4 -2
- package/dist/es2015/core/date-category-axis.js +3 -2
- package/dist/npm/main.js +8 -5
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
|
@@ -468,8 +468,10 @@ var PlotAreaBase = (function (ChartElement) {
|
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
// Locate pane anchor, if any, and align the axis to it
|
|
472
|
+
var paneYAnchor = paneAnchor(yAxes, pane) || yAnchor;
|
|
473
|
+
if (paneYAnchor !== axis) {
|
|
474
|
+
axis.alignTo(paneYAnchor);
|
|
473
475
|
axis.reflow(axis.box);
|
|
474
476
|
}
|
|
475
477
|
}
|
|
@@ -271,8 +271,9 @@ function defaultBaseUnit(options) {
|
|
|
271
271
|
var category = categories[categoryIx];
|
|
272
272
|
|
|
273
273
|
if (category && lastCategory) {
|
|
274
|
-
var diff = absoluteDateDiff(category, lastCategory);
|
|
275
|
-
|
|
274
|
+
var diff = Math.abs(absoluteDateDiff(category, lastCategory));
|
|
275
|
+
|
|
276
|
+
if (diff !== 0) {
|
|
276
277
|
minDiff = Math.min(minDiff, diff);
|
|
277
278
|
|
|
278
279
|
if (minDiff >= TIME_PER_YEAR) {
|
|
@@ -449,8 +449,10 @@ class PlotAreaBase extends ChartElement {
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
|
|
453
|
-
|
|
452
|
+
// Locate pane anchor, if any, and align the axis to it
|
|
453
|
+
const paneYAnchor = paneAnchor(yAxes, pane) || yAnchor;
|
|
454
|
+
if (paneYAnchor !== axis) {
|
|
455
|
+
axis.alignTo(paneYAnchor);
|
|
454
456
|
axis.reflow(axis.box);
|
|
455
457
|
}
|
|
456
458
|
}
|
|
@@ -270,8 +270,9 @@ function defaultBaseUnit(options) {
|
|
|
270
270
|
const category = categories[categoryIx];
|
|
271
271
|
|
|
272
272
|
if (category && lastCategory) {
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
let diff = Math.abs(absoluteDateDiff(category, lastCategory));
|
|
274
|
+
|
|
275
|
+
if (diff !== 0) {
|
|
275
276
|
minDiff = Math.min(minDiff, diff);
|
|
276
277
|
|
|
277
278
|
if (minDiff >= TIME_PER_YEAR) {
|