evui 3.4.150 → 3.4.152
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 +523 -177
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +523 -177
- 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/Chart.vue +68 -64
- package/src/components/chart/model/model.store.js +101 -97
- package/src/components/chart/plugins/plugins.legend.js +44 -8
- package/src/components/chart/scale/scale.linear.js +156 -25
- package/src/components/chart/scale/scale.time.js +94 -0
- package/src/components/chart/uses.js +7 -0
package/dist/evui.common.js
CHANGED
|
@@ -691,20 +691,6 @@ if(content.locals) module.exports = content.locals;
|
|
|
691
691
|
var add = __webpack_require__("499e").default
|
|
692
692
|
var update = add("ede85a96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
693
693
|
|
|
694
|
-
/***/ }),
|
|
695
|
-
|
|
696
|
-
/***/ "1776":
|
|
697
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
698
|
-
|
|
699
|
-
// Imports
|
|
700
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
701
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
702
|
-
// Module
|
|
703
|
-
exports.push([module.i, ".ev-chart-brush-wrapper,.ev-chart-wrapper{display:block;position:relative;width:100%;height:100%}.ev-chart-brush-container,.ev-chart-container{position:relative;overflow:hidden;width:100%;height:100%}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend{padding:5px 0 0 0}.ev-chart-legend-container{position:relative}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-legend--table{width:100%;font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:collapse}.ev-chart-legend--table td,.ev-chart-legend--table th{padding:3px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend--table__row{cursor:pointer;min-height:18px}.ev-chart-legend--table__row:hover{font-weight:700}.ev-chart-legend--table__color{width:18px}.ev-chart-legend--table__color-wrapper{position:relative;min-width:18px}.ev-chart-legend--table__color--line{height:4px}.ev-chart-legend--table__color--point-line{position:absolute;top:50%;left:3px;transform:translateY(-50%);height:4px}.ev-chart-legend--table__color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend--table__name,.ev-chart-legend--table__value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend-line{position:relative;width:100%;height:100%;border-radius:10px;background-color:#e3e3e3}.ev-chart-legend-line-layer,.ev-chart-legend-thumb{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-thumb{border-radius:10px;color:#000}.ev-chart-legend-handle{position:absolute;top:0;left:0;cursor:pointer}.ev-chart-legend-handle.dragging,.ev-chart-legend-handle:hover{transform:scale(1.2)}.ev-chart-legend-handle-btn{width:100%;height:100%;border-radius:50%;background-color:#fff;transition:transform .1s ease-in-out;box-sizing:border-box;border:2px solid #979797}.ev-chart-legend-handle-btn-color{position:absolute;top:4px;left:4px;width:calc(100% - 8px);height:calc(100% - 8px);border-radius:50%}.ev-chart-legend-label{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-legend-label-text{display:block;white-space:nowrap}.ev-chart-legend-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-overlay .ev-chart-legend-overlay-item{position:absolute;top:1px;left:1px;border-radius:50%;border:1px solid #fff;background-color:transparent}.ev-chart-legend-overlay .ev-chart-legend-overlay-tooltip{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-custom__header,.ev-chart-tooltip .ev-chart-tooltip-header{padding:12px 16px 3px 16px;overflow:hidden}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body,.ev-chart-tooltip .ev-chart-tooltip-custom{overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body{padding:8px 20px 8px 16px;overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body .row{display:flex;flex-direction:row;align-items:center}.ev-chart-tooltip .ev-chart-tooltip-custom__body .series-name{flex:auto}.ev-chart-tooltip .ev-chart-tooltip-custom__body .value{text-align:right}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle,.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-rect{width:12px;height:12px;margin-right:16px}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle{border-radius:12px}.ev-chart-scrollbar{position:absolute;z-index:3}.ev-chart-scrollbar-container{position:relative;top:0;left:0;width:100%;height:100%}.ev-chart-scrollbar-thumb,.ev-chart-scrollbar-track{position:absolute}.ev-chart-scrollbar-thumb:hover{opacity:.7}.ev-chart-scrollbar-button{position:absolute;text-align:center}.ev-chart-scrollbar-button:hover{opacity:.5!important}.ev-chart-scrollbar-button-icon{display:none;margin:0 auto;font-size:12px}", ""]);
|
|
704
|
-
// Exports
|
|
705
|
-
module.exports = exports;
|
|
706
|
-
|
|
707
|
-
|
|
708
694
|
/***/ }),
|
|
709
695
|
|
|
710
696
|
/***/ "17c2":
|
|
@@ -6140,6 +6126,21 @@ exports.push([module.i, "#ev-message-modal{position:fixed;top:0;left:50%;z-index
|
|
|
6140
6126
|
module.exports = exports;
|
|
6141
6127
|
|
|
6142
6128
|
|
|
6129
|
+
/***/ }),
|
|
6130
|
+
|
|
6131
|
+
/***/ "50c1":
|
|
6132
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6133
|
+
|
|
6134
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6135
|
+
|
|
6136
|
+
// load the styles
|
|
6137
|
+
var content = __webpack_require__("852a");
|
|
6138
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6139
|
+
if(content.locals) module.exports = content.locals;
|
|
6140
|
+
// add the styles to the DOM
|
|
6141
|
+
var add = __webpack_require__("499e").default
|
|
6142
|
+
var update = add("52fbf574", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6143
|
+
|
|
6143
6144
|
/***/ }),
|
|
6144
6145
|
|
|
6145
6146
|
/***/ "50c4":
|
|
@@ -6511,17 +6512,6 @@ exports.push([module.i, ".grid-pagination[data-v-414aff2b]{padding-top:8px}", ""
|
|
|
6511
6512
|
module.exports = exports;
|
|
6512
6513
|
|
|
6513
6514
|
|
|
6514
|
-
/***/ }),
|
|
6515
|
-
|
|
6516
|
-
/***/ "5a0a":
|
|
6517
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6518
|
-
|
|
6519
|
-
"use strict";
|
|
6520
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_24eba9c6_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9138");
|
|
6521
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_24eba9c6_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_24eba9c6_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
6522
|
-
/* unused harmony reexport * */
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
6515
|
/***/ }),
|
|
6526
6516
|
|
|
6527
6517
|
/***/ "5a0c":
|
|
@@ -7116,6 +7106,25 @@ exports.default = (sfc, props) => {
|
|
|
7116
7106
|
};
|
|
7117
7107
|
|
|
7118
7108
|
|
|
7109
|
+
/***/ }),
|
|
7110
|
+
|
|
7111
|
+
/***/ "6b93":
|
|
7112
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7113
|
+
|
|
7114
|
+
var $ = __webpack_require__("23e7");
|
|
7115
|
+
|
|
7116
|
+
var log = Math.log;
|
|
7117
|
+
var LOG10E = Math.LOG10E;
|
|
7118
|
+
|
|
7119
|
+
// `Math.log10` method
|
|
7120
|
+
// https://tc39.github.io/ecma262/#sec-math.log10
|
|
7121
|
+
$({ target: 'Math', stat: true }, {
|
|
7122
|
+
log10: function log10(x) {
|
|
7123
|
+
return log(x) * LOG10E;
|
|
7124
|
+
}
|
|
7125
|
+
});
|
|
7126
|
+
|
|
7127
|
+
|
|
7119
7128
|
/***/ }),
|
|
7120
7129
|
|
|
7121
7130
|
/***/ "6bcc":
|
|
@@ -7933,6 +7942,20 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7933
7942
|
module.exports = exports;
|
|
7934
7943
|
|
|
7935
7944
|
|
|
7945
|
+
/***/ }),
|
|
7946
|
+
|
|
7947
|
+
/***/ "852a":
|
|
7948
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7949
|
+
|
|
7950
|
+
// Imports
|
|
7951
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7952
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7953
|
+
// Module
|
|
7954
|
+
exports.push([module.i, ".ev-chart-brush-wrapper,.ev-chart-wrapper{display:block;position:relative;width:100%;height:100%}.ev-chart-brush-container,.ev-chart-container{position:relative;overflow:hidden;width:100%;height:100%}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend{padding:5px 0 0 0}.ev-chart-legend-container{position:relative}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-legend--table{width:100%;font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:collapse}.ev-chart-legend--table td,.ev-chart-legend--table th{padding:3px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend--table__row{cursor:pointer;min-height:18px}.ev-chart-legend--table__row:hover{font-weight:700}.ev-chart-legend--table__color{width:18px}.ev-chart-legend--table__color-wrapper{position:relative;min-width:18px}.ev-chart-legend--table__color--line{height:4px}.ev-chart-legend--table__color--point-line{position:absolute;top:50%;left:3px;transform:translateY(-50%);height:4px}.ev-chart-legend--table__color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend--table__name,.ev-chart-legend--table__value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend-line{position:relative;width:100%;height:100%;border-radius:10px;background-color:#e3e3e3}.ev-chart-legend-line-layer,.ev-chart-legend-thumb{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-thumb{border-radius:10px;color:#000}.ev-chart-legend-handle{position:absolute;top:0;left:0;cursor:pointer}.ev-chart-legend-handle.dragging,.ev-chart-legend-handle:hover{transform:scale(1.2)}.ev-chart-legend-handle-btn{width:100%;height:100%;border-radius:50%;background-color:#fff;transition:transform .1s ease-in-out;box-sizing:border-box;border:2px solid #979797}.ev-chart-legend-handle-btn-color{position:absolute;top:4px;left:4px;width:calc(100% - 8px);height:calc(100% - 8px);border-radius:50%}.ev-chart-legend-label{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-legend-label-text{display:block;white-space:nowrap}.ev-chart-legend-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-overlay .ev-chart-legend-overlay-item{position:absolute;top:1px;left:1px;border-radius:50%;border:1px solid #fff;background-color:transparent}.ev-chart-legend-overlay .ev-chart-legend-overlay-tooltip{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-custom__header,.ev-chart-tooltip .ev-chart-tooltip-header{padding:12px 16px 3px 16px;overflow:hidden}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body,.ev-chart-tooltip .ev-chart-tooltip-custom{overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body{padding:8px 20px 8px 16px;overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body .row{display:flex;flex-direction:row;align-items:center}.ev-chart-tooltip .ev-chart-tooltip-custom__body .series-name{flex:auto}.ev-chart-tooltip .ev-chart-tooltip-custom__body .value{text-align:right}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle,.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-rect{width:12px;height:12px;margin-right:16px}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle{border-radius:12px}.ev-chart-scrollbar{position:absolute;z-index:3}.ev-chart-scrollbar-container{position:relative;top:0;left:0;width:100%;height:100%}.ev-chart-scrollbar-thumb,.ev-chart-scrollbar-track{position:absolute}.ev-chart-scrollbar-thumb:hover{opacity:.7}.ev-chart-scrollbar-button{position:absolute;text-align:center}.ev-chart-scrollbar-button:hover{opacity:.5!important}.ev-chart-scrollbar-button-icon{display:none;margin:0 auto;font-size:12px}", ""]);
|
|
7955
|
+
// Exports
|
|
7956
|
+
module.exports = exports;
|
|
7957
|
+
|
|
7958
|
+
|
|
7936
7959
|
/***/ }),
|
|
7937
7960
|
|
|
7938
7961
|
/***/ "857a":
|
|
@@ -11207,27 +11230,12 @@ $({ target: 'Number', stat: true }, {
|
|
|
11207
11230
|
});
|
|
11208
11231
|
|
|
11209
11232
|
|
|
11210
|
-
/***/ }),
|
|
11211
|
-
|
|
11212
|
-
/***/ "9138":
|
|
11213
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11214
|
-
|
|
11215
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
11216
|
-
|
|
11217
|
-
// load the styles
|
|
11218
|
-
var content = __webpack_require__("1776");
|
|
11219
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
11220
|
-
if(content.locals) module.exports = content.locals;
|
|
11221
|
-
// add the styles to the DOM
|
|
11222
|
-
var add = __webpack_require__("499e").default
|
|
11223
|
-
var update = add("9519e5b6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
11224
|
-
|
|
11225
11233
|
/***/ }),
|
|
11226
11234
|
|
|
11227
11235
|
/***/ "9224":
|
|
11228
11236
|
/***/ (function(module) {
|
|
11229
11237
|
|
|
11230
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11238
|
+
module.exports = JSON.parse("{\"a\":\"3.4.152\"}");
|
|
11231
11239
|
|
|
11232
11240
|
/***/ }),
|
|
11233
11241
|
|
|
@@ -12478,6 +12486,17 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT
|
|
|
12478
12486
|
});
|
|
12479
12487
|
|
|
12480
12488
|
|
|
12489
|
+
/***/ }),
|
|
12490
|
+
|
|
12491
|
+
/***/ "a444":
|
|
12492
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12493
|
+
|
|
12494
|
+
"use strict";
|
|
12495
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_de83f53c_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("50c1");
|
|
12496
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_de83f53c_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_de83f53c_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
12497
|
+
/* unused harmony reexport * */
|
|
12498
|
+
|
|
12499
|
+
|
|
12481
12500
|
/***/ }),
|
|
12482
12501
|
|
|
12483
12502
|
/***/ "a4d3":
|
|
@@ -38337,20 +38356,20 @@ Grid.install = function (app) {
|
|
|
38337
38356
|
};
|
|
38338
38357
|
|
|
38339
38358
|
/* harmony default export */ var grid = (Grid);
|
|
38340
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=
|
|
38359
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=de83f53c
|
|
38341
38360
|
|
|
38342
|
-
var
|
|
38361
|
+
var Chartvue_type_template_id_de83f53c_hoisted_1 = {
|
|
38343
38362
|
key: 0,
|
|
38344
38363
|
ref: "evChartToolbarRef"
|
|
38345
38364
|
};
|
|
38346
|
-
function
|
|
38365
|
+
function Chartvue_type_template_id_de83f53c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38347
38366
|
var _$setup$zoomOptions$t;
|
|
38348
38367
|
|
|
38349
38368
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
38350
38369
|
|
|
38351
38370
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
38352
38371
|
|
|
38353
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [(_$setup$zoomOptions$t = $setup.zoomOptions.toolbar) !== null && _$setup$zoomOptions$t !== void 0 && _$setup$zoomOptions$t.show && !$setup.injectIsChartGroup ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div",
|
|
38372
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [(_$setup$zoomOptions$t = $setup.zoomOptions.toolbar) !== null && _$setup$zoomOptions$t !== void 0 && _$setup$zoomOptions$t.show && !$setup.injectIsChartGroup ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", Chartvue_type_template_id_de83f53c_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_chart_toolbar, {
|
|
38354
38373
|
toolbar: $setup.zoomOptions.toolbar,
|
|
38355
38374
|
onOnClickToolbar: $setup.onClickToolbar
|
|
38356
38375
|
}, null, 8, ["toolbar", "onOnClickToolbar"])], 512)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
|
@@ -38359,7 +38378,7 @@ function Chartvue_type_template_id_24eba9c6_render(_ctx, _cache, $props, $setup,
|
|
|
38359
38378
|
class: "ev-chart"
|
|
38360
38379
|
}, null, 4), [[_directive_resize, $setup.onResize]])], 64);
|
|
38361
38380
|
}
|
|
38362
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
38381
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=de83f53c
|
|
38363
38382
|
|
|
38364
38383
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
38365
38384
|
var es_object_assign = __webpack_require__("cca65");
|
|
@@ -39044,18 +39063,17 @@ var modules = {
|
|
|
39044
39063
|
};
|
|
39045
39064
|
|
|
39046
39065
|
for (var x = 0; x < keys.length; x++) {
|
|
39047
|
-
var
|
|
39066
|
+
var _dataGroup$at, _dataGroup$at$data, _dataGroup$at$data$at;
|
|
39048
39067
|
|
|
39049
39068
|
var key = keys[x];
|
|
39050
39069
|
var data = datas[key];
|
|
39051
|
-
var storeLength = data === null || data === void 0 ? void 0 : data.length;
|
|
39052
|
-
var lastTime = 0;
|
|
39070
|
+
var storeLength = data === null || data === void 0 ? void 0 : data.length; // 1) init / updateSeries 시 dataset shape 보장
|
|
39053
39071
|
|
|
39054
|
-
if (!this.isInit || this.updateSeries) {
|
|
39072
|
+
if (!this.isInit || this.updateSeries || !this.dataSet[key]) {
|
|
39055
39073
|
var defaultValues = {
|
|
39056
39074
|
dataGroup: [],
|
|
39057
39075
|
startIndex: 0,
|
|
39058
|
-
endIndex:
|
|
39076
|
+
endIndex: null,
|
|
39059
39077
|
length: 0,
|
|
39060
39078
|
fromTime: 0,
|
|
39061
39079
|
toTime: 0
|
|
@@ -39063,104 +39081,132 @@ var modules = {
|
|
|
39063
39081
|
this.dataSet[key] = _objectSpread2(_objectSpread2({}, defaultValues), this.dataSet[key]);
|
|
39064
39082
|
}
|
|
39065
39083
|
|
|
39066
|
-
this.dataSet[key]
|
|
39084
|
+
var dataset = this.dataSet[key];
|
|
39085
|
+
var dataGroup = dataset.dataGroup; // 2) range(length) 결정 + 변경 감지
|
|
39086
|
+
|
|
39087
|
+
var nextLength = this.options.realTimeScatter.range || 300;
|
|
39088
|
+
var lengthChanged = dataset.length !== nextLength;
|
|
39089
|
+
dataset.length = nextLength;
|
|
39090
|
+
var length = dataset.length; // 3) 이번 배치의 lastTime(초 단위) 계산
|
|
39091
|
+
|
|
39092
|
+
var lastTime = 0;
|
|
39067
39093
|
|
|
39068
39094
|
for (var i = 0; i < storeLength; i++) {
|
|
39069
39095
|
var item = data[i];
|
|
39070
39096
|
|
|
39071
|
-
if (lastTime < item.x) {
|
|
39097
|
+
if (item && lastTime < item.x) {
|
|
39072
39098
|
lastTime = item.x;
|
|
39073
39099
|
}
|
|
39074
39100
|
}
|
|
39075
39101
|
|
|
39076
|
-
lastTime = Math.floor(lastTime / 1000) * 1000;
|
|
39077
|
-
var dataGroupLastTime = ((
|
|
39078
|
-
|
|
39079
|
-
this.dataSet[key].fromTime = this.dataSet[key].toTime - this.dataSet[key].length * 1000;
|
|
39080
|
-
this.dataSet[key].endIndex = this.dataSet[key].length - 1;
|
|
39102
|
+
lastTime = lastTime ? Math.floor(lastTime / 1000) * 1000 : 0;
|
|
39103
|
+
var dataGroupLastTime = ((_dataGroup$at = dataGroup.at(-1)) === null || _dataGroup$at === void 0 ? void 0 : (_dataGroup$at$data = _dataGroup$at.data) === null || _dataGroup$at$data === void 0 ? void 0 : (_dataGroup$at$data$at = _dataGroup$at$data.at(-1)) === null || _dataGroup$at$data$at === void 0 ? void 0 : _dataGroup$at$data$at.x) || Date.now();
|
|
39104
|
+
var fallbackTime = Math.floor(dataGroupLastTime / 1000) * 1000; // 4) prevToTime은 덮기 전 값 (없으면 fallback)
|
|
39081
39105
|
|
|
39082
|
-
|
|
39083
|
-
return;
|
|
39084
|
-
}
|
|
39106
|
+
var prevToTime = dataset.toTime || fallbackTime; // 5) nextToTime 결정: 새 데이터가 있으면 lastTime, 없으면 이전 유지
|
|
39085
39107
|
|
|
39086
|
-
var
|
|
39108
|
+
var nextToTime = lastTime || prevToTime; // 6) endIndex/startIndex 초기화 (최초 1회) + length 변경 시 재구성
|
|
39087
39109
|
|
|
39088
|
-
if (
|
|
39089
|
-
|
|
39090
|
-
|
|
39091
|
-
}
|
|
39110
|
+
if (dataset.endIndex == null || lengthChanged) {
|
|
39111
|
+
dataset.startIndex = 0;
|
|
39112
|
+
dataset.endIndex = length - 1; // dataGroup 크기 맞추고 모두 reset
|
|
39092
39113
|
|
|
39093
|
-
|
|
39094
|
-
|
|
39095
|
-
|
|
39096
|
-
|
|
39097
|
-
|
|
39098
|
-
|
|
39099
|
-
|
|
39114
|
+
dataGroup.length = length;
|
|
39115
|
+
|
|
39116
|
+
for (var _i = 0; _i < length; _i++) {
|
|
39117
|
+
dataGroup[_i] = dataGroup[_i] || {
|
|
39118
|
+
data: [],
|
|
39119
|
+
max: 0,
|
|
39120
|
+
min: Infinity
|
|
39121
|
+
};
|
|
39122
|
+
dataGroup[_i].data.length = 0;
|
|
39123
|
+
dataGroup[_i].max = 0;
|
|
39124
|
+
dataGroup[_i].min = Infinity;
|
|
39125
|
+
} // toTime/fromTime도 새 기준으로 맞춤
|
|
39126
|
+
|
|
39127
|
+
|
|
39128
|
+
dataset.toTime = nextToTime;
|
|
39129
|
+
dataset.fromTime = dataset.toTime - length * 1000;
|
|
39130
|
+
} // 7) gapCount 계산 (반드시 정수) — prevToTime 기준
|
|
39131
|
+
|
|
39132
|
+
|
|
39133
|
+
var rawGap = (nextToTime - prevToTime) / 1000;
|
|
39134
|
+
var gapCount = Number.isFinite(rawGap) ? Math.max(0, Math.floor(rawGap)) : 0; // 8) to/from 갱신
|
|
39135
|
+
|
|
39136
|
+
dataset.toTime = nextToTime;
|
|
39137
|
+
dataset.fromTime = dataset.toTime - length * 1000; // (원래 코드에 있던 early return 유지)
|
|
39138
|
+
|
|
39139
|
+
if (lastTime && (dataset.toTime - lastTime) / 1000 > length && key === '') {
|
|
39140
|
+
return;
|
|
39100
39141
|
}
|
|
39101
39142
|
|
|
39102
|
-
|
|
39103
|
-
|
|
39104
|
-
|
|
39105
|
-
|
|
39106
|
-
|
|
39107
|
-
this.dataSet[key].dataGroup[_i2].min = Infinity;
|
|
39108
|
-
}
|
|
39143
|
+
var resetDataGroup = function resetDataGroup(group) {
|
|
39144
|
+
group.data.length = 0;
|
|
39145
|
+
group.max = 0;
|
|
39146
|
+
group.min = Infinity;
|
|
39147
|
+
}; // 9) dataGroup 슬롯 확보
|
|
39109
39148
|
|
|
39110
|
-
this.dataSet[key].startIndex = 0;
|
|
39111
|
-
this.dataSet[key].endIndex = this.dataSet[key].length - 1;
|
|
39112
|
-
} else {
|
|
39113
|
-
while (gapCount > 0) {
|
|
39114
|
-
if (this.dataSet[key].dataGroup[this.dataSet[key].startIndex] === null) {
|
|
39115
|
-
this.dataSet[key].dataGroup[this.dataSet[key].startIndex] = {
|
|
39116
|
-
data: [],
|
|
39117
|
-
max: 0,
|
|
39118
|
-
min: Infinity
|
|
39119
|
-
};
|
|
39120
|
-
} else {
|
|
39121
|
-
this.dataSet[key].dataGroup[this.dataSet[key].startIndex].data.length = 0;
|
|
39122
|
-
this.dataSet[key].dataGroup[this.dataSet[key].startIndex].max = 0;
|
|
39123
|
-
this.dataSet[key].dataGroup[this.dataSet[key].startIndex].min = Infinity;
|
|
39124
|
-
}
|
|
39125
39149
|
|
|
39126
|
-
|
|
39150
|
+
for (var _i2 = 0; _i2 < length; _i2++) {
|
|
39151
|
+
if (!dataGroup[_i2]) {
|
|
39152
|
+
dataGroup[_i2] = {
|
|
39153
|
+
data: [],
|
|
39154
|
+
max: 0,
|
|
39155
|
+
min: Infinity
|
|
39156
|
+
};
|
|
39157
|
+
} else if (!dataGroup[_i2].data) {
|
|
39158
|
+
dataGroup[_i2].data = [];
|
|
39159
|
+
dataGroup[_i2].max = 0;
|
|
39160
|
+
dataGroup[_i2].min = Infinity;
|
|
39161
|
+
}
|
|
39162
|
+
} // 10) gap만큼 링 전진 + 지나간 버킷 clear
|
|
39127
39163
|
|
|
39128
|
-
if (this.dataSet[key].startIndex >= this.dataSet[key].length) {
|
|
39129
|
-
this.dataSet[key].startIndex = 0;
|
|
39130
|
-
}
|
|
39131
39164
|
|
|
39132
|
-
|
|
39165
|
+
if (gapCount > 0) {
|
|
39166
|
+
if (gapCount >= length) {
|
|
39167
|
+
for (var _i3 = 0; _i3 < length; _i3++) {
|
|
39168
|
+
resetDataGroup(dataGroup[_i3]);
|
|
39169
|
+
}
|
|
39133
39170
|
|
|
39134
|
-
|
|
39135
|
-
|
|
39136
|
-
|
|
39171
|
+
dataset.startIndex = 0;
|
|
39172
|
+
dataset.endIndex = length - 1;
|
|
39173
|
+
} else {
|
|
39174
|
+
var currentStart = dataset.startIndex;
|
|
39175
|
+
var currentEnd = dataset.endIndex;
|
|
39137
39176
|
|
|
39138
|
-
|
|
39177
|
+
for (var _i4 = 0; _i4 < gapCount; _i4++) {
|
|
39178
|
+
resetDataGroup(dataGroup[currentStart]);
|
|
39179
|
+
currentStart = (currentStart + 1) % length;
|
|
39180
|
+
currentEnd = (currentEnd + 1) % length;
|
|
39139
39181
|
}
|
|
39182
|
+
|
|
39183
|
+
dataset.startIndex = currentStart;
|
|
39184
|
+
dataset.endIndex = currentEnd;
|
|
39140
39185
|
}
|
|
39141
|
-
}
|
|
39186
|
+
} // 11) 데이터 push (윈도우 안에 들어오는 것만)
|
|
39142
39187
|
|
|
39143
|
-
for (var _i3 = 0; _i3 < storeLength; _i3++) {
|
|
39144
|
-
var _item = data[_i3];
|
|
39145
|
-
var xAxisTime = Math.floor(_item.x / 1000) * 1000;
|
|
39146
39188
|
|
|
39147
|
-
|
|
39148
|
-
|
|
39189
|
+
for (var _i5 = 0; _i5 < storeLength; _i5++) {
|
|
39190
|
+
var _item = data[_i5];
|
|
39149
39191
|
|
|
39150
|
-
|
|
39192
|
+
if (_item) {
|
|
39193
|
+
var xAxisTime = Math.floor(_item.x / 1000) * 1000;
|
|
39151
39194
|
|
|
39152
|
-
if (
|
|
39153
|
-
|
|
39154
|
-
}
|
|
39195
|
+
if (dataset.fromTime <= xAxisTime) {
|
|
39196
|
+
var _item$value;
|
|
39155
39197
|
|
|
39156
|
-
|
|
39157
|
-
|
|
39158
|
-
|
|
39159
|
-
|
|
39160
|
-
|
|
39161
|
-
|
|
39162
|
-
|
|
39163
|
-
|
|
39198
|
+
var index = dataset.endIndex - (dataset.toTime - xAxisTime) / 1000;
|
|
39199
|
+
if (index < 0) index = length + index;
|
|
39200
|
+
var group = dataGroup[index];
|
|
39201
|
+
group.data.push({
|
|
39202
|
+
x: _item.x,
|
|
39203
|
+
y: _item.y,
|
|
39204
|
+
o: (_item$value = _item.value) !== null && _item$value !== void 0 ? _item$value : _item.y,
|
|
39205
|
+
color: _item.color
|
|
39206
|
+
});
|
|
39207
|
+
group.max = Math.max(group.max, _item.y);
|
|
39208
|
+
group.min = Math.min(group.min, _item.y);
|
|
39209
|
+
}
|
|
39164
39210
|
}
|
|
39165
39211
|
} // 실제 차트에 그려지는 데이터(fromTime ~ toTime 범위)에서만 min/max 계산
|
|
39166
39212
|
|
|
@@ -39169,12 +39215,11 @@ var modules = {
|
|
|
39169
39215
|
maxY: -Infinity,
|
|
39170
39216
|
minY: Infinity
|
|
39171
39217
|
};
|
|
39172
|
-
var
|
|
39173
|
-
|
|
39174
|
-
toTime = _this$dataSet$key.toTime;
|
|
39218
|
+
var fromTime = dataset.fromTime,
|
|
39219
|
+
toTime = dataset.toTime;
|
|
39175
39220
|
|
|
39176
|
-
for (var
|
|
39177
|
-
var groupData =
|
|
39221
|
+
for (var _i6 = 0; _i6 < length; _i6++) {
|
|
39222
|
+
var groupData = dataGroup[_i6].data;
|
|
39178
39223
|
|
|
39179
39224
|
for (var j = 0; j < groupData.length; j++) {
|
|
39180
39225
|
var _item2 = groupData[j]; // 현재 시간 범위 내의 데이터만 minMax 계산에 포함
|
|
@@ -39202,8 +39247,8 @@ var modules = {
|
|
|
39202
39247
|
|
|
39203
39248
|
minMaxValues.maxY = Math.max(minMaxValues.maxY, tempMinMax.maxY);
|
|
39204
39249
|
minMaxValues.minY = Math.min(minMaxValues.minY, tempMinMax.minY);
|
|
39205
|
-
minMaxValues.fromTime =
|
|
39206
|
-
minMaxValues.toTime =
|
|
39250
|
+
minMaxValues.fromTime = dataset.fromTime;
|
|
39251
|
+
minMaxValues.toTime = dataset.toTime;
|
|
39207
39252
|
}
|
|
39208
39253
|
|
|
39209
39254
|
this.seriesInfo.charts.scatter.forEach(function (seriesID) {
|
|
@@ -46305,12 +46350,105 @@ var scale_time_TimeScale = /*#__PURE__*/function (_Scale) {
|
|
|
46305
46350
|
|
|
46306
46351
|
return Math.ceil((max - min) / step);
|
|
46307
46352
|
}
|
|
46353
|
+
/**
|
|
46354
|
+
* With range information, calculate how many labels in axis
|
|
46355
|
+
* @param {object} range min/max information
|
|
46356
|
+
*
|
|
46357
|
+
* @returns {object} steps, interval, min/max graph value
|
|
46358
|
+
*/
|
|
46359
|
+
|
|
46360
|
+
}, {
|
|
46361
|
+
key: "calculateSteps",
|
|
46362
|
+
value: function calculateSteps(range) {
|
|
46363
|
+
var maxValue = range.maxValue,
|
|
46364
|
+
minValue = range.minValue,
|
|
46365
|
+
maxSteps = range.maxSteps; // 사용자 interval로 인식하는 경우: 숫자 또는 객체({ time, unit }) 형태만
|
|
46366
|
+
// 문자열('hour', 'second' 등)은 기존 로직(분기 D)으로 처리
|
|
46367
|
+
|
|
46368
|
+
var hasUserRange = Array.isArray(this.range) && this.range.length === 2;
|
|
46369
|
+
var hasUserInterval = typeof this.interval === 'number' || _typeof(this.interval) === 'object' && this.interval !== null;
|
|
46370
|
+
var resolvedInterval = hasUserInterval ? this.getInterval(range) : null;
|
|
46371
|
+
var isValidInterval = resolvedInterval != null && resolvedInterval > 0 && isFinite(resolvedInterval);
|
|
46372
|
+
var graphMin = +minValue;
|
|
46373
|
+
var graphMax = +maxValue;
|
|
46374
|
+
var graphRange = graphMax - graphMin;
|
|
46375
|
+
var interval;
|
|
46376
|
+
var steps;
|
|
46377
|
+
|
|
46378
|
+
if (hasUserRange && isValidInterval) {
|
|
46379
|
+
// 1) user range + interval
|
|
46380
|
+
var candidateSteps = graphRange / resolvedInterval;
|
|
46381
|
+
var isExactlyDividable = Math.abs(candidateSteps - Math.round(candidateSteps)) < 1e-10;
|
|
46382
|
+
|
|
46383
|
+
if (isExactlyDividable && candidateSteps <= maxSteps) {
|
|
46384
|
+
// 1-1) interval 호환되는 경우
|
|
46385
|
+
interval = resolvedInterval;
|
|
46386
|
+
steps = Math.round(candidateSteps);
|
|
46387
|
+
} else {
|
|
46388
|
+
// 1-2) interval 호환되지 않음 -> 사용자 interval을 사용하지 않음
|
|
46389
|
+
steps = maxSteps;
|
|
46390
|
+
interval = graphRange / steps;
|
|
46391
|
+
}
|
|
46392
|
+
} else if (hasUserRange) {
|
|
46393
|
+
// 2) user range only
|
|
46394
|
+
steps = maxSteps;
|
|
46395
|
+
interval = graphRange / steps;
|
|
46396
|
+
} else if (isValidInterval) {
|
|
46397
|
+
// 3) user interval only
|
|
46398
|
+
interval = resolvedInterval;
|
|
46399
|
+
steps = Math.ceil(graphRange / interval);
|
|
46400
|
+
|
|
46401
|
+
while (steps > maxSteps) {
|
|
46402
|
+
interval *= 2;
|
|
46403
|
+
steps = Math.ceil(graphRange / interval);
|
|
46404
|
+
}
|
|
46405
|
+
|
|
46406
|
+
graphMax = graphMin + interval * steps;
|
|
46407
|
+
} else {
|
|
46408
|
+
// 4) 기존 로직
|
|
46409
|
+
interval = this.getInterval(range);
|
|
46410
|
+
var increase = minValue;
|
|
46411
|
+
var numberOfSteps;
|
|
46412
|
+
|
|
46413
|
+
while (increase < maxValue) {
|
|
46414
|
+
increase += interval;
|
|
46415
|
+
}
|
|
46416
|
+
|
|
46417
|
+
graphMax = increase;
|
|
46418
|
+
numberOfSteps = Math.round(graphRange / interval);
|
|
46419
|
+
|
|
46420
|
+
while (numberOfSteps > maxSteps) {
|
|
46421
|
+
interval *= 2;
|
|
46422
|
+
numberOfSteps = Math.round(graphRange / interval);
|
|
46423
|
+
var tempInterval = graphRange / numberOfSteps;
|
|
46424
|
+
interval = this.decimalPoint ? tempInterval : Math.ceil(tempInterval);
|
|
46425
|
+
}
|
|
46426
|
+
|
|
46427
|
+
if (graphMax - graphMin > numberOfSteps * interval) {
|
|
46428
|
+
var _tempInterval = (graphMax - graphMin) / numberOfSteps;
|
|
46429
|
+
|
|
46430
|
+
interval = this.decimalPoint ? _tempInterval : Math.ceil(_tempInterval);
|
|
46431
|
+
}
|
|
46432
|
+
|
|
46433
|
+
steps = numberOfSteps;
|
|
46434
|
+
}
|
|
46435
|
+
|
|
46436
|
+
return {
|
|
46437
|
+
steps: steps,
|
|
46438
|
+
interval: interval,
|
|
46439
|
+
graphMin: graphMin,
|
|
46440
|
+
graphMax: graphMax
|
|
46441
|
+
};
|
|
46442
|
+
}
|
|
46308
46443
|
}]);
|
|
46309
46444
|
|
|
46310
46445
|
return TimeScale;
|
|
46311
46446
|
}(scale_scale);
|
|
46312
46447
|
|
|
46313
46448
|
/* harmony default export */ var scale_time = (scale_time_TimeScale);
|
|
46449
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.math.log10.js
|
|
46450
|
+
var es_math_log10 = __webpack_require__("6b93");
|
|
46451
|
+
|
|
46314
46452
|
// CONCATENATED MODULE: ./src/components/chart/scale/scale.linear.js
|
|
46315
46453
|
|
|
46316
46454
|
|
|
@@ -46323,6 +46461,8 @@ var scale_time_TimeScale = /*#__PURE__*/function (_Scale) {
|
|
|
46323
46461
|
|
|
46324
46462
|
|
|
46325
46463
|
|
|
46464
|
+
|
|
46465
|
+
|
|
46326
46466
|
var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
46327
46467
|
_inherits(LinearScale, _Scale);
|
|
46328
46468
|
|
|
@@ -46345,11 +46485,16 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46345
46485
|
* @returns {string} formatted label
|
|
46346
46486
|
*/
|
|
46347
46487
|
value: function getTruthyValue(value) {
|
|
46348
|
-
|
|
46488
|
+
var _this$adjustedDecimal;
|
|
46489
|
+
|
|
46490
|
+
var decimalPoint = (_this$adjustedDecimal = this.adjustedDecimalPoint) !== null && _this$adjustedDecimal !== void 0 ? _this$adjustedDecimal : this.decimalPoint;
|
|
46491
|
+
return truthyNumber(value) ? Number(value.toFixed(decimalPoint)) : value;
|
|
46349
46492
|
}
|
|
46350
46493
|
}, {
|
|
46351
46494
|
key: "getLabelFormat",
|
|
46352
46495
|
value: function getLabelFormat(value) {
|
|
46496
|
+
var _this$adjustedDecimal2;
|
|
46497
|
+
|
|
46353
46498
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46354
46499
|
|
|
46355
46500
|
if (this.formatter) {
|
|
@@ -46366,7 +46511,8 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46366
46511
|
}
|
|
46367
46512
|
}
|
|
46368
46513
|
|
|
46369
|
-
|
|
46514
|
+
var decimalPoint = (_this$adjustedDecimal2 = this.adjustedDecimalPoint) !== null && _this$adjustedDecimal2 !== void 0 ? _this$adjustedDecimal2 : this.decimalPoint;
|
|
46515
|
+
return helpers_util.labelSignFormat(value, decimalPoint);
|
|
46370
46516
|
}
|
|
46371
46517
|
/**
|
|
46372
46518
|
* Calculate interval
|
|
@@ -46393,44 +46539,164 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46393
46539
|
return Math.ceil((max - min) / step);
|
|
46394
46540
|
}
|
|
46395
46541
|
/**
|
|
46396
|
-
|
|
46397
|
-
|
|
46398
|
-
|
|
46399
|
-
|
|
46400
|
-
|
|
46401
|
-
|
|
46402
|
-
* @returns {number} decimal point
|
|
46403
|
-
*/
|
|
46542
|
+
* Get auto decimal point from interval
|
|
46543
|
+
* interval을 표현할 수 있는 최소 decimal 반환
|
|
46544
|
+
* 너무 긴 decimal은 제한
|
|
46545
|
+
* @param {number} interval
|
|
46546
|
+
* @returns {number} decimal point
|
|
46547
|
+
*/
|
|
46404
46548
|
|
|
46405
46549
|
}, {
|
|
46406
|
-
key: "
|
|
46407
|
-
value: function
|
|
46408
|
-
|
|
46409
|
-
numberOfSteps = _ref.numberOfSteps;
|
|
46410
|
-
|
|
46411
|
-
if (numberOfSteps <= 0 || graphRange === 0) {
|
|
46550
|
+
key: "getAutoDecimalPointFromInterval",
|
|
46551
|
+
value: function getAutoDecimalPointFromInterval(interval) {
|
|
46552
|
+
if (!isFinite(interval) || interval === 0) {
|
|
46412
46553
|
return 0;
|
|
46413
46554
|
}
|
|
46414
46555
|
|
|
46415
|
-
var
|
|
46556
|
+
var absInterval = Math.abs(interval); // 1 미만 값 처리 (소수점 최대 10자리 제한)
|
|
46557
|
+
|
|
46558
|
+
if (absInterval < 1) {
|
|
46559
|
+
var decimals = 0;
|
|
46560
|
+
var temp = absInterval;
|
|
46561
|
+
|
|
46562
|
+
while (temp < 1) {
|
|
46563
|
+
temp *= 10;
|
|
46564
|
+
decimals++;
|
|
46565
|
+
|
|
46566
|
+
if (decimals > 10) {
|
|
46567
|
+
break;
|
|
46568
|
+
}
|
|
46569
|
+
}
|
|
46570
|
+
|
|
46571
|
+
return decimals;
|
|
46572
|
+
} // 1 이상 값 처리 (소수점 최대 2자리 제한)
|
|
46573
|
+
|
|
46416
46574
|
|
|
46417
|
-
|
|
46575
|
+
for (var decimal = 0; decimal <= 6; decimal++) {
|
|
46576
|
+
var rounded = Number(absInterval.toFixed(decimal));
|
|
46577
|
+
|
|
46578
|
+
if (Math.abs(rounded - absInterval) < 1e-10) {
|
|
46579
|
+
return Math.min(decimal, 2);
|
|
46580
|
+
}
|
|
46581
|
+
}
|
|
46582
|
+
|
|
46583
|
+
return 2;
|
|
46584
|
+
}
|
|
46585
|
+
/**
|
|
46586
|
+
* axis interval을 nice number로 변환
|
|
46587
|
+
* (1, 2, 5 × 10^n)
|
|
46588
|
+
*
|
|
46589
|
+
* @param {Object} params
|
|
46590
|
+
* @param {number} params.range
|
|
46591
|
+
* @param {boolean} params.round
|
|
46592
|
+
* @returns {number}
|
|
46593
|
+
*/
|
|
46594
|
+
|
|
46595
|
+
}, {
|
|
46596
|
+
key: "getNiceNumber",
|
|
46597
|
+
value: function getNiceNumber(_ref) {
|
|
46598
|
+
var range = _ref.range,
|
|
46599
|
+
_ref$round = _ref.round,
|
|
46600
|
+
round = _ref$round === void 0 ? false : _ref$round;
|
|
46601
|
+
|
|
46602
|
+
if (!isFinite(range) || range <= 0) {
|
|
46418
46603
|
return 0;
|
|
46419
46604
|
}
|
|
46420
46605
|
|
|
46421
|
-
var
|
|
46422
|
-
var
|
|
46606
|
+
var exponent = Math.floor(Math.log10(range));
|
|
46607
|
+
var fraction = range / Math.pow(10, exponent);
|
|
46608
|
+
var niceFraction;
|
|
46423
46609
|
|
|
46424
|
-
|
|
46425
|
-
|
|
46426
|
-
|
|
46610
|
+
if (round) {
|
|
46611
|
+
if (fraction < 1.5) {
|
|
46612
|
+
niceFraction = 1;
|
|
46613
|
+
} else if (fraction < 3) {
|
|
46614
|
+
niceFraction = 2;
|
|
46615
|
+
} else if (fraction < 7) {
|
|
46616
|
+
niceFraction = 5;
|
|
46617
|
+
} else {
|
|
46618
|
+
niceFraction = 10;
|
|
46619
|
+
}
|
|
46620
|
+
} else if (fraction <= 1) {
|
|
46621
|
+
niceFraction = 1;
|
|
46622
|
+
} else if (fraction <= 2) {
|
|
46623
|
+
niceFraction = 2;
|
|
46624
|
+
} else if (fraction <= 5) {
|
|
46625
|
+
niceFraction = 5;
|
|
46626
|
+
} else {
|
|
46627
|
+
niceFraction = 10;
|
|
46628
|
+
}
|
|
46427
46629
|
|
|
46428
|
-
|
|
46429
|
-
|
|
46630
|
+
return niceFraction * Math.pow(10, exponent);
|
|
46631
|
+
}
|
|
46632
|
+
/**
|
|
46633
|
+
* With range information, calculate how many labels in axis
|
|
46634
|
+
* @param {object} range min/max information
|
|
46635
|
+
*
|
|
46636
|
+
* @returns {object} steps, interval, min/max graph value
|
|
46637
|
+
*/
|
|
46638
|
+
|
|
46639
|
+
}, {
|
|
46640
|
+
key: "calculateSteps",
|
|
46641
|
+
value: function calculateSteps(range) {
|
|
46642
|
+
var minValue = range.minValue,
|
|
46643
|
+
maxValue = range.maxValue;
|
|
46644
|
+
var maxSteps = Math.max(1, range.maxSteps);
|
|
46645
|
+
var hasUserRange = Array.isArray(this.range) && this.range.length === 2;
|
|
46646
|
+
var hasUserInterval = typeof this.interval === 'number' || _typeof(this.interval) === 'object' && this.interval !== null;
|
|
46647
|
+
var resolvedInterval = hasUserInterval ? this.getInterval(range) : null;
|
|
46648
|
+
var isValidInterval = resolvedInterval != null && resolvedInterval > 0 && isFinite(resolvedInterval);
|
|
46649
|
+
var graphMin = +minValue;
|
|
46650
|
+
var graphMax = +maxValue;
|
|
46651
|
+
var graphRange = graphMax - graphMin;
|
|
46652
|
+
var interval;
|
|
46653
|
+
var steps;
|
|
46654
|
+
|
|
46655
|
+
if (hasUserRange && isValidInterval) {
|
|
46656
|
+
// 1) user range + interval
|
|
46657
|
+
var candidateSteps = graphRange / resolvedInterval;
|
|
46658
|
+
var isExactlyDividable = Math.abs(candidateSteps - Math.round(candidateSteps)) < 1e-10;
|
|
46659
|
+
|
|
46660
|
+
if (isExactlyDividable && candidateSteps <= maxSteps) {
|
|
46661
|
+
interval = resolvedInterval;
|
|
46662
|
+
steps = Math.round(candidateSteps);
|
|
46663
|
+
} else {
|
|
46664
|
+
// interval 호환되지 않음 -> 사용자 interval을 사용하지 않음
|
|
46665
|
+
steps = maxSteps;
|
|
46666
|
+
interval = graphRange / steps;
|
|
46667
|
+
}
|
|
46668
|
+
} else if (hasUserRange) {
|
|
46669
|
+
// 2) user range only
|
|
46670
|
+
steps = maxSteps;
|
|
46671
|
+
interval = graphRange / steps;
|
|
46672
|
+
} else if (isValidInterval) {
|
|
46673
|
+
// 3) user interval only
|
|
46674
|
+
interval = resolvedInterval;
|
|
46675
|
+
steps = Math.ceil(graphRange / interval);
|
|
46676
|
+
|
|
46677
|
+
while (steps > maxSteps) {
|
|
46678
|
+
interval *= 2;
|
|
46679
|
+
steps = Math.ceil(graphRange / interval);
|
|
46430
46680
|
}
|
|
46681
|
+
|
|
46682
|
+
graphMax = graphMin + interval * steps;
|
|
46683
|
+
} else {
|
|
46684
|
+
// 4) auto
|
|
46685
|
+
interval = this.getNiceNumber({
|
|
46686
|
+
range: graphRange / maxSteps,
|
|
46687
|
+
round: true
|
|
46688
|
+
});
|
|
46689
|
+
steps = Math.ceil(graphRange / interval);
|
|
46690
|
+
graphMax = graphMin + interval * steps;
|
|
46431
46691
|
}
|
|
46432
46692
|
|
|
46433
|
-
|
|
46693
|
+
this.adjustedDecimalPoint = this.decimalPoint === 'auto' ? this.getAutoDecimalPointFromInterval(interval) : this.decimalPoint;
|
|
46694
|
+
return {
|
|
46695
|
+
steps: steps,
|
|
46696
|
+
interval: interval,
|
|
46697
|
+
graphMin: graphMin,
|
|
46698
|
+
graphMax: graphMax
|
|
46699
|
+
};
|
|
46434
46700
|
}
|
|
46435
46701
|
}]);
|
|
46436
46702
|
|
|
@@ -47564,6 +47830,7 @@ var plugins_title_modules = {
|
|
|
47564
47830
|
|
|
47565
47831
|
|
|
47566
47832
|
|
|
47833
|
+
|
|
47567
47834
|
|
|
47568
47835
|
|
|
47569
47836
|
var plugins_legend_modules = {
|
|
@@ -48101,6 +48368,8 @@ var plugins_legend_modules = {
|
|
|
48101
48368
|
|
|
48102
48369
|
|
|
48103
48370
|
this.onLegendBoxClick = function (e) {
|
|
48371
|
+
var _this8$options$eventB;
|
|
48372
|
+
|
|
48104
48373
|
var opt = _this8.options.legend;
|
|
48105
48374
|
|
|
48106
48375
|
if (opt !== null && opt !== void 0 && opt.stopClickEvt) {
|
|
@@ -48126,11 +48395,12 @@ var plugins_legend_modules = {
|
|
|
48126
48395
|
|
|
48127
48396
|
if (opt.clickMode === 'active') {
|
|
48128
48397
|
var legendContainerDOMs = Array.from(_this8.legendBoxDOM.getElementsByClassName(classList.container));
|
|
48129
|
-
|
|
48398
|
+
|
|
48399
|
+
var _isActiveAll = legendContainerDOMs.every(function (dom) {
|
|
48130
48400
|
return dom.dataset.inactive === 'false';
|
|
48131
48401
|
});
|
|
48132
48402
|
|
|
48133
|
-
if (
|
|
48403
|
+
if (_isActiveAll) {
|
|
48134
48404
|
legendContainerDOMs.forEach(function (dom) {
|
|
48135
48405
|
inactiveDomAndSeries(dom, opt.inactive);
|
|
48136
48406
|
});
|
|
@@ -48181,13 +48451,35 @@ var plugins_legend_modules = {
|
|
|
48181
48451
|
_this8.brushSeries.chartIdx = chartIdx;
|
|
48182
48452
|
}
|
|
48183
48453
|
|
|
48184
|
-
_this8.
|
|
48185
|
-
|
|
48186
|
-
|
|
48187
|
-
|
|
48188
|
-
|
|
48189
|
-
|
|
48454
|
+
if (((_this8$options$eventB = _this8.options.eventBehavior) === null || _this8$options$eventB === void 0 ? void 0 : _this8$options$eventB.legendClick) !== 'emitOnly') {
|
|
48455
|
+
_this8.update({
|
|
48456
|
+
updateSeries: false,
|
|
48457
|
+
updateSelTip: {
|
|
48458
|
+
update: true,
|
|
48459
|
+
keepDomain: true
|
|
48460
|
+
}
|
|
48461
|
+
});
|
|
48462
|
+
} // click-legend event 발생
|
|
48463
|
+
|
|
48464
|
+
|
|
48465
|
+
var activeSeries = Object.values(_this8.seriesList).filter(function (series) {
|
|
48466
|
+
return series.show;
|
|
48467
|
+
});
|
|
48468
|
+
var activeSeriesIds = activeSeries.map(function (series) {
|
|
48469
|
+
return series.sId;
|
|
48190
48470
|
});
|
|
48471
|
+
var isActiveAll = activeSeriesIds.length === Object.values(_this8.seriesList).length;
|
|
48472
|
+
var args = {
|
|
48473
|
+
e: e,
|
|
48474
|
+
data: {
|
|
48475
|
+
seriesIds: isActiveAll ? [] : activeSeriesIds,
|
|
48476
|
+
isActiveAll: isActiveAll
|
|
48477
|
+
}
|
|
48478
|
+
};
|
|
48479
|
+
|
|
48480
|
+
if (typeof _this8.listeners['click-legend'] === 'function') {
|
|
48481
|
+
_this8.listeners['click-legend'](args);
|
|
48482
|
+
}
|
|
48191
48483
|
};
|
|
48192
48484
|
/**
|
|
48193
48485
|
* callback for mouseleave event on legendBoxDOM
|
|
@@ -48361,6 +48653,8 @@ var plugins_legend_modules = {
|
|
|
48361
48653
|
|
|
48362
48654
|
|
|
48363
48655
|
this.onLegendBoxClick = function (e) {
|
|
48656
|
+
var _this9$options$eventB;
|
|
48657
|
+
|
|
48364
48658
|
var opt = _this9.options.legend;
|
|
48365
48659
|
|
|
48366
48660
|
if (opt !== null && opt !== void 0 && opt.stopClickEvt) {
|
|
@@ -48389,11 +48683,12 @@ var plugins_legend_modules = {
|
|
|
48389
48683
|
|
|
48390
48684
|
if (opt.clickMode === 'active') {
|
|
48391
48685
|
var legendContainerDOMs = Array.from(_this9.legendBoxDOM.getElementsByClassName(classList.container));
|
|
48392
|
-
|
|
48686
|
+
|
|
48687
|
+
var _isActiveAll2 = legendContainerDOMs.every(function (dom) {
|
|
48393
48688
|
return dom.dataset.inactive === 'false';
|
|
48394
48689
|
});
|
|
48395
48690
|
|
|
48396
|
-
if (
|
|
48691
|
+
if (_isActiveAll2) {
|
|
48397
48692
|
legendContainerDOMs.forEach(function (dom) {
|
|
48398
48693
|
inactiveDomAndSeries(dom, opt.inactive);
|
|
48399
48694
|
});
|
|
@@ -48430,13 +48725,35 @@ var plugins_legend_modules = {
|
|
|
48430
48725
|
}
|
|
48431
48726
|
}
|
|
48432
48727
|
|
|
48433
|
-
_this9.
|
|
48434
|
-
|
|
48435
|
-
|
|
48436
|
-
|
|
48437
|
-
|
|
48438
|
-
|
|
48728
|
+
if (((_this9$options$eventB = _this9.options.eventBehavior) === null || _this9$options$eventB === void 0 ? void 0 : _this9$options$eventB.legendClick) !== 'emitOnly') {
|
|
48729
|
+
_this9.update({
|
|
48730
|
+
updateSeries: false,
|
|
48731
|
+
updateSelTip: {
|
|
48732
|
+
update: true,
|
|
48733
|
+
keepDomain: true
|
|
48734
|
+
}
|
|
48735
|
+
});
|
|
48736
|
+
} // click-legend event 발생
|
|
48737
|
+
|
|
48738
|
+
|
|
48739
|
+
var activeSeries = series.colorState.filter(function (colorItem) {
|
|
48740
|
+
return colorItem.show;
|
|
48741
|
+
});
|
|
48742
|
+
var activeSerieIndices = activeSeries.map(function (colorItem) {
|
|
48743
|
+
return +colorItem.id.split('#')[1];
|
|
48439
48744
|
});
|
|
48745
|
+
var isActiveAll = series.colorState.length === activeSeries.length;
|
|
48746
|
+
var args = {
|
|
48747
|
+
e: e,
|
|
48748
|
+
data: {
|
|
48749
|
+
seriesIndices: isActiveAll ? [] : activeSerieIndices,
|
|
48750
|
+
isActiveAll: isActiveAll
|
|
48751
|
+
}
|
|
48752
|
+
};
|
|
48753
|
+
|
|
48754
|
+
if (typeof _this9.listeners['click-legend'] === 'function') {
|
|
48755
|
+
_this9.listeners['click-legend'](args);
|
|
48756
|
+
}
|
|
48440
48757
|
};
|
|
48441
48758
|
/**
|
|
48442
48759
|
* callback for mouseleave event on legendBoxDOM
|
|
@@ -57475,7 +57792,10 @@ var DEFAULT_OPTIONS = {
|
|
|
57475
57792
|
decimalPoint: 0
|
|
57476
57793
|
},
|
|
57477
57794
|
seriesReverse: false,
|
|
57478
|
-
coordinateDedupe: true
|
|
57795
|
+
coordinateDedupe: true,
|
|
57796
|
+
eventBehavior: {
|
|
57797
|
+
legendClick: 'update'
|
|
57798
|
+
}
|
|
57479
57799
|
};
|
|
57480
57800
|
var DEFAULT_DATA = {
|
|
57481
57801
|
series: {},
|
|
@@ -57751,7 +58071,33 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
|
|
|
57751
58071
|
if (injectGroupHoveredLabel !== null && injectGroupHoveredLabel !== void 0 && injectGroupHoveredLabel.value) {
|
|
57752
58072
|
injectGroupHoveredLabel.value.label = null;
|
|
57753
58073
|
}
|
|
57754
|
-
}
|
|
58074
|
+
},
|
|
58075
|
+
'click-legend': function () {
|
|
58076
|
+
var _clickLegend = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(e) {
|
|
58077
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
58078
|
+
while (1) {
|
|
58079
|
+
switch (_context5.prev = _context5.next) {
|
|
58080
|
+
case 0:
|
|
58081
|
+
_context5.next = 2;
|
|
58082
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
|
|
58083
|
+
|
|
58084
|
+
case 2:
|
|
58085
|
+
emit('click-legend', e);
|
|
58086
|
+
|
|
58087
|
+
case 3:
|
|
58088
|
+
case "end":
|
|
58089
|
+
return _context5.stop();
|
|
58090
|
+
}
|
|
58091
|
+
}
|
|
58092
|
+
}, _callee5);
|
|
58093
|
+
}));
|
|
58094
|
+
|
|
58095
|
+
function clickLegend(_x5) {
|
|
58096
|
+
return _clickLegend.apply(this, arguments);
|
|
58097
|
+
}
|
|
58098
|
+
|
|
58099
|
+
return clickLegend;
|
|
58100
|
+
}()
|
|
57755
58101
|
};
|
|
57756
58102
|
return {
|
|
57757
58103
|
eventListeners: eventListeners,
|
|
@@ -58115,7 +58461,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
58115
58461
|
default: false
|
|
58116
58462
|
}
|
|
58117
58463
|
},
|
|
58118
|
-
emits: ['click', 'dbl-click', 'drag-select', 'mouse-move', 'update:selectedItem', 'update:selectedLabel', 'update:selectedSeries', 'update:zoomStartIdx', 'update:zoomEndIdx', 'update:realTimeScatterReset'],
|
|
58464
|
+
emits: ['click', 'dbl-click', 'drag-select', 'mouse-move', 'update:selectedItem', 'update:selectedLabel', 'update:selectedSeries', 'update:zoomStartIdx', 'update:zoomEndIdx', 'update:realTimeScatterReset', 'click-legend'],
|
|
58119
58465
|
setup: function setup(props, _ref) {
|
|
58120
58466
|
var emit = _ref.emit;
|
|
58121
58467
|
var evChart = null;
|
|
@@ -58448,8 +58794,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
58448
58794
|
});
|
|
58449
58795
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
58450
58796
|
|
|
58451
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
58452
|
-
var
|
|
58797
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=de83f53c&lang=scss
|
|
58798
|
+
var Chartvue_type_style_index_0_id_de83f53c_lang_scss = __webpack_require__("a444");
|
|
58453
58799
|
|
|
58454
58800
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
58455
58801
|
|
|
@@ -58459,7 +58805,7 @@ var Chartvue_type_style_index_0_id_24eba9c6_lang_scss = __webpack_require__("5a0
|
|
|
58459
58805
|
|
|
58460
58806
|
|
|
58461
58807
|
|
|
58462
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
58808
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_de83f53c_render]])
|
|
58463
58809
|
|
|
58464
58810
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
58465
58811
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|