evui 3.4.151 → 3.4.153
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 +453 -134
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +453 -134
- 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/chart.core.js +25 -19
- package/src/components/chart/plugins/plugins.interaction.js +5 -2
- package/src/components/chart/plugins/plugins.legend.js +44 -8
- package/src/components/chart/plugins/plugins.scrollbar.js +2 -9
- 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.umd.js
CHANGED
|
@@ -700,20 +700,6 @@ if(content.locals) module.exports = content.locals;
|
|
|
700
700
|
var add = __webpack_require__("499e").default
|
|
701
701
|
var update = add("ede85a96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
702
702
|
|
|
703
|
-
/***/ }),
|
|
704
|
-
|
|
705
|
-
/***/ "1776":
|
|
706
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
707
|
-
|
|
708
|
-
// Imports
|
|
709
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
710
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
711
|
-
// Module
|
|
712
|
-
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}", ""]);
|
|
713
|
-
// Exports
|
|
714
|
-
module.exports = exports;
|
|
715
|
-
|
|
716
|
-
|
|
717
703
|
/***/ }),
|
|
718
704
|
|
|
719
705
|
/***/ "17c2":
|
|
@@ -6149,6 +6135,21 @@ exports.push([module.i, "#ev-message-modal{position:fixed;top:0;left:50%;z-index
|
|
|
6149
6135
|
module.exports = exports;
|
|
6150
6136
|
|
|
6151
6137
|
|
|
6138
|
+
/***/ }),
|
|
6139
|
+
|
|
6140
|
+
/***/ "50c1":
|
|
6141
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6142
|
+
|
|
6143
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6144
|
+
|
|
6145
|
+
// load the styles
|
|
6146
|
+
var content = __webpack_require__("852a");
|
|
6147
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6148
|
+
if(content.locals) module.exports = content.locals;
|
|
6149
|
+
// add the styles to the DOM
|
|
6150
|
+
var add = __webpack_require__("499e").default
|
|
6151
|
+
var update = add("52fbf574", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6152
|
+
|
|
6152
6153
|
/***/ }),
|
|
6153
6154
|
|
|
6154
6155
|
/***/ "50c4":
|
|
@@ -6520,17 +6521,6 @@ exports.push([module.i, ".grid-pagination[data-v-414aff2b]{padding-top:8px}", ""
|
|
|
6520
6521
|
module.exports = exports;
|
|
6521
6522
|
|
|
6522
6523
|
|
|
6523
|
-
/***/ }),
|
|
6524
|
-
|
|
6525
|
-
/***/ "5a0a":
|
|
6526
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6527
|
-
|
|
6528
|
-
"use strict";
|
|
6529
|
-
/* 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");
|
|
6530
|
-
/* 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__);
|
|
6531
|
-
/* unused harmony reexport * */
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
6524
|
/***/ }),
|
|
6535
6525
|
|
|
6536
6526
|
/***/ "5a0c":
|
|
@@ -7125,6 +7115,25 @@ exports.default = (sfc, props) => {
|
|
|
7125
7115
|
};
|
|
7126
7116
|
|
|
7127
7117
|
|
|
7118
|
+
/***/ }),
|
|
7119
|
+
|
|
7120
|
+
/***/ "6b93":
|
|
7121
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7122
|
+
|
|
7123
|
+
var $ = __webpack_require__("23e7");
|
|
7124
|
+
|
|
7125
|
+
var log = Math.log;
|
|
7126
|
+
var LOG10E = Math.LOG10E;
|
|
7127
|
+
|
|
7128
|
+
// `Math.log10` method
|
|
7129
|
+
// https://tc39.github.io/ecma262/#sec-math.log10
|
|
7130
|
+
$({ target: 'Math', stat: true }, {
|
|
7131
|
+
log10: function log10(x) {
|
|
7132
|
+
return log(x) * LOG10E;
|
|
7133
|
+
}
|
|
7134
|
+
});
|
|
7135
|
+
|
|
7136
|
+
|
|
7128
7137
|
/***/ }),
|
|
7129
7138
|
|
|
7130
7139
|
/***/ "6bcc":
|
|
@@ -7942,6 +7951,20 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7942
7951
|
module.exports = exports;
|
|
7943
7952
|
|
|
7944
7953
|
|
|
7954
|
+
/***/ }),
|
|
7955
|
+
|
|
7956
|
+
/***/ "852a":
|
|
7957
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7958
|
+
|
|
7959
|
+
// Imports
|
|
7960
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7961
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7962
|
+
// Module
|
|
7963
|
+
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}", ""]);
|
|
7964
|
+
// Exports
|
|
7965
|
+
module.exports = exports;
|
|
7966
|
+
|
|
7967
|
+
|
|
7945
7968
|
/***/ }),
|
|
7946
7969
|
|
|
7947
7970
|
/***/ "857a":
|
|
@@ -11216,27 +11239,12 @@ $({ target: 'Number', stat: true }, {
|
|
|
11216
11239
|
});
|
|
11217
11240
|
|
|
11218
11241
|
|
|
11219
|
-
/***/ }),
|
|
11220
|
-
|
|
11221
|
-
/***/ "9138":
|
|
11222
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11223
|
-
|
|
11224
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
11225
|
-
|
|
11226
|
-
// load the styles
|
|
11227
|
-
var content = __webpack_require__("1776");
|
|
11228
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
11229
|
-
if(content.locals) module.exports = content.locals;
|
|
11230
|
-
// add the styles to the DOM
|
|
11231
|
-
var add = __webpack_require__("499e").default
|
|
11232
|
-
var update = add("9519e5b6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
11233
|
-
|
|
11234
11242
|
/***/ }),
|
|
11235
11243
|
|
|
11236
11244
|
/***/ "9224":
|
|
11237
11245
|
/***/ (function(module) {
|
|
11238
11246
|
|
|
11239
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11247
|
+
module.exports = JSON.parse("{\"a\":\"3.4.153\"}");
|
|
11240
11248
|
|
|
11241
11249
|
/***/ }),
|
|
11242
11250
|
|
|
@@ -12487,6 +12495,17 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT
|
|
|
12487
12495
|
});
|
|
12488
12496
|
|
|
12489
12497
|
|
|
12498
|
+
/***/ }),
|
|
12499
|
+
|
|
12500
|
+
/***/ "a444":
|
|
12501
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12502
|
+
|
|
12503
|
+
"use strict";
|
|
12504
|
+
/* 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");
|
|
12505
|
+
/* 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__);
|
|
12506
|
+
/* unused harmony reexport * */
|
|
12507
|
+
|
|
12508
|
+
|
|
12490
12509
|
/***/ }),
|
|
12491
12510
|
|
|
12492
12511
|
/***/ "a4d3":
|
|
@@ -38346,20 +38365,20 @@ Grid.install = function (app) {
|
|
|
38346
38365
|
};
|
|
38347
38366
|
|
|
38348
38367
|
/* harmony default export */ var grid = (Grid);
|
|
38349
|
-
// 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=
|
|
38368
|
+
// 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
|
|
38350
38369
|
|
|
38351
|
-
var
|
|
38370
|
+
var Chartvue_type_template_id_de83f53c_hoisted_1 = {
|
|
38352
38371
|
key: 0,
|
|
38353
38372
|
ref: "evChartToolbarRef"
|
|
38354
38373
|
};
|
|
38355
|
-
function
|
|
38374
|
+
function Chartvue_type_template_id_de83f53c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38356
38375
|
var _$setup$zoomOptions$t;
|
|
38357
38376
|
|
|
38358
38377
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
38359
38378
|
|
|
38360
38379
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
38361
38380
|
|
|
38362
|
-
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",
|
|
38381
|
+
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, {
|
|
38363
38382
|
toolbar: $setup.zoomOptions.toolbar,
|
|
38364
38383
|
onOnClickToolbar: $setup.onClickToolbar
|
|
38365
38384
|
}, 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", {
|
|
@@ -38368,7 +38387,7 @@ function Chartvue_type_template_id_24eba9c6_render(_ctx, _cache, $props, $setup,
|
|
|
38368
38387
|
class: "ev-chart"
|
|
38369
38388
|
}, null, 4), [[_directive_resize, $setup.onResize]])], 64);
|
|
38370
38389
|
}
|
|
38371
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
38390
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=de83f53c
|
|
38372
38391
|
|
|
38373
38392
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
38374
38393
|
var es_object_assign = __webpack_require__("cca65");
|
|
@@ -46340,12 +46359,105 @@ var scale_time_TimeScale = /*#__PURE__*/function (_Scale) {
|
|
|
46340
46359
|
|
|
46341
46360
|
return Math.ceil((max - min) / step);
|
|
46342
46361
|
}
|
|
46362
|
+
/**
|
|
46363
|
+
* With range information, calculate how many labels in axis
|
|
46364
|
+
* @param {object} range min/max information
|
|
46365
|
+
*
|
|
46366
|
+
* @returns {object} steps, interval, min/max graph value
|
|
46367
|
+
*/
|
|
46368
|
+
|
|
46369
|
+
}, {
|
|
46370
|
+
key: "calculateSteps",
|
|
46371
|
+
value: function calculateSteps(range) {
|
|
46372
|
+
var maxValue = range.maxValue,
|
|
46373
|
+
minValue = range.minValue,
|
|
46374
|
+
maxSteps = range.maxSteps; // 사용자 interval로 인식하는 경우: 숫자 또는 객체({ time, unit }) 형태만
|
|
46375
|
+
// 문자열('hour', 'second' 등)은 기존 로직(분기 D)으로 처리
|
|
46376
|
+
|
|
46377
|
+
var hasUserRange = Array.isArray(this.range) && this.range.length === 2;
|
|
46378
|
+
var hasUserInterval = typeof this.interval === 'number' || _typeof(this.interval) === 'object' && this.interval !== null;
|
|
46379
|
+
var resolvedInterval = hasUserInterval ? this.getInterval(range) : null;
|
|
46380
|
+
var isValidInterval = resolvedInterval != null && resolvedInterval > 0 && isFinite(resolvedInterval);
|
|
46381
|
+
var graphMin = +minValue;
|
|
46382
|
+
var graphMax = +maxValue;
|
|
46383
|
+
var graphRange = graphMax - graphMin;
|
|
46384
|
+
var interval;
|
|
46385
|
+
var steps;
|
|
46386
|
+
|
|
46387
|
+
if (hasUserRange && isValidInterval) {
|
|
46388
|
+
// 1) user range + interval
|
|
46389
|
+
var candidateSteps = graphRange / resolvedInterval;
|
|
46390
|
+
var isExactlyDividable = Math.abs(candidateSteps - Math.round(candidateSteps)) < 1e-10;
|
|
46391
|
+
|
|
46392
|
+
if (isExactlyDividable && candidateSteps <= maxSteps) {
|
|
46393
|
+
// 1-1) interval 호환되는 경우
|
|
46394
|
+
interval = resolvedInterval;
|
|
46395
|
+
steps = Math.round(candidateSteps);
|
|
46396
|
+
} else {
|
|
46397
|
+
// 1-2) interval 호환되지 않음 -> 사용자 interval을 사용하지 않음
|
|
46398
|
+
steps = maxSteps;
|
|
46399
|
+
interval = graphRange / steps;
|
|
46400
|
+
}
|
|
46401
|
+
} else if (hasUserRange) {
|
|
46402
|
+
// 2) user range only
|
|
46403
|
+
steps = maxSteps;
|
|
46404
|
+
interval = graphRange / steps;
|
|
46405
|
+
} else if (isValidInterval) {
|
|
46406
|
+
// 3) user interval only
|
|
46407
|
+
interval = resolvedInterval;
|
|
46408
|
+
steps = Math.ceil(graphRange / interval);
|
|
46409
|
+
|
|
46410
|
+
while (steps > maxSteps) {
|
|
46411
|
+
interval *= 2;
|
|
46412
|
+
steps = Math.ceil(graphRange / interval);
|
|
46413
|
+
}
|
|
46414
|
+
|
|
46415
|
+
graphMax = graphMin + interval * steps;
|
|
46416
|
+
} else {
|
|
46417
|
+
// 4) 기존 로직
|
|
46418
|
+
interval = this.getInterval(range);
|
|
46419
|
+
var increase = minValue;
|
|
46420
|
+
var numberOfSteps;
|
|
46421
|
+
|
|
46422
|
+
while (increase < maxValue) {
|
|
46423
|
+
increase += interval;
|
|
46424
|
+
}
|
|
46425
|
+
|
|
46426
|
+
graphMax = increase;
|
|
46427
|
+
numberOfSteps = Math.round(graphRange / interval);
|
|
46428
|
+
|
|
46429
|
+
while (numberOfSteps > maxSteps) {
|
|
46430
|
+
interval *= 2;
|
|
46431
|
+
numberOfSteps = Math.round(graphRange / interval);
|
|
46432
|
+
var tempInterval = graphRange / numberOfSteps;
|
|
46433
|
+
interval = this.decimalPoint ? tempInterval : Math.ceil(tempInterval);
|
|
46434
|
+
}
|
|
46435
|
+
|
|
46436
|
+
if (graphMax - graphMin > numberOfSteps * interval) {
|
|
46437
|
+
var _tempInterval = (graphMax - graphMin) / numberOfSteps;
|
|
46438
|
+
|
|
46439
|
+
interval = this.decimalPoint ? _tempInterval : Math.ceil(_tempInterval);
|
|
46440
|
+
}
|
|
46441
|
+
|
|
46442
|
+
steps = numberOfSteps;
|
|
46443
|
+
}
|
|
46444
|
+
|
|
46445
|
+
return {
|
|
46446
|
+
steps: steps,
|
|
46447
|
+
interval: interval,
|
|
46448
|
+
graphMin: graphMin,
|
|
46449
|
+
graphMax: graphMax
|
|
46450
|
+
};
|
|
46451
|
+
}
|
|
46343
46452
|
}]);
|
|
46344
46453
|
|
|
46345
46454
|
return TimeScale;
|
|
46346
46455
|
}(scale_scale);
|
|
46347
46456
|
|
|
46348
46457
|
/* harmony default export */ var scale_time = (scale_time_TimeScale);
|
|
46458
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.math.log10.js
|
|
46459
|
+
var es_math_log10 = __webpack_require__("6b93");
|
|
46460
|
+
|
|
46349
46461
|
// CONCATENATED MODULE: ./src/components/chart/scale/scale.linear.js
|
|
46350
46462
|
|
|
46351
46463
|
|
|
@@ -46358,6 +46470,8 @@ var scale_time_TimeScale = /*#__PURE__*/function (_Scale) {
|
|
|
46358
46470
|
|
|
46359
46471
|
|
|
46360
46472
|
|
|
46473
|
+
|
|
46474
|
+
|
|
46361
46475
|
var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
46362
46476
|
_inherits(LinearScale, _Scale);
|
|
46363
46477
|
|
|
@@ -46380,11 +46494,16 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46380
46494
|
* @returns {string} formatted label
|
|
46381
46495
|
*/
|
|
46382
46496
|
value: function getTruthyValue(value) {
|
|
46383
|
-
|
|
46497
|
+
var _this$adjustedDecimal;
|
|
46498
|
+
|
|
46499
|
+
var decimalPoint = (_this$adjustedDecimal = this.adjustedDecimalPoint) !== null && _this$adjustedDecimal !== void 0 ? _this$adjustedDecimal : this.decimalPoint;
|
|
46500
|
+
return truthyNumber(value) ? Number(value.toFixed(decimalPoint)) : value;
|
|
46384
46501
|
}
|
|
46385
46502
|
}, {
|
|
46386
46503
|
key: "getLabelFormat",
|
|
46387
46504
|
value: function getLabelFormat(value) {
|
|
46505
|
+
var _this$adjustedDecimal2;
|
|
46506
|
+
|
|
46388
46507
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46389
46508
|
|
|
46390
46509
|
if (this.formatter) {
|
|
@@ -46401,7 +46520,8 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46401
46520
|
}
|
|
46402
46521
|
}
|
|
46403
46522
|
|
|
46404
|
-
|
|
46523
|
+
var decimalPoint = (_this$adjustedDecimal2 = this.adjustedDecimalPoint) !== null && _this$adjustedDecimal2 !== void 0 ? _this$adjustedDecimal2 : this.decimalPoint;
|
|
46524
|
+
return helpers_util.labelSignFormat(value, decimalPoint);
|
|
46405
46525
|
}
|
|
46406
46526
|
/**
|
|
46407
46527
|
* Calculate interval
|
|
@@ -46428,44 +46548,164 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46428
46548
|
return Math.ceil((max - min) / step);
|
|
46429
46549
|
}
|
|
46430
46550
|
/**
|
|
46431
|
-
|
|
46432
|
-
|
|
46433
|
-
|
|
46434
|
-
|
|
46435
|
-
|
|
46436
|
-
|
|
46437
|
-
* @returns {number} decimal point
|
|
46438
|
-
*/
|
|
46551
|
+
* Get auto decimal point from interval
|
|
46552
|
+
* interval을 표현할 수 있는 최소 decimal 반환
|
|
46553
|
+
* 너무 긴 decimal은 제한
|
|
46554
|
+
* @param {number} interval
|
|
46555
|
+
* @returns {number} decimal point
|
|
46556
|
+
*/
|
|
46439
46557
|
|
|
46440
46558
|
}, {
|
|
46441
|
-
key: "
|
|
46442
|
-
value: function
|
|
46443
|
-
|
|
46444
|
-
numberOfSteps = _ref.numberOfSteps;
|
|
46445
|
-
|
|
46446
|
-
if (numberOfSteps <= 0 || graphRange === 0) {
|
|
46559
|
+
key: "getAutoDecimalPointFromInterval",
|
|
46560
|
+
value: function getAutoDecimalPointFromInterval(interval) {
|
|
46561
|
+
if (!isFinite(interval) || interval === 0) {
|
|
46447
46562
|
return 0;
|
|
46448
46563
|
}
|
|
46449
46564
|
|
|
46450
|
-
var
|
|
46565
|
+
var absInterval = Math.abs(interval); // 1 미만 값 처리 (소수점 최대 10자리 제한)
|
|
46566
|
+
|
|
46567
|
+
if (absInterval < 1) {
|
|
46568
|
+
var decimals = 0;
|
|
46569
|
+
var temp = absInterval;
|
|
46570
|
+
|
|
46571
|
+
while (temp < 1) {
|
|
46572
|
+
temp *= 10;
|
|
46573
|
+
decimals++;
|
|
46574
|
+
|
|
46575
|
+
if (decimals > 10) {
|
|
46576
|
+
break;
|
|
46577
|
+
}
|
|
46578
|
+
}
|
|
46579
|
+
|
|
46580
|
+
return decimals;
|
|
46581
|
+
} // 1 이상 값 처리 (소수점 최대 2자리 제한)
|
|
46582
|
+
|
|
46583
|
+
|
|
46584
|
+
for (var decimal = 0; decimal <= 6; decimal++) {
|
|
46585
|
+
var rounded = Number(absInterval.toFixed(decimal));
|
|
46586
|
+
|
|
46587
|
+
if (Math.abs(rounded - absInterval) < 1e-10) {
|
|
46588
|
+
return Math.min(decimal, 2);
|
|
46589
|
+
}
|
|
46590
|
+
}
|
|
46591
|
+
|
|
46592
|
+
return 2;
|
|
46593
|
+
}
|
|
46594
|
+
/**
|
|
46595
|
+
* axis interval을 nice number로 변환
|
|
46596
|
+
* (1, 2, 5 × 10^n)
|
|
46597
|
+
*
|
|
46598
|
+
* @param {Object} params
|
|
46599
|
+
* @param {number} params.range
|
|
46600
|
+
* @param {boolean} params.round
|
|
46601
|
+
* @returns {number}
|
|
46602
|
+
*/
|
|
46451
46603
|
|
|
46452
|
-
|
|
46604
|
+
}, {
|
|
46605
|
+
key: "getNiceNumber",
|
|
46606
|
+
value: function getNiceNumber(_ref) {
|
|
46607
|
+
var range = _ref.range,
|
|
46608
|
+
_ref$round = _ref.round,
|
|
46609
|
+
round = _ref$round === void 0 ? false : _ref$round;
|
|
46610
|
+
|
|
46611
|
+
if (!isFinite(range) || range <= 0) {
|
|
46453
46612
|
return 0;
|
|
46454
46613
|
}
|
|
46455
46614
|
|
|
46456
|
-
var
|
|
46457
|
-
var
|
|
46615
|
+
var exponent = Math.floor(Math.log10(range));
|
|
46616
|
+
var fraction = range / Math.pow(10, exponent);
|
|
46617
|
+
var niceFraction;
|
|
46458
46618
|
|
|
46459
|
-
|
|
46460
|
-
|
|
46461
|
-
|
|
46619
|
+
if (round) {
|
|
46620
|
+
if (fraction < 1.5) {
|
|
46621
|
+
niceFraction = 1;
|
|
46622
|
+
} else if (fraction < 3) {
|
|
46623
|
+
niceFraction = 2;
|
|
46624
|
+
} else if (fraction < 7) {
|
|
46625
|
+
niceFraction = 5;
|
|
46626
|
+
} else {
|
|
46627
|
+
niceFraction = 10;
|
|
46628
|
+
}
|
|
46629
|
+
} else if (fraction <= 1) {
|
|
46630
|
+
niceFraction = 1;
|
|
46631
|
+
} else if (fraction <= 2) {
|
|
46632
|
+
niceFraction = 2;
|
|
46633
|
+
} else if (fraction <= 5) {
|
|
46634
|
+
niceFraction = 5;
|
|
46635
|
+
} else {
|
|
46636
|
+
niceFraction = 10;
|
|
46637
|
+
}
|
|
46462
46638
|
|
|
46463
|
-
|
|
46464
|
-
|
|
46639
|
+
return niceFraction * Math.pow(10, exponent);
|
|
46640
|
+
}
|
|
46641
|
+
/**
|
|
46642
|
+
* With range information, calculate how many labels in axis
|
|
46643
|
+
* @param {object} range min/max information
|
|
46644
|
+
*
|
|
46645
|
+
* @returns {object} steps, interval, min/max graph value
|
|
46646
|
+
*/
|
|
46647
|
+
|
|
46648
|
+
}, {
|
|
46649
|
+
key: "calculateSteps",
|
|
46650
|
+
value: function calculateSteps(range) {
|
|
46651
|
+
var minValue = range.minValue,
|
|
46652
|
+
maxValue = range.maxValue;
|
|
46653
|
+
var maxSteps = Math.max(1, range.maxSteps);
|
|
46654
|
+
var hasUserRange = Array.isArray(this.range) && this.range.length === 2;
|
|
46655
|
+
var hasUserInterval = typeof this.interval === 'number' || _typeof(this.interval) === 'object' && this.interval !== null;
|
|
46656
|
+
var resolvedInterval = hasUserInterval ? this.getInterval(range) : null;
|
|
46657
|
+
var isValidInterval = resolvedInterval != null && resolvedInterval > 0 && isFinite(resolvedInterval);
|
|
46658
|
+
var graphMin = +minValue;
|
|
46659
|
+
var graphMax = +maxValue;
|
|
46660
|
+
var graphRange = graphMax - graphMin;
|
|
46661
|
+
var interval;
|
|
46662
|
+
var steps;
|
|
46663
|
+
|
|
46664
|
+
if (hasUserRange && isValidInterval) {
|
|
46665
|
+
// 1) user range + interval
|
|
46666
|
+
var candidateSteps = graphRange / resolvedInterval;
|
|
46667
|
+
var isExactlyDividable = Math.abs(candidateSteps - Math.round(candidateSteps)) < 1e-10;
|
|
46668
|
+
|
|
46669
|
+
if (isExactlyDividable && candidateSteps <= maxSteps) {
|
|
46670
|
+
interval = resolvedInterval;
|
|
46671
|
+
steps = Math.round(candidateSteps);
|
|
46672
|
+
} else {
|
|
46673
|
+
// interval 호환되지 않음 -> 사용자 interval을 사용하지 않음
|
|
46674
|
+
steps = maxSteps;
|
|
46675
|
+
interval = graphRange / steps;
|
|
46676
|
+
}
|
|
46677
|
+
} else if (hasUserRange) {
|
|
46678
|
+
// 2) user range only
|
|
46679
|
+
steps = maxSteps;
|
|
46680
|
+
interval = graphRange / steps;
|
|
46681
|
+
} else if (isValidInterval) {
|
|
46682
|
+
// 3) user interval only
|
|
46683
|
+
interval = resolvedInterval;
|
|
46684
|
+
steps = Math.ceil(graphRange / interval);
|
|
46685
|
+
|
|
46686
|
+
while (steps > maxSteps) {
|
|
46687
|
+
interval *= 2;
|
|
46688
|
+
steps = Math.ceil(graphRange / interval);
|
|
46465
46689
|
}
|
|
46690
|
+
|
|
46691
|
+
graphMax = graphMin + interval * steps;
|
|
46692
|
+
} else {
|
|
46693
|
+
// 4) auto
|
|
46694
|
+
interval = this.getNiceNumber({
|
|
46695
|
+
range: graphRange / maxSteps,
|
|
46696
|
+
round: true
|
|
46697
|
+
});
|
|
46698
|
+
steps = Math.ceil(graphRange / interval);
|
|
46699
|
+
graphMax = graphMin + interval * steps;
|
|
46466
46700
|
}
|
|
46467
46701
|
|
|
46468
|
-
|
|
46702
|
+
this.adjustedDecimalPoint = this.decimalPoint === 'auto' ? this.getAutoDecimalPointFromInterval(interval) : this.decimalPoint;
|
|
46703
|
+
return {
|
|
46704
|
+
steps: steps,
|
|
46705
|
+
interval: interval,
|
|
46706
|
+
graphMin: graphMin,
|
|
46707
|
+
graphMax: graphMax
|
|
46708
|
+
};
|
|
46469
46709
|
}
|
|
46470
46710
|
}]);
|
|
46471
46711
|
|
|
@@ -47599,6 +47839,7 @@ var plugins_title_modules = {
|
|
|
47599
47839
|
|
|
47600
47840
|
|
|
47601
47841
|
|
|
47842
|
+
|
|
47602
47843
|
|
|
47603
47844
|
|
|
47604
47845
|
var plugins_legend_modules = {
|
|
@@ -48136,6 +48377,8 @@ var plugins_legend_modules = {
|
|
|
48136
48377
|
|
|
48137
48378
|
|
|
48138
48379
|
this.onLegendBoxClick = function (e) {
|
|
48380
|
+
var _this8$options$eventB;
|
|
48381
|
+
|
|
48139
48382
|
var opt = _this8.options.legend;
|
|
48140
48383
|
|
|
48141
48384
|
if (opt !== null && opt !== void 0 && opt.stopClickEvt) {
|
|
@@ -48161,11 +48404,12 @@ var plugins_legend_modules = {
|
|
|
48161
48404
|
|
|
48162
48405
|
if (opt.clickMode === 'active') {
|
|
48163
48406
|
var legendContainerDOMs = Array.from(_this8.legendBoxDOM.getElementsByClassName(classList.container));
|
|
48164
|
-
|
|
48407
|
+
|
|
48408
|
+
var _isActiveAll = legendContainerDOMs.every(function (dom) {
|
|
48165
48409
|
return dom.dataset.inactive === 'false';
|
|
48166
48410
|
});
|
|
48167
48411
|
|
|
48168
|
-
if (
|
|
48412
|
+
if (_isActiveAll) {
|
|
48169
48413
|
legendContainerDOMs.forEach(function (dom) {
|
|
48170
48414
|
inactiveDomAndSeries(dom, opt.inactive);
|
|
48171
48415
|
});
|
|
@@ -48216,13 +48460,35 @@ var plugins_legend_modules = {
|
|
|
48216
48460
|
_this8.brushSeries.chartIdx = chartIdx;
|
|
48217
48461
|
}
|
|
48218
48462
|
|
|
48219
|
-
_this8.
|
|
48220
|
-
|
|
48221
|
-
|
|
48222
|
-
|
|
48223
|
-
|
|
48224
|
-
|
|
48463
|
+
if (((_this8$options$eventB = _this8.options.eventBehavior) === null || _this8$options$eventB === void 0 ? void 0 : _this8$options$eventB.legendClick) !== 'emitOnly') {
|
|
48464
|
+
_this8.update({
|
|
48465
|
+
updateSeries: false,
|
|
48466
|
+
updateSelTip: {
|
|
48467
|
+
update: true,
|
|
48468
|
+
keepDomain: true
|
|
48469
|
+
}
|
|
48470
|
+
});
|
|
48471
|
+
} // click-legend event 발생
|
|
48472
|
+
|
|
48473
|
+
|
|
48474
|
+
var activeSeries = Object.values(_this8.seriesList).filter(function (series) {
|
|
48475
|
+
return series.show;
|
|
48225
48476
|
});
|
|
48477
|
+
var activeSeriesIds = activeSeries.map(function (series) {
|
|
48478
|
+
return series.sId;
|
|
48479
|
+
});
|
|
48480
|
+
var isActiveAll = activeSeriesIds.length === Object.values(_this8.seriesList).length;
|
|
48481
|
+
var args = {
|
|
48482
|
+
e: e,
|
|
48483
|
+
data: {
|
|
48484
|
+
seriesIds: isActiveAll ? [] : activeSeriesIds,
|
|
48485
|
+
isActiveAll: isActiveAll
|
|
48486
|
+
}
|
|
48487
|
+
};
|
|
48488
|
+
|
|
48489
|
+
if (typeof _this8.listeners['click-legend'] === 'function') {
|
|
48490
|
+
_this8.listeners['click-legend'](args);
|
|
48491
|
+
}
|
|
48226
48492
|
};
|
|
48227
48493
|
/**
|
|
48228
48494
|
* callback for mouseleave event on legendBoxDOM
|
|
@@ -48396,6 +48662,8 @@ var plugins_legend_modules = {
|
|
|
48396
48662
|
|
|
48397
48663
|
|
|
48398
48664
|
this.onLegendBoxClick = function (e) {
|
|
48665
|
+
var _this9$options$eventB;
|
|
48666
|
+
|
|
48399
48667
|
var opt = _this9.options.legend;
|
|
48400
48668
|
|
|
48401
48669
|
if (opt !== null && opt !== void 0 && opt.stopClickEvt) {
|
|
@@ -48424,11 +48692,12 @@ var plugins_legend_modules = {
|
|
|
48424
48692
|
|
|
48425
48693
|
if (opt.clickMode === 'active') {
|
|
48426
48694
|
var legendContainerDOMs = Array.from(_this9.legendBoxDOM.getElementsByClassName(classList.container));
|
|
48427
|
-
|
|
48695
|
+
|
|
48696
|
+
var _isActiveAll2 = legendContainerDOMs.every(function (dom) {
|
|
48428
48697
|
return dom.dataset.inactive === 'false';
|
|
48429
48698
|
});
|
|
48430
48699
|
|
|
48431
|
-
if (
|
|
48700
|
+
if (_isActiveAll2) {
|
|
48432
48701
|
legendContainerDOMs.forEach(function (dom) {
|
|
48433
48702
|
inactiveDomAndSeries(dom, opt.inactive);
|
|
48434
48703
|
});
|
|
@@ -48465,13 +48734,35 @@ var plugins_legend_modules = {
|
|
|
48465
48734
|
}
|
|
48466
48735
|
}
|
|
48467
48736
|
|
|
48468
|
-
_this9.
|
|
48469
|
-
|
|
48470
|
-
|
|
48471
|
-
|
|
48472
|
-
|
|
48473
|
-
|
|
48737
|
+
if (((_this9$options$eventB = _this9.options.eventBehavior) === null || _this9$options$eventB === void 0 ? void 0 : _this9$options$eventB.legendClick) !== 'emitOnly') {
|
|
48738
|
+
_this9.update({
|
|
48739
|
+
updateSeries: false,
|
|
48740
|
+
updateSelTip: {
|
|
48741
|
+
update: true,
|
|
48742
|
+
keepDomain: true
|
|
48743
|
+
}
|
|
48744
|
+
});
|
|
48745
|
+
} // click-legend event 발생
|
|
48746
|
+
|
|
48747
|
+
|
|
48748
|
+
var activeSeries = series.colorState.filter(function (colorItem) {
|
|
48749
|
+
return colorItem.show;
|
|
48474
48750
|
});
|
|
48751
|
+
var activeSerieIndices = activeSeries.map(function (colorItem) {
|
|
48752
|
+
return +colorItem.id.split('#')[1];
|
|
48753
|
+
});
|
|
48754
|
+
var isActiveAll = series.colorState.length === activeSeries.length;
|
|
48755
|
+
var args = {
|
|
48756
|
+
e: e,
|
|
48757
|
+
data: {
|
|
48758
|
+
seriesIndices: isActiveAll ? [] : activeSerieIndices,
|
|
48759
|
+
isActiveAll: isActiveAll
|
|
48760
|
+
}
|
|
48761
|
+
};
|
|
48762
|
+
|
|
48763
|
+
if (typeof _this9.listeners['click-legend'] === 'function') {
|
|
48764
|
+
_this9.listeners['click-legend'](args);
|
|
48765
|
+
}
|
|
48475
48766
|
};
|
|
48476
48767
|
/**
|
|
48477
48768
|
* callback for mouseleave event on legendBoxDOM
|
|
@@ -50002,6 +50293,7 @@ var plugins_scrollbar_module = {
|
|
|
50002
50293
|
Object.keys(merged).forEach(function (key) {
|
|
50003
50294
|
scrollbarOpt[key] = merged[key];
|
|
50004
50295
|
});
|
|
50296
|
+
delete scrollbarOpt.savedPosition;
|
|
50005
50297
|
|
|
50006
50298
|
if (!scrollbarOpt.isInit) {
|
|
50007
50299
|
var _axisOpt$2, _axisOpt$3, _axisOpt$3$range, _axisOpt$4;
|
|
@@ -50064,14 +50356,6 @@ var plugins_scrollbar_module = {
|
|
|
50064
50356
|
}
|
|
50065
50357
|
},
|
|
50066
50358
|
|
|
50067
|
-
/**
|
|
50068
|
-
* update scrollbar information
|
|
50069
|
-
*/
|
|
50070
|
-
updateScrollbar: function updateScrollbar(updateData) {
|
|
50071
|
-
this.updateScrollbarInfo('x', updateData);
|
|
50072
|
-
this.updateScrollbarInfo('y', updateData);
|
|
50073
|
-
},
|
|
50074
|
-
|
|
50075
50359
|
/**
|
|
50076
50360
|
* Updated scrollbar information with updated axis information
|
|
50077
50361
|
* @param dir axis direction (x | y)
|
|
@@ -50459,7 +50743,6 @@ var plugins_scrollbar_module = {
|
|
|
50459
50743
|
update: false,
|
|
50460
50744
|
keepDomain: false
|
|
50461
50745
|
},
|
|
50462
|
-
updateByScrollbar: true,
|
|
50463
50746
|
lightUpdate: minValue > 1
|
|
50464
50747
|
});
|
|
50465
50748
|
}
|
|
@@ -52398,12 +52681,13 @@ var plugins_interaction_modules = {
|
|
|
52398
52681
|
yp = _offset[1];
|
|
52399
52682
|
|
|
52400
52683
|
var isHorizontal = !!this.options.horizontal;
|
|
52401
|
-
var mousePos = isHorizontal ? yp : xp; //
|
|
52684
|
+
var mousePos = isHorizontal ? yp : xp; // 데이터 있는 시리즈를 기준으로 라벨 위치 확인
|
|
52402
52685
|
|
|
52403
52686
|
var referenceSeries = sIds.find(function (sId) {
|
|
52404
|
-
var
|
|
52687
|
+
var _series$data;
|
|
52405
52688
|
|
|
52406
|
-
|
|
52689
|
+
var series = _this5.seriesList[sId];
|
|
52690
|
+
return (series === null || series === void 0 ? void 0 : series.show) && (series === null || series === void 0 ? void 0 : (_series$data = series.data) === null || _series$data === void 0 ? void 0 : _series$data.length) > 0;
|
|
52407
52691
|
});
|
|
52408
52692
|
|
|
52409
52693
|
if (!referenceSeries || !((_this$seriesList$refe = this.seriesList[referenceSeries]) !== null && _this$seriesList$refe !== void 0 && _this$seriesList$refe.data)) {
|
|
@@ -52452,10 +52736,10 @@ var plugins_interaction_modules = {
|
|
|
52452
52736
|
var _loop = function _loop(_i) {
|
|
52453
52737
|
// 이 라벨에 유효한 데이터가 있는 시리즈가 하나 이상 있는지 확인
|
|
52454
52738
|
var hasValidData = sIds.some(function (sId) {
|
|
52455
|
-
var _series$
|
|
52739
|
+
var _series$data2, _series$data2$_i, _series$data3, _series$data3$_i;
|
|
52456
52740
|
|
|
52457
52741
|
var series = _this5.seriesList[sId];
|
|
52458
|
-
return (series === null || series === void 0 ? void 0 : series.show) && ((_series$
|
|
52742
|
+
return (series === null || series === void 0 ? void 0 : series.show) && ((_series$data2 = series.data) === null || _series$data2 === void 0 ? void 0 : (_series$data2$_i = _series$data2[_i]) === null || _series$data2$_i === void 0 ? void 0 : _series$data2$_i.o) !== null && ((_series$data3 = series.data) === null || _series$data3 === void 0 ? void 0 : (_series$data3$_i = _series$data3[_i]) === null || _series$data3$_i === void 0 ? void 0 : _series$data3$_i.o) !== undefined;
|
|
52459
52743
|
});
|
|
52460
52744
|
|
|
52461
52745
|
if (hasValidData) {
|
|
@@ -55419,7 +55703,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55419
55703
|
_createClass(EvChart, [{
|
|
55420
55704
|
key: "init",
|
|
55421
55705
|
value: function init() {
|
|
55422
|
-
var _this$createEventFunc;
|
|
55706
|
+
var _axesX$, _axesX$$scrollbar, _axesY$, _axesY$$scrollbar, _this$createEventFunc;
|
|
55423
55707
|
|
|
55424
55708
|
var _this$data = this.data,
|
|
55425
55709
|
series = _this$data.series,
|
|
@@ -55450,6 +55734,11 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55450
55734
|
this.initRect();
|
|
55451
55735
|
this.axesX = this.createAxes('x', axesX);
|
|
55452
55736
|
this.axesY = this.createAxes('y', axesY);
|
|
55737
|
+
|
|
55738
|
+
if (axesX !== null && axesX !== void 0 && (_axesX$ = axesX[0]) !== null && _axesX$ !== void 0 && (_axesX$$scrollbar = _axesX$.scrollbar) !== null && _axesX$$scrollbar !== void 0 && _axesX$$scrollbar.use || axesY !== null && axesY !== void 0 && (_axesY$ = axesY[0]) !== null && _axesY$ !== void 0 && (_axesY$$scrollbar = _axesY$.scrollbar) !== null && _axesY$$scrollbar !== void 0 && _axesY$$scrollbar.use) {
|
|
55739
|
+
this.initScrollbar();
|
|
55740
|
+
}
|
|
55741
|
+
|
|
55453
55742
|
this.initDefaultSelectInfo();
|
|
55454
55743
|
this.drawChart();
|
|
55455
55744
|
|
|
@@ -55469,8 +55758,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55469
55758
|
}, {
|
|
55470
55759
|
key: "initRect",
|
|
55471
55760
|
value: function initRect() {
|
|
55472
|
-
var _opt$axesX, _opt$axesX$, _opt$axesX$$scrollbar, _opt$axesY, _opt$axesY$, _opt$axesY$$scrollbar;
|
|
55473
|
-
|
|
55474
55761
|
var opt = this.options;
|
|
55475
55762
|
|
|
55476
55763
|
if (opt.title.show) {
|
|
@@ -55489,10 +55776,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55489
55776
|
this.setLegendPosition();
|
|
55490
55777
|
}
|
|
55491
55778
|
|
|
55492
|
-
if ((_opt$axesX = opt.axesX) !== null && _opt$axesX !== void 0 && (_opt$axesX$ = _opt$axesX[0]) !== null && _opt$axesX$ !== void 0 && (_opt$axesX$$scrollbar = _opt$axesX$.scrollbar) !== null && _opt$axesX$$scrollbar !== void 0 && _opt$axesX$$scrollbar.use || (_opt$axesY = opt.axesY) !== null && _opt$axesY !== void 0 && (_opt$axesY$ = _opt$axesY[0]) !== null && _opt$axesY$ !== void 0 && (_opt$axesY$$scrollbar = _opt$axesY$.scrollbar) !== null && _opt$axesY$$scrollbar !== void 0 && _opt$axesY$$scrollbar.use) {
|
|
55493
|
-
this.initScrollbar();
|
|
55494
|
-
}
|
|
55495
|
-
|
|
55496
55779
|
this.chartRect = this.getChartRect();
|
|
55497
55780
|
}
|
|
55498
55781
|
}, {
|
|
@@ -55622,7 +55905,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55622
55905
|
this.drawSeries(hitInfo);
|
|
55623
55906
|
|
|
55624
55907
|
if ((_this$scrollbar = this.scrollbar) !== null && _this$scrollbar !== void 0 && (_this$scrollbar$x = _this$scrollbar.x) !== null && _this$scrollbar$x !== void 0 && _this$scrollbar$x.use || (_this$scrollbar2 = this.scrollbar) !== null && _this$scrollbar2 !== void 0 && (_this$scrollbar2$y = _this$scrollbar2.y) !== null && _this$scrollbar2$y !== void 0 && _this$scrollbar2$y.use) {
|
|
55625
|
-
this.initScrollbar();
|
|
55626
55908
|
this.updateScrollbarPosition();
|
|
55627
55909
|
}
|
|
55628
55910
|
|
|
@@ -56276,6 +56558,25 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56276
56558
|
});
|
|
56277
56559
|
return labelOffset;
|
|
56278
56560
|
}
|
|
56561
|
+
/**
|
|
56562
|
+
* Update scrollbar information
|
|
56563
|
+
* @param {boolean} updateData is update data
|
|
56564
|
+
* @returns {undefined}
|
|
56565
|
+
*/
|
|
56566
|
+
|
|
56567
|
+
}, {
|
|
56568
|
+
key: "updateScrollbar",
|
|
56569
|
+
value: function updateScrollbar(updateData) {
|
|
56570
|
+
var _this$scrollbar3, _this$scrollbar3$x, _this$options$axesX2, _this$options$axesX2$, _this$options$axesX2$2, _this$scrollbar4, _this$scrollbar4$y, _this$options$axesY2, _this$options$axesY2$, _this$options$axesY2$2;
|
|
56571
|
+
|
|
56572
|
+
if ((_this$scrollbar3 = this.scrollbar) !== null && _this$scrollbar3 !== void 0 && (_this$scrollbar3$x = _this$scrollbar3.x) !== null && _this$scrollbar3$x !== void 0 && _this$scrollbar3$x.isInit || (_this$options$axesX2 = this.options.axesX) !== null && _this$options$axesX2 !== void 0 && (_this$options$axesX2$ = _this$options$axesX2[0]) !== null && _this$options$axesX2$ !== void 0 && (_this$options$axesX2$2 = _this$options$axesX2$.scrollbar) !== null && _this$options$axesX2$2 !== void 0 && _this$options$axesX2$2.use) {
|
|
56573
|
+
this.updateScrollbarInfo('x', updateData);
|
|
56574
|
+
}
|
|
56575
|
+
|
|
56576
|
+
if ((_this$scrollbar4 = this.scrollbar) !== null && _this$scrollbar4 !== void 0 && (_this$scrollbar4$y = _this$scrollbar4.y) !== null && _this$scrollbar4$y !== void 0 && _this$scrollbar4$y.isInit || (_this$options$axesY2 = this.options.axesY) !== null && _this$options$axesY2 !== void 0 && (_this$options$axesY2$ = _this$options$axesY2[0]) !== null && _this$options$axesY2$ !== void 0 && (_this$options$axesY2$2 = _this$options$axesY2$.scrollbar) !== null && _this$options$axesY2$2 !== void 0 && _this$options$axesY2$2.use) {
|
|
56577
|
+
this.updateScrollbarInfo('y', updateData);
|
|
56578
|
+
}
|
|
56579
|
+
}
|
|
56279
56580
|
/**
|
|
56280
56581
|
* To re-render chart, reset properties, canvas and then render chart.
|
|
56281
56582
|
* @param {object} updateInfo information for each components are needed to update
|
|
@@ -56298,19 +56599,13 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56298
56599
|
updateLegend = updateInfo.updateLegend,
|
|
56299
56600
|
updateData = updateInfo.updateData,
|
|
56300
56601
|
updateTooltip = updateInfo.updateTooltip,
|
|
56301
|
-
updateByScrollbar = updateInfo.updateByScrollbar,
|
|
56302
56602
|
lightUpdate = updateInfo.lightUpdate;
|
|
56303
56603
|
|
|
56304
56604
|
if (!this.isInit) {
|
|
56305
56605
|
return;
|
|
56306
56606
|
}
|
|
56307
56607
|
|
|
56308
|
-
|
|
56309
|
-
var _this$updateScrollbar;
|
|
56310
|
-
|
|
56311
|
-
(_this$updateScrollbar = this.updateScrollbar) === null || _this$updateScrollbar === void 0 ? void 0 : _this$updateScrollbar.call(this, updateData);
|
|
56312
|
-
}
|
|
56313
|
-
|
|
56608
|
+
this.updateScrollbar(updateData);
|
|
56314
56609
|
this.resetProps();
|
|
56315
56610
|
this.updateSeries = updateSeries;
|
|
56316
56611
|
|
|
@@ -56505,22 +56800,17 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56505
56800
|
}, {
|
|
56506
56801
|
key: "resize",
|
|
56507
56802
|
value: function resize(promiseRes) {
|
|
56508
|
-
var _this$
|
|
56509
|
-
|
|
56510
|
-
// 차트 크기가 변경될 때 저장된 스크롤 픽셀 위치를 초기화하여
|
|
56511
|
-
// 새로운 크기에 맞춰 스크롤바 크기/위치를 재계산하도록 함
|
|
56512
|
-
if ((_this$scrollbar3 = this.scrollbar) !== null && _this$scrollbar3 !== void 0 && _this$scrollbar3.x) {
|
|
56513
|
-
delete this.scrollbar.x.savedPosition;
|
|
56514
|
-
}
|
|
56515
|
-
|
|
56516
|
-
if ((_this$scrollbar4 = this.scrollbar) !== null && _this$scrollbar4 !== void 0 && _this$scrollbar4.y) {
|
|
56517
|
-
delete this.scrollbar.y.savedPosition;
|
|
56518
|
-
}
|
|
56803
|
+
var _this$options$axesX3, _this$options$axesX3$, _this$options$axesX3$2, _this$options$axesY3, _this$options$axesY3$, _this$options$axesY3$2;
|
|
56519
56804
|
|
|
56520
56805
|
this.clear();
|
|
56521
56806
|
this.bufferCtx.restore();
|
|
56522
56807
|
this.bufferCtx.save();
|
|
56523
56808
|
this.initRect();
|
|
56809
|
+
|
|
56810
|
+
if ((_this$options$axesX3 = this.options.axesX) !== null && _this$options$axesX3 !== void 0 && (_this$options$axesX3$ = _this$options$axesX3[0]) !== null && _this$options$axesX3$ !== void 0 && (_this$options$axesX3$2 = _this$options$axesX3$.scrollbar) !== null && _this$options$axesX3$2 !== void 0 && _this$options$axesX3$2.use || (_this$options$axesY3 = this.options.axesY) !== null && _this$options$axesY3 !== void 0 && (_this$options$axesY3$ = _this$options$axesY3[0]) !== null && _this$options$axesY3$ !== void 0 && (_this$options$axesY3$2 = _this$options$axesY3$.scrollbar) !== null && _this$options$axesY3$2 !== void 0 && _this$options$axesY3$2.use) {
|
|
56811
|
+
this.initScrollbar();
|
|
56812
|
+
}
|
|
56813
|
+
|
|
56524
56814
|
this.initScale();
|
|
56525
56815
|
this.chartRect = this.getChartRect();
|
|
56526
56816
|
this.drawChart();
|
|
@@ -57510,7 +57800,10 @@ var DEFAULT_OPTIONS = {
|
|
|
57510
57800
|
decimalPoint: 0
|
|
57511
57801
|
},
|
|
57512
57802
|
seriesReverse: false,
|
|
57513
|
-
coordinateDedupe: true
|
|
57803
|
+
coordinateDedupe: true,
|
|
57804
|
+
eventBehavior: {
|
|
57805
|
+
legendClick: 'update'
|
|
57806
|
+
}
|
|
57514
57807
|
};
|
|
57515
57808
|
var DEFAULT_DATA = {
|
|
57516
57809
|
series: {},
|
|
@@ -57786,7 +58079,33 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
|
|
|
57786
58079
|
if (injectGroupHoveredLabel !== null && injectGroupHoveredLabel !== void 0 && injectGroupHoveredLabel.value) {
|
|
57787
58080
|
injectGroupHoveredLabel.value.label = null;
|
|
57788
58081
|
}
|
|
57789
|
-
}
|
|
58082
|
+
},
|
|
58083
|
+
'click-legend': function () {
|
|
58084
|
+
var _clickLegend = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(e) {
|
|
58085
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
58086
|
+
while (1) {
|
|
58087
|
+
switch (_context5.prev = _context5.next) {
|
|
58088
|
+
case 0:
|
|
58089
|
+
_context5.next = 2;
|
|
58090
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
|
|
58091
|
+
|
|
58092
|
+
case 2:
|
|
58093
|
+
emit('click-legend', e);
|
|
58094
|
+
|
|
58095
|
+
case 3:
|
|
58096
|
+
case "end":
|
|
58097
|
+
return _context5.stop();
|
|
58098
|
+
}
|
|
58099
|
+
}
|
|
58100
|
+
}, _callee5);
|
|
58101
|
+
}));
|
|
58102
|
+
|
|
58103
|
+
function clickLegend(_x5) {
|
|
58104
|
+
return _clickLegend.apply(this, arguments);
|
|
58105
|
+
}
|
|
58106
|
+
|
|
58107
|
+
return clickLegend;
|
|
58108
|
+
}()
|
|
57790
58109
|
};
|
|
57791
58110
|
return {
|
|
57792
58111
|
eventListeners: eventListeners,
|
|
@@ -58150,7 +58469,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
58150
58469
|
default: false
|
|
58151
58470
|
}
|
|
58152
58471
|
},
|
|
58153
|
-
emits: ['click', 'dbl-click', 'drag-select', 'mouse-move', 'update:selectedItem', 'update:selectedLabel', 'update:selectedSeries', 'update:zoomStartIdx', 'update:zoomEndIdx', 'update:realTimeScatterReset'],
|
|
58472
|
+
emits: ['click', 'dbl-click', 'drag-select', 'mouse-move', 'update:selectedItem', 'update:selectedLabel', 'update:selectedSeries', 'update:zoomStartIdx', 'update:zoomEndIdx', 'update:realTimeScatterReset', 'click-legend'],
|
|
58154
58473
|
setup: function setup(props, _ref) {
|
|
58155
58474
|
var emit = _ref.emit;
|
|
58156
58475
|
var evChart = null;
|
|
@@ -58483,8 +58802,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
58483
58802
|
});
|
|
58484
58803
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
58485
58804
|
|
|
58486
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
58487
|
-
var
|
|
58805
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=de83f53c&lang=scss
|
|
58806
|
+
var Chartvue_type_style_index_0_id_de83f53c_lang_scss = __webpack_require__("a444");
|
|
58488
58807
|
|
|
58489
58808
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
58490
58809
|
|
|
@@ -58494,7 +58813,7 @@ var Chartvue_type_style_index_0_id_24eba9c6_lang_scss = __webpack_require__("5a0
|
|
|
58494
58813
|
|
|
58495
58814
|
|
|
58496
58815
|
|
|
58497
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
58816
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_de83f53c_render]])
|
|
58498
58817
|
|
|
58499
58818
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
58500
58819
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|