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.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.153\"}");
|
|
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");
|
|
@@ -46331,12 +46350,105 @@ var scale_time_TimeScale = /*#__PURE__*/function (_Scale) {
|
|
|
46331
46350
|
|
|
46332
46351
|
return Math.ceil((max - min) / step);
|
|
46333
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
|
+
}
|
|
46334
46443
|
}]);
|
|
46335
46444
|
|
|
46336
46445
|
return TimeScale;
|
|
46337
46446
|
}(scale_scale);
|
|
46338
46447
|
|
|
46339
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
|
+
|
|
46340
46452
|
// CONCATENATED MODULE: ./src/components/chart/scale/scale.linear.js
|
|
46341
46453
|
|
|
46342
46454
|
|
|
@@ -46349,6 +46461,8 @@ var scale_time_TimeScale = /*#__PURE__*/function (_Scale) {
|
|
|
46349
46461
|
|
|
46350
46462
|
|
|
46351
46463
|
|
|
46464
|
+
|
|
46465
|
+
|
|
46352
46466
|
var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
46353
46467
|
_inherits(LinearScale, _Scale);
|
|
46354
46468
|
|
|
@@ -46371,11 +46485,16 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46371
46485
|
* @returns {string} formatted label
|
|
46372
46486
|
*/
|
|
46373
46487
|
value: function getTruthyValue(value) {
|
|
46374
|
-
|
|
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;
|
|
46375
46492
|
}
|
|
46376
46493
|
}, {
|
|
46377
46494
|
key: "getLabelFormat",
|
|
46378
46495
|
value: function getLabelFormat(value) {
|
|
46496
|
+
var _this$adjustedDecimal2;
|
|
46497
|
+
|
|
46379
46498
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46380
46499
|
|
|
46381
46500
|
if (this.formatter) {
|
|
@@ -46392,7 +46511,8 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46392
46511
|
}
|
|
46393
46512
|
}
|
|
46394
46513
|
|
|
46395
|
-
|
|
46514
|
+
var decimalPoint = (_this$adjustedDecimal2 = this.adjustedDecimalPoint) !== null && _this$adjustedDecimal2 !== void 0 ? _this$adjustedDecimal2 : this.decimalPoint;
|
|
46515
|
+
return helpers_util.labelSignFormat(value, decimalPoint);
|
|
46396
46516
|
}
|
|
46397
46517
|
/**
|
|
46398
46518
|
* Calculate interval
|
|
@@ -46419,44 +46539,164 @@ var scale_linear_LinearScale = /*#__PURE__*/function (_Scale) {
|
|
|
46419
46539
|
return Math.ceil((max - min) / step);
|
|
46420
46540
|
}
|
|
46421
46541
|
/**
|
|
46422
|
-
|
|
46423
|
-
|
|
46424
|
-
|
|
46425
|
-
|
|
46426
|
-
|
|
46427
|
-
|
|
46428
|
-
* @returns {number} decimal point
|
|
46429
|
-
*/
|
|
46542
|
+
* Get auto decimal point from interval
|
|
46543
|
+
* interval을 표현할 수 있는 최소 decimal 반환
|
|
46544
|
+
* 너무 긴 decimal은 제한
|
|
46545
|
+
* @param {number} interval
|
|
46546
|
+
* @returns {number} decimal point
|
|
46547
|
+
*/
|
|
46430
46548
|
|
|
46431
46549
|
}, {
|
|
46432
|
-
key: "
|
|
46433
|
-
value: function
|
|
46434
|
-
|
|
46435
|
-
numberOfSteps = _ref.numberOfSteps;
|
|
46436
|
-
|
|
46437
|
-
if (numberOfSteps <= 0 || graphRange === 0) {
|
|
46550
|
+
key: "getAutoDecimalPointFromInterval",
|
|
46551
|
+
value: function getAutoDecimalPointFromInterval(interval) {
|
|
46552
|
+
if (!isFinite(interval) || interval === 0) {
|
|
46438
46553
|
return 0;
|
|
46439
46554
|
}
|
|
46440
46555
|
|
|
46441
|
-
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
|
+
|
|
46574
|
+
|
|
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
|
+
*/
|
|
46442
46594
|
|
|
46443
|
-
|
|
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) {
|
|
46444
46603
|
return 0;
|
|
46445
46604
|
}
|
|
46446
46605
|
|
|
46447
|
-
var
|
|
46448
|
-
var
|
|
46606
|
+
var exponent = Math.floor(Math.log10(range));
|
|
46607
|
+
var fraction = range / Math.pow(10, exponent);
|
|
46608
|
+
var niceFraction;
|
|
46449
46609
|
|
|
46450
|
-
|
|
46451
|
-
|
|
46452
|
-
|
|
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
|
+
}
|
|
46453
46629
|
|
|
46454
|
-
|
|
46455
|
-
|
|
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);
|
|
46456
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;
|
|
46457
46691
|
}
|
|
46458
46692
|
|
|
46459
|
-
|
|
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
|
+
};
|
|
46460
46700
|
}
|
|
46461
46701
|
}]);
|
|
46462
46702
|
|
|
@@ -47590,6 +47830,7 @@ var plugins_title_modules = {
|
|
|
47590
47830
|
|
|
47591
47831
|
|
|
47592
47832
|
|
|
47833
|
+
|
|
47593
47834
|
|
|
47594
47835
|
|
|
47595
47836
|
var plugins_legend_modules = {
|
|
@@ -48127,6 +48368,8 @@ var plugins_legend_modules = {
|
|
|
48127
48368
|
|
|
48128
48369
|
|
|
48129
48370
|
this.onLegendBoxClick = function (e) {
|
|
48371
|
+
var _this8$options$eventB;
|
|
48372
|
+
|
|
48130
48373
|
var opt = _this8.options.legend;
|
|
48131
48374
|
|
|
48132
48375
|
if (opt !== null && opt !== void 0 && opt.stopClickEvt) {
|
|
@@ -48152,11 +48395,12 @@ var plugins_legend_modules = {
|
|
|
48152
48395
|
|
|
48153
48396
|
if (opt.clickMode === 'active') {
|
|
48154
48397
|
var legendContainerDOMs = Array.from(_this8.legendBoxDOM.getElementsByClassName(classList.container));
|
|
48155
|
-
|
|
48398
|
+
|
|
48399
|
+
var _isActiveAll = legendContainerDOMs.every(function (dom) {
|
|
48156
48400
|
return dom.dataset.inactive === 'false';
|
|
48157
48401
|
});
|
|
48158
48402
|
|
|
48159
|
-
if (
|
|
48403
|
+
if (_isActiveAll) {
|
|
48160
48404
|
legendContainerDOMs.forEach(function (dom) {
|
|
48161
48405
|
inactiveDomAndSeries(dom, opt.inactive);
|
|
48162
48406
|
});
|
|
@@ -48207,13 +48451,35 @@ var plugins_legend_modules = {
|
|
|
48207
48451
|
_this8.brushSeries.chartIdx = chartIdx;
|
|
48208
48452
|
}
|
|
48209
48453
|
|
|
48210
|
-
_this8.
|
|
48211
|
-
|
|
48212
|
-
|
|
48213
|
-
|
|
48214
|
-
|
|
48215
|
-
|
|
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;
|
|
48216
48467
|
});
|
|
48468
|
+
var activeSeriesIds = activeSeries.map(function (series) {
|
|
48469
|
+
return series.sId;
|
|
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
|
+
}
|
|
48217
48483
|
};
|
|
48218
48484
|
/**
|
|
48219
48485
|
* callback for mouseleave event on legendBoxDOM
|
|
@@ -48387,6 +48653,8 @@ var plugins_legend_modules = {
|
|
|
48387
48653
|
|
|
48388
48654
|
|
|
48389
48655
|
this.onLegendBoxClick = function (e) {
|
|
48656
|
+
var _this9$options$eventB;
|
|
48657
|
+
|
|
48390
48658
|
var opt = _this9.options.legend;
|
|
48391
48659
|
|
|
48392
48660
|
if (opt !== null && opt !== void 0 && opt.stopClickEvt) {
|
|
@@ -48415,11 +48683,12 @@ var plugins_legend_modules = {
|
|
|
48415
48683
|
|
|
48416
48684
|
if (opt.clickMode === 'active') {
|
|
48417
48685
|
var legendContainerDOMs = Array.from(_this9.legendBoxDOM.getElementsByClassName(classList.container));
|
|
48418
|
-
|
|
48686
|
+
|
|
48687
|
+
var _isActiveAll2 = legendContainerDOMs.every(function (dom) {
|
|
48419
48688
|
return dom.dataset.inactive === 'false';
|
|
48420
48689
|
});
|
|
48421
48690
|
|
|
48422
|
-
if (
|
|
48691
|
+
if (_isActiveAll2) {
|
|
48423
48692
|
legendContainerDOMs.forEach(function (dom) {
|
|
48424
48693
|
inactiveDomAndSeries(dom, opt.inactive);
|
|
48425
48694
|
});
|
|
@@ -48456,13 +48725,35 @@ var plugins_legend_modules = {
|
|
|
48456
48725
|
}
|
|
48457
48726
|
}
|
|
48458
48727
|
|
|
48459
|
-
_this9.
|
|
48460
|
-
|
|
48461
|
-
|
|
48462
|
-
|
|
48463
|
-
|
|
48464
|
-
|
|
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;
|
|
48465
48741
|
});
|
|
48742
|
+
var activeSerieIndices = activeSeries.map(function (colorItem) {
|
|
48743
|
+
return +colorItem.id.split('#')[1];
|
|
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
|
+
}
|
|
48466
48757
|
};
|
|
48467
48758
|
/**
|
|
48468
48759
|
* callback for mouseleave event on legendBoxDOM
|
|
@@ -49993,6 +50284,7 @@ var plugins_scrollbar_module = {
|
|
|
49993
50284
|
Object.keys(merged).forEach(function (key) {
|
|
49994
50285
|
scrollbarOpt[key] = merged[key];
|
|
49995
50286
|
});
|
|
50287
|
+
delete scrollbarOpt.savedPosition;
|
|
49996
50288
|
|
|
49997
50289
|
if (!scrollbarOpt.isInit) {
|
|
49998
50290
|
var _axisOpt$2, _axisOpt$3, _axisOpt$3$range, _axisOpt$4;
|
|
@@ -50055,14 +50347,6 @@ var plugins_scrollbar_module = {
|
|
|
50055
50347
|
}
|
|
50056
50348
|
},
|
|
50057
50349
|
|
|
50058
|
-
/**
|
|
50059
|
-
* update scrollbar information
|
|
50060
|
-
*/
|
|
50061
|
-
updateScrollbar: function updateScrollbar(updateData) {
|
|
50062
|
-
this.updateScrollbarInfo('x', updateData);
|
|
50063
|
-
this.updateScrollbarInfo('y', updateData);
|
|
50064
|
-
},
|
|
50065
|
-
|
|
50066
50350
|
/**
|
|
50067
50351
|
* Updated scrollbar information with updated axis information
|
|
50068
50352
|
* @param dir axis direction (x | y)
|
|
@@ -50450,7 +50734,6 @@ var plugins_scrollbar_module = {
|
|
|
50450
50734
|
update: false,
|
|
50451
50735
|
keepDomain: false
|
|
50452
50736
|
},
|
|
50453
|
-
updateByScrollbar: true,
|
|
50454
50737
|
lightUpdate: minValue > 1
|
|
50455
50738
|
});
|
|
50456
50739
|
}
|
|
@@ -52389,12 +52672,13 @@ var plugins_interaction_modules = {
|
|
|
52389
52672
|
yp = _offset[1];
|
|
52390
52673
|
|
|
52391
52674
|
var isHorizontal = !!this.options.horizontal;
|
|
52392
|
-
var mousePos = isHorizontal ? yp : xp; //
|
|
52675
|
+
var mousePos = isHorizontal ? yp : xp; // 데이터 있는 시리즈를 기준으로 라벨 위치 확인
|
|
52393
52676
|
|
|
52394
52677
|
var referenceSeries = sIds.find(function (sId) {
|
|
52395
|
-
var
|
|
52678
|
+
var _series$data;
|
|
52396
52679
|
|
|
52397
|
-
|
|
52680
|
+
var series = _this5.seriesList[sId];
|
|
52681
|
+
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;
|
|
52398
52682
|
});
|
|
52399
52683
|
|
|
52400
52684
|
if (!referenceSeries || !((_this$seriesList$refe = this.seriesList[referenceSeries]) !== null && _this$seriesList$refe !== void 0 && _this$seriesList$refe.data)) {
|
|
@@ -52443,10 +52727,10 @@ var plugins_interaction_modules = {
|
|
|
52443
52727
|
var _loop = function _loop(_i) {
|
|
52444
52728
|
// 이 라벨에 유효한 데이터가 있는 시리즈가 하나 이상 있는지 확인
|
|
52445
52729
|
var hasValidData = sIds.some(function (sId) {
|
|
52446
|
-
var _series$
|
|
52730
|
+
var _series$data2, _series$data2$_i, _series$data3, _series$data3$_i;
|
|
52447
52731
|
|
|
52448
52732
|
var series = _this5.seriesList[sId];
|
|
52449
|
-
return (series === null || series === void 0 ? void 0 : series.show) && ((_series$
|
|
52733
|
+
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;
|
|
52450
52734
|
});
|
|
52451
52735
|
|
|
52452
52736
|
if (hasValidData) {
|
|
@@ -55410,7 +55694,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55410
55694
|
_createClass(EvChart, [{
|
|
55411
55695
|
key: "init",
|
|
55412
55696
|
value: function init() {
|
|
55413
|
-
var _this$createEventFunc;
|
|
55697
|
+
var _axesX$, _axesX$$scrollbar, _axesY$, _axesY$$scrollbar, _this$createEventFunc;
|
|
55414
55698
|
|
|
55415
55699
|
var _this$data = this.data,
|
|
55416
55700
|
series = _this$data.series,
|
|
@@ -55441,6 +55725,11 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55441
55725
|
this.initRect();
|
|
55442
55726
|
this.axesX = this.createAxes('x', axesX);
|
|
55443
55727
|
this.axesY = this.createAxes('y', axesY);
|
|
55728
|
+
|
|
55729
|
+
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) {
|
|
55730
|
+
this.initScrollbar();
|
|
55731
|
+
}
|
|
55732
|
+
|
|
55444
55733
|
this.initDefaultSelectInfo();
|
|
55445
55734
|
this.drawChart();
|
|
55446
55735
|
|
|
@@ -55460,8 +55749,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55460
55749
|
}, {
|
|
55461
55750
|
key: "initRect",
|
|
55462
55751
|
value: function initRect() {
|
|
55463
|
-
var _opt$axesX, _opt$axesX$, _opt$axesX$$scrollbar, _opt$axesY, _opt$axesY$, _opt$axesY$$scrollbar;
|
|
55464
|
-
|
|
55465
55752
|
var opt = this.options;
|
|
55466
55753
|
|
|
55467
55754
|
if (opt.title.show) {
|
|
@@ -55480,10 +55767,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55480
55767
|
this.setLegendPosition();
|
|
55481
55768
|
}
|
|
55482
55769
|
|
|
55483
|
-
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) {
|
|
55484
|
-
this.initScrollbar();
|
|
55485
|
-
}
|
|
55486
|
-
|
|
55487
55770
|
this.chartRect = this.getChartRect();
|
|
55488
55771
|
}
|
|
55489
55772
|
}, {
|
|
@@ -55613,7 +55896,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
55613
55896
|
this.drawSeries(hitInfo);
|
|
55614
55897
|
|
|
55615
55898
|
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) {
|
|
55616
|
-
this.initScrollbar();
|
|
55617
55899
|
this.updateScrollbarPosition();
|
|
55618
55900
|
}
|
|
55619
55901
|
|
|
@@ -56267,6 +56549,25 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56267
56549
|
});
|
|
56268
56550
|
return labelOffset;
|
|
56269
56551
|
}
|
|
56552
|
+
/**
|
|
56553
|
+
* Update scrollbar information
|
|
56554
|
+
* @param {boolean} updateData is update data
|
|
56555
|
+
* @returns {undefined}
|
|
56556
|
+
*/
|
|
56557
|
+
|
|
56558
|
+
}, {
|
|
56559
|
+
key: "updateScrollbar",
|
|
56560
|
+
value: function updateScrollbar(updateData) {
|
|
56561
|
+
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;
|
|
56562
|
+
|
|
56563
|
+
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) {
|
|
56564
|
+
this.updateScrollbarInfo('x', updateData);
|
|
56565
|
+
}
|
|
56566
|
+
|
|
56567
|
+
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) {
|
|
56568
|
+
this.updateScrollbarInfo('y', updateData);
|
|
56569
|
+
}
|
|
56570
|
+
}
|
|
56270
56571
|
/**
|
|
56271
56572
|
* To re-render chart, reset properties, canvas and then render chart.
|
|
56272
56573
|
* @param {object} updateInfo information for each components are needed to update
|
|
@@ -56289,19 +56590,13 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56289
56590
|
updateLegend = updateInfo.updateLegend,
|
|
56290
56591
|
updateData = updateInfo.updateData,
|
|
56291
56592
|
updateTooltip = updateInfo.updateTooltip,
|
|
56292
|
-
updateByScrollbar = updateInfo.updateByScrollbar,
|
|
56293
56593
|
lightUpdate = updateInfo.lightUpdate;
|
|
56294
56594
|
|
|
56295
56595
|
if (!this.isInit) {
|
|
56296
56596
|
return;
|
|
56297
56597
|
}
|
|
56298
56598
|
|
|
56299
|
-
|
|
56300
|
-
var _this$updateScrollbar;
|
|
56301
|
-
|
|
56302
|
-
(_this$updateScrollbar = this.updateScrollbar) === null || _this$updateScrollbar === void 0 ? void 0 : _this$updateScrollbar.call(this, updateData);
|
|
56303
|
-
}
|
|
56304
|
-
|
|
56599
|
+
this.updateScrollbar(updateData);
|
|
56305
56600
|
this.resetProps();
|
|
56306
56601
|
this.updateSeries = updateSeries;
|
|
56307
56602
|
|
|
@@ -56496,22 +56791,17 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56496
56791
|
}, {
|
|
56497
56792
|
key: "resize",
|
|
56498
56793
|
value: function resize(promiseRes) {
|
|
56499
|
-
var _this$
|
|
56500
|
-
|
|
56501
|
-
// 차트 크기가 변경될 때 저장된 스크롤 픽셀 위치를 초기화하여
|
|
56502
|
-
// 새로운 크기에 맞춰 스크롤바 크기/위치를 재계산하도록 함
|
|
56503
|
-
if ((_this$scrollbar3 = this.scrollbar) !== null && _this$scrollbar3 !== void 0 && _this$scrollbar3.x) {
|
|
56504
|
-
delete this.scrollbar.x.savedPosition;
|
|
56505
|
-
}
|
|
56506
|
-
|
|
56507
|
-
if ((_this$scrollbar4 = this.scrollbar) !== null && _this$scrollbar4 !== void 0 && _this$scrollbar4.y) {
|
|
56508
|
-
delete this.scrollbar.y.savedPosition;
|
|
56509
|
-
}
|
|
56794
|
+
var _this$options$axesX3, _this$options$axesX3$, _this$options$axesX3$2, _this$options$axesY3, _this$options$axesY3$, _this$options$axesY3$2;
|
|
56510
56795
|
|
|
56511
56796
|
this.clear();
|
|
56512
56797
|
this.bufferCtx.restore();
|
|
56513
56798
|
this.bufferCtx.save();
|
|
56514
56799
|
this.initRect();
|
|
56800
|
+
|
|
56801
|
+
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) {
|
|
56802
|
+
this.initScrollbar();
|
|
56803
|
+
}
|
|
56804
|
+
|
|
56515
56805
|
this.initScale();
|
|
56516
56806
|
this.chartRect = this.getChartRect();
|
|
56517
56807
|
this.drawChart();
|
|
@@ -57501,7 +57791,10 @@ var DEFAULT_OPTIONS = {
|
|
|
57501
57791
|
decimalPoint: 0
|
|
57502
57792
|
},
|
|
57503
57793
|
seriesReverse: false,
|
|
57504
|
-
coordinateDedupe: true
|
|
57794
|
+
coordinateDedupe: true,
|
|
57795
|
+
eventBehavior: {
|
|
57796
|
+
legendClick: 'update'
|
|
57797
|
+
}
|
|
57505
57798
|
};
|
|
57506
57799
|
var DEFAULT_DATA = {
|
|
57507
57800
|
series: {},
|
|
@@ -57777,7 +58070,33 @@ var chart_uses_useModel = function useModel(injectGroupSelectedLabel, injectGrou
|
|
|
57777
58070
|
if (injectGroupHoveredLabel !== null && injectGroupHoveredLabel !== void 0 && injectGroupHoveredLabel.value) {
|
|
57778
58071
|
injectGroupHoveredLabel.value.label = null;
|
|
57779
58072
|
}
|
|
57780
|
-
}
|
|
58073
|
+
},
|
|
58074
|
+
'click-legend': function () {
|
|
58075
|
+
var _clickLegend = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(e) {
|
|
58076
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
58077
|
+
while (1) {
|
|
58078
|
+
switch (_context5.prev = _context5.next) {
|
|
58079
|
+
case 0:
|
|
58080
|
+
_context5.next = 2;
|
|
58081
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
|
|
58082
|
+
|
|
58083
|
+
case 2:
|
|
58084
|
+
emit('click-legend', e);
|
|
58085
|
+
|
|
58086
|
+
case 3:
|
|
58087
|
+
case "end":
|
|
58088
|
+
return _context5.stop();
|
|
58089
|
+
}
|
|
58090
|
+
}
|
|
58091
|
+
}, _callee5);
|
|
58092
|
+
}));
|
|
58093
|
+
|
|
58094
|
+
function clickLegend(_x5) {
|
|
58095
|
+
return _clickLegend.apply(this, arguments);
|
|
58096
|
+
}
|
|
58097
|
+
|
|
58098
|
+
return clickLegend;
|
|
58099
|
+
}()
|
|
57781
58100
|
};
|
|
57782
58101
|
return {
|
|
57783
58102
|
eventListeners: eventListeners,
|
|
@@ -58141,7 +58460,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
58141
58460
|
default: false
|
|
58142
58461
|
}
|
|
58143
58462
|
},
|
|
58144
|
-
emits: ['click', 'dbl-click', 'drag-select', 'mouse-move', 'update:selectedItem', 'update:selectedLabel', 'update:selectedSeries', 'update:zoomStartIdx', 'update:zoomEndIdx', 'update:realTimeScatterReset'],
|
|
58463
|
+
emits: ['click', 'dbl-click', 'drag-select', 'mouse-move', 'update:selectedItem', 'update:selectedLabel', 'update:selectedSeries', 'update:zoomStartIdx', 'update:zoomEndIdx', 'update:realTimeScatterReset', 'click-legend'],
|
|
58145
58464
|
setup: function setup(props, _ref) {
|
|
58146
58465
|
var emit = _ref.emit;
|
|
58147
58466
|
var evChart = null;
|
|
@@ -58474,8 +58793,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
58474
58793
|
});
|
|
58475
58794
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
58476
58795
|
|
|
58477
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
58478
|
-
var
|
|
58796
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=de83f53c&lang=scss
|
|
58797
|
+
var Chartvue_type_style_index_0_id_de83f53c_lang_scss = __webpack_require__("a444");
|
|
58479
58798
|
|
|
58480
58799
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
58481
58800
|
|
|
@@ -58485,7 +58804,7 @@ var Chartvue_type_style_index_0_id_24eba9c6_lang_scss = __webpack_require__("5a0
|
|
|
58485
58804
|
|
|
58486
58805
|
|
|
58487
58806
|
|
|
58488
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
58807
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_de83f53c_render]])
|
|
58489
58808
|
|
|
58490
58809
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
58491
58810
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|