evui 3.4.118 → 3.4.119
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/evui.common.js +122 -112
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +122 -112
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chart/model/model.store.js +4 -2
- package/src/components/chart/scale/scale.js +2 -2
- package/src/components/chart/scale/scale.time.category.js +2 -2
package/package.json
CHANGED
|
@@ -47,10 +47,12 @@ const modules = {
|
|
|
47
47
|
seriesIDs.forEach((seriesID) => {
|
|
48
48
|
const series = this.seriesList[seriesID];
|
|
49
49
|
|
|
50
|
-
const hasPassingValueInData = data[seriesID]
|
|
50
|
+
const hasPassingValueInData = data?.[seriesID]
|
|
51
|
+
?.some(item => item === series.passingValue);
|
|
52
|
+
|
|
51
53
|
series.hasPassingValueInData = hasPassingValueInData;
|
|
52
54
|
|
|
53
|
-
const sData = data[seriesID]
|
|
55
|
+
const sData = data?.[seriesID]?.map((item) => {
|
|
54
56
|
if (series.interpolation === 'zero' && !item) {
|
|
55
57
|
return 0;
|
|
56
58
|
}
|
|
@@ -349,8 +349,8 @@ class Scale {
|
|
|
349
349
|
&& (this.options.horizontal === (this.type === 'y'))
|
|
350
350
|
&& selectLabelInfo?.dataIndex?.length
|
|
351
351
|
&& !selectLabelInfo?.label
|
|
352
|
-
.map(
|
|
353
|
-
prev:
|
|
352
|
+
.map(t => this.getLabelFormat(Math.min(axisMax, t), {
|
|
353
|
+
prev: ticks[ix - 1] ?? '',
|
|
354
354
|
})).includes(labelText);
|
|
355
355
|
|
|
356
356
|
const labelColor = this.labelStyle.color;
|
|
@@ -205,8 +205,8 @@ class TimeCategoryScale extends Scale {
|
|
|
205
205
|
&& (this.options.horizontal === (this.type === 'y'))
|
|
206
206
|
&& selectLabelInfo?.dataIndex?.length
|
|
207
207
|
&& !selectLabelInfo?.label
|
|
208
|
-
.map(
|
|
209
|
-
prev
|
|
208
|
+
.map(t => this.getLabelFormat(Math.min(axisMax, t), {
|
|
209
|
+
prev,
|
|
210
210
|
})).includes(labelText);
|
|
211
211
|
|
|
212
212
|
const labelColor = this.labelStyle.color;
|