evui 3.3.57 → 3.3.58
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/README.md +28 -5
- package/dist/evui.common.js +7 -4
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +7 -4
- 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/element/element.line.js +4 -3
package/dist/evui.umd.js
CHANGED
|
@@ -8054,7 +8054,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
8054
8054
|
/***/ "9224":
|
|
8055
8055
|
/***/ (function(module) {
|
|
8056
8056
|
|
|
8057
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
8057
|
+
module.exports = JSON.parse("{\"a\":\"3.3.58\"}");
|
|
8058
8058
|
|
|
8059
8059
|
/***/ }),
|
|
8060
8060
|
|
|
@@ -35708,18 +35708,21 @@ var element_line_Line = /*#__PURE__*/function () {
|
|
|
35708
35708
|
} // Draw points
|
|
35709
35709
|
|
|
35710
35710
|
|
|
35711
|
-
if (!isBrush
|
|
35711
|
+
if (!isBrush) {
|
|
35712
35712
|
ctx.strokeStyle = helpers_util.colorStringToRgba(mainColor, mainColorOpacity);
|
|
35713
35713
|
var focusStyle = helpers_util.colorStringToRgba(pointFillColor, 1);
|
|
35714
35714
|
var blurStyle = helpers_util.colorStringToRgba(pointFillColor, pointFillColorOpacity);
|
|
35715
35715
|
this.data.forEach(function (curr, ix) {
|
|
35716
|
-
var
|
|
35716
|
+
var _this2$data, _this2$data2;
|
|
35717
35717
|
|
|
35718
35718
|
if (curr.xp === null || curr.yp === null) {
|
|
35719
35719
|
return;
|
|
35720
35720
|
}
|
|
35721
35721
|
|
|
35722
|
-
|
|
35722
|
+
var isSingle = ((_this2$data = _this2.data[ix - 1]) === null || _this2$data === void 0 ? void 0 : _this2$data.o) === null && ((_this2$data2 = _this2.data[ix + 1]) === null || _this2$data2 === void 0 ? void 0 : _this2$data2.o) === null;
|
|
35723
|
+
var isSelectedLabel = selectedLabelIndexList.includes(ix);
|
|
35724
|
+
|
|
35725
|
+
if (_this2.point || isSingle || isSelectedLabel) {
|
|
35723
35726
|
ctx.fillStyle = isSelectedLabel && !legendHitInfo ? focusStyle : blurStyle;
|
|
35724
35727
|
helpers_canvas.drawPoint(ctx, _this2.pointStyle, _this2.pointSize, curr.xp, curr.yp);
|
|
35725
35728
|
}
|