zzz-pc-view 0.0.125 → 0.0.126
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/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -3267,10 +3267,10 @@ const setYAxis$1 = (chartOption, param) => {
|
|
|
3267
3267
|
const axisName = dimension.axisName ?? "";
|
|
3268
3268
|
const minMax = {};
|
|
3269
3269
|
const { min, max } = dimension;
|
|
3270
|
-
if (Number.isFinite(min)) {
|
|
3270
|
+
if (Number.isFinite(min) || typeof min === "function") {
|
|
3271
3271
|
minMax.min = min;
|
|
3272
3272
|
}
|
|
3273
|
-
if (Number.isFinite(max)) {
|
|
3273
|
+
if (Number.isFinite(max) || typeof max === "function") {
|
|
3274
3274
|
minMax.max = max;
|
|
3275
3275
|
}
|
|
3276
3276
|
if (!Object.prototype.hasOwnProperty.call(axisNameIndexMap, axisName)) {
|