@visactor/vtable-calendar 1.17.3-alpha.10 → 1.17.3-alpha.11
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/vtable-calendar.js
CHANGED
|
@@ -47181,14 +47181,15 @@
|
|
|
47181
47181
|
} = getAxisOption(col, row, position, layout),
|
|
47182
47182
|
range = getAxisRange(layout.dataset.collectedValues, indicatorKeys, isZeroAlign, path, null != seriesIndice ? seriesIndice : index);
|
|
47183
47183
|
if (!range) return;
|
|
47184
|
-
|
|
47185
|
-
|
|
47186
|
-
|
|
47187
|
-
|
|
47188
|
-
|
|
47189
|
-
|
|
47190
|
-
|
|
47191
|
-
|
|
47184
|
+
let ticks;
|
|
47185
|
+
if (isPercent && (range.min = range.min < 0 ? -1 : 0, range.max = range.max > 0 ? 1 : 0), ((null == axisOption ? void 0 : axisOption.zero) || range.min === range.max) && (range.min = Math.min(range.min, 0), range.max = Math.max(range.max, 0)), (null == axisOption ? void 0 : axisOption.nice) || isTickAlign) {
|
|
47186
|
+
const getAxisDomainRangeAndLabels = Factory.getFunction("getAxisDomainRangeAndLabels"),
|
|
47187
|
+
{
|
|
47188
|
+
range: axisRange,
|
|
47189
|
+
ticks: selfTicks
|
|
47190
|
+
} = getAxisDomainRangeAndLabels(range.min, range.max, axisOption, isZeroAlign, "bottom" === position || "top" === position ? layout._table.getColWidth(col) || layout._table.tableNoFrameWidth : layout._table.getRowHeight(row) || layout._table.tableNoFrameHeight);
|
|
47191
|
+
(null == axisOption ? void 0 : axisOption.nice) && (range.min = axisRange[0], range.max = axisRange[1]), ticks = selfTicks;
|
|
47192
|
+
}
|
|
47192
47193
|
return isNumber$4(null == axisOption ? void 0 : axisOption.min) && (range.min = axisOption.min), isNumber$4(null == axisOption ? void 0 : axisOption.max) && (range.max = axisOption.max), {
|
|
47193
47194
|
index: null != seriesIndice ? seriesIndice : index,
|
|
47194
47195
|
range: range,
|
|
@@ -47480,7 +47481,7 @@
|
|
|
47480
47481
|
constructor(container) {
|
|
47481
47482
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
47482
47483
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
47483
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.17.3-alpha.
|
|
47484
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.17.3-alpha.11", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
47484
47485
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
47485
47486
|
const {
|
|
47486
47487
|
frozenColCount = 0,
|