evui 3.1.44 → 3.1.48
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 +81 -64
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +81 -64
- 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 +1 -1
- package/src/components/chart/chart.core.js +1 -1
- package/src/components/chart/element/element.bar.js +4 -2
- package/src/components/chart/helpers/helpers.canvas.js +3 -3
- package/src/components/chart/model/model.store.js +24 -11
- package/src/components/datePicker/uses.js +1 -0
package/dist/evui.common.js
CHANGED
|
@@ -4874,13 +4874,16 @@ module.exports = function (it) {
|
|
|
4874
4874
|
|
|
4875
4875
|
/***/ }),
|
|
4876
4876
|
|
|
4877
|
-
/***/ "
|
|
4878
|
-
/***/ (function(module,
|
|
4877
|
+
/***/ "36b6":
|
|
4878
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4879
4879
|
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4880
|
+
// Imports
|
|
4881
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4882
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4883
|
+
// Module
|
|
4884
|
+
exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.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-box{overflow-x:hidden;overflow-y:auto}.ev-chart-legend-container{position:relative;overflow:hidden}.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-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-header{padding:8px 16px 0 16px;font-family:Roboto,serif;overflow:hidden;font-size:16px}.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{overflow-x:hidden;overflow-y:hidden}", ""]);
|
|
4885
|
+
// Exports
|
|
4886
|
+
module.exports = exports;
|
|
4884
4887
|
|
|
4885
4888
|
|
|
4886
4889
|
/***/ }),
|
|
@@ -6083,21 +6086,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
6083
6086
|
};
|
|
6084
6087
|
|
|
6085
6088
|
|
|
6086
|
-
/***/ }),
|
|
6087
|
-
|
|
6088
|
-
/***/ "57a8":
|
|
6089
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6090
|
-
|
|
6091
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6092
|
-
|
|
6093
|
-
// load the styles
|
|
6094
|
-
var content = __webpack_require__("bd7d");
|
|
6095
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6096
|
-
if(content.locals) module.exports = content.locals;
|
|
6097
|
-
// add the styles to the DOM
|
|
6098
|
-
var add = __webpack_require__("499e").default
|
|
6099
|
-
var update = add("41700f82", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6100
|
-
|
|
6101
6089
|
/***/ }),
|
|
6102
6090
|
|
|
6103
6091
|
/***/ "5899":
|
|
@@ -6685,6 +6673,17 @@ module.exports = function (originalArray, length) {
|
|
|
6685
6673
|
};
|
|
6686
6674
|
|
|
6687
6675
|
|
|
6676
|
+
/***/ }),
|
|
6677
|
+
|
|
6678
|
+
/***/ "6705":
|
|
6679
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6680
|
+
|
|
6681
|
+
"use strict";
|
|
6682
|
+
/* 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_6e6e2a6c_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e665");
|
|
6683
|
+
/* 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_6e6e2a6c_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_6e6e2a6c_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
6684
|
+
/* unused harmony reexport * */
|
|
6685
|
+
|
|
6686
|
+
|
|
6688
6687
|
/***/ }),
|
|
6689
6688
|
|
|
6690
6689
|
/***/ "67cc":
|
|
@@ -7806,7 +7805,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7806
7805
|
/***/ "9224":
|
|
7807
7806
|
/***/ (function(module) {
|
|
7808
7807
|
|
|
7809
|
-
module.exports = JSON.parse("{\"a\":\"3.1.
|
|
7808
|
+
module.exports = JSON.parse("{\"a\":\"3.1.48\"}");
|
|
7810
7809
|
|
|
7811
7810
|
/***/ }),
|
|
7812
7811
|
|
|
@@ -10162,20 +10161,6 @@ module.exports = !fails(function () {
|
|
|
10162
10161
|
});
|
|
10163
10162
|
|
|
10164
10163
|
|
|
10165
|
-
/***/ }),
|
|
10166
|
-
|
|
10167
|
-
/***/ "bd7d":
|
|
10168
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10169
|
-
|
|
10170
|
-
// Imports
|
|
10171
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
10172
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
10173
|
-
// Module
|
|
10174
|
-
exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.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-box{overflow-x:hidden;overflow-y:auto}.ev-chart-legend-container{position:relative;overflow:hidden}.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-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-header{padding:8px 16px 0 16px;font-family:Roboto,serif;overflow:hidden;font-size:16px}.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{overflow-x:hidden;overflow-y:hidden}", ""]);
|
|
10175
|
-
// Exports
|
|
10176
|
-
module.exports = exports;
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
10164
|
/***/ }),
|
|
10180
10165
|
|
|
10181
10166
|
/***/ "c04e":
|
|
@@ -11589,6 +11574,21 @@ var update = add("285ed61d", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
11589
11574
|
|
|
11590
11575
|
/***/ }),
|
|
11591
11576
|
|
|
11577
|
+
/***/ "e665":
|
|
11578
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11579
|
+
|
|
11580
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
11581
|
+
|
|
11582
|
+
// load the styles
|
|
11583
|
+
var content = __webpack_require__("36b6");
|
|
11584
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
11585
|
+
if(content.locals) module.exports = content.locals;
|
|
11586
|
+
// add the styles to the DOM
|
|
11587
|
+
var add = __webpack_require__("499e").default
|
|
11588
|
+
var update = add("e19e9116", content, true, {"sourceMap":false,"shadowMode":false});
|
|
11589
|
+
|
|
11590
|
+
/***/ }),
|
|
11591
|
+
|
|
11592
11592
|
/***/ "e667":
|
|
11593
11593
|
/***/ (function(module, exports) {
|
|
11594
11594
|
|
|
@@ -21602,6 +21602,7 @@ var uses_useShortcuts = function useShortcuts(param) {
|
|
|
21602
21602
|
}
|
|
21603
21603
|
|
|
21604
21604
|
clearShortcuts();
|
|
21605
|
+
activeShortcut(targetKey);
|
|
21605
21606
|
};
|
|
21606
21607
|
|
|
21607
21608
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
@@ -29249,9 +29250,9 @@ Grid.install = function (app) {
|
|
|
29249
29250
|
};
|
|
29250
29251
|
|
|
29251
29252
|
/* harmony default export */ var grid = (Grid);
|
|
29252
|
-
// 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=
|
|
29253
|
+
// 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=6e6e2a6c
|
|
29253
29254
|
|
|
29254
|
-
function
|
|
29255
|
+
function Chartvue_type_template_id_6e6e2a6c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29255
29256
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
29256
29257
|
|
|
29257
29258
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])((Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", {
|
|
@@ -29260,7 +29261,7 @@ function Chartvue_type_template_id_195b5cf0_render(_ctx, _cache, $props, $setup,
|
|
|
29260
29261
|
class: "ev-chart"
|
|
29261
29262
|
}, null, 4)), [[_directive_resize, $setup.onResize]]);
|
|
29262
29263
|
}
|
|
29263
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
29264
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=6e6e2a6c
|
|
29264
29265
|
|
|
29265
29266
|
// CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
|
|
29266
29267
|
/**
|
|
@@ -30605,7 +30606,7 @@ var modules = {
|
|
|
30605
30606
|
|
|
30606
30607
|
if (series && sData) {
|
|
30607
30608
|
if (series.isExistGrp && series.stackIndex) {
|
|
30608
|
-
series.data = _this.addSeriesStackDS(sData, label, series
|
|
30609
|
+
series.data = _this.addSeriesStackDS(sData, label, series);
|
|
30609
30610
|
} else {
|
|
30610
30611
|
series.data = _this.addSeriesDS(sData, label);
|
|
30611
30612
|
}
|
|
@@ -30825,15 +30826,15 @@ var modules = {
|
|
|
30825
30826
|
* Take data and label to create stack data for each series
|
|
30826
30827
|
* @param {object} data chart series info
|
|
30827
30828
|
* @param {object} label chart label
|
|
30828
|
-
* @param {
|
|
30829
|
-
* @param {number} sIdx series ordered index
|
|
30829
|
+
* @param {object} series series Information
|
|
30830
30830
|
*
|
|
30831
30831
|
* @returns {array} data for each series
|
|
30832
30832
|
*/
|
|
30833
|
-
addSeriesStackDS: function addSeriesStackDS(data, label,
|
|
30833
|
+
addSeriesStackDS: function addSeriesStackDS(data, label, series) {
|
|
30834
30834
|
var _this3 = this;
|
|
30835
30835
|
|
|
30836
|
-
var
|
|
30836
|
+
var bsIds = series.bsIds; // stacked base data ID List
|
|
30837
|
+
|
|
30837
30838
|
var isHorizontal = this.options.horizontal;
|
|
30838
30839
|
var sdata = [];
|
|
30839
30840
|
|
|
@@ -30856,6 +30857,10 @@ var modules = {
|
|
|
30856
30857
|
};
|
|
30857
30858
|
|
|
30858
30859
|
data.forEach(function (curr, index) {
|
|
30860
|
+
var stackIndex = series.stackIndex,
|
|
30861
|
+
isShowSeries = series.show;
|
|
30862
|
+
var isTop = true; // is top position on stack (Stacked or not, default is true)
|
|
30863
|
+
|
|
30859
30864
|
var baseIndex = bsIds.length - 1 < 0 ? 0 : bsIds.length - 1;
|
|
30860
30865
|
var bdata = getBaseDataPosition(baseIndex, index); // base(previous) series data
|
|
30861
30866
|
|
|
@@ -30875,7 +30880,7 @@ var modules = {
|
|
|
30875
30880
|
|
|
30876
30881
|
var oData = (_odata$value = (_odata = odata) === null || _odata === void 0 ? void 0 : _odata.value) !== null && _odata$value !== void 0 ? _odata$value : odata;
|
|
30877
30882
|
|
|
30878
|
-
if (
|
|
30883
|
+
if (stackIndex > 0) {
|
|
30879
30884
|
if (oData != null) {
|
|
30880
30885
|
gdata = bdata + oData;
|
|
30881
30886
|
} else {
|
|
@@ -30887,7 +30892,14 @@ var modules = {
|
|
|
30887
30892
|
gdata = oData;
|
|
30888
30893
|
}
|
|
30889
30894
|
|
|
30890
|
-
|
|
30895
|
+
if (gdata && isShowSeries) {
|
|
30896
|
+
for (var idx = baseIndex; idx > -1; idx--) {
|
|
30897
|
+
var prevSeriesData = _this3.seriesList[bsIds[idx]];
|
|
30898
|
+
prevSeriesData.data[index].isTop = false;
|
|
30899
|
+
}
|
|
30900
|
+
}
|
|
30901
|
+
|
|
30902
|
+
sdata.push(_this3.addData(gdata, ldata, odata, bdata, isTop));
|
|
30891
30903
|
}
|
|
30892
30904
|
});
|
|
30893
30905
|
return sdata;
|
|
@@ -30927,17 +30939,16 @@ var modules = {
|
|
|
30927
30939
|
* @param {object} ldata label data (x-axis value for vertical chart)
|
|
30928
30940
|
* @param {object} odata original data (without stacked value)
|
|
30929
30941
|
* @param {object} bdata base data (stacked value)
|
|
30942
|
+
* @param {boolean} isTop is top position on stack (Stacked or not, default is true)
|
|
30930
30943
|
* @returns {object} data for each graph point
|
|
30931
30944
|
*/
|
|
30932
30945
|
addData: function addData(gdata, ldata) {
|
|
30933
|
-
var _gdata$value, _odata$value2, _gdata$color;
|
|
30934
|
-
|
|
30935
30946
|
var odata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
30936
30947
|
var bdata = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
30948
|
+
var isTop = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
30937
30949
|
var data;
|
|
30938
|
-
var gdataValue = (
|
|
30939
|
-
var odataValue = (
|
|
30940
|
-
var dataColor = (_gdata$color = gdata === null || gdata === void 0 ? void 0 : gdata.color) !== null && _gdata$color !== void 0 ? _gdata$color : odata === null || odata === void 0 ? void 0 : odata.color;
|
|
30950
|
+
var gdataValue = Object.hasOwnProperty.call(gdata, 'value') ? gdata.value : gdata;
|
|
30951
|
+
var odataValue = Object.hasOwnProperty.call(gdata, 'value') ? odata.value : odata;
|
|
30941
30952
|
|
|
30942
30953
|
if (this.options.horizontal) {
|
|
30943
30954
|
data = {
|
|
@@ -30959,7 +30970,10 @@ var modules = {
|
|
|
30959
30970
|
data.yp = null;
|
|
30960
30971
|
data.w = null;
|
|
30961
30972
|
data.h = null;
|
|
30962
|
-
data.
|
|
30973
|
+
data.isTop = isTop;
|
|
30974
|
+
var gDataColor = Object.hasOwnProperty.call(gdata, 'color') ? gdata.color : null;
|
|
30975
|
+
var oDataColor = Object.hasOwnProperty.call(odata, 'color') ? odata.color : null;
|
|
30976
|
+
data.dataColor = gDataColor !== null && gDataColor !== void 0 ? gDataColor : oDataColor;
|
|
30963
30977
|
return data;
|
|
30964
30978
|
},
|
|
30965
30979
|
|
|
@@ -32522,7 +32536,7 @@ var TIME_INTERVALS = {
|
|
|
32522
32536
|
calculateX: function calculateX(value, min, max, area) {
|
|
32523
32537
|
var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
32524
32538
|
|
|
32525
|
-
if (value === null) {
|
|
32539
|
+
if (value === null || value === undefined) {
|
|
32526
32540
|
return null;
|
|
32527
32541
|
}
|
|
32528
32542
|
|
|
@@ -32547,7 +32561,7 @@ var TIME_INTERVALS = {
|
|
|
32547
32561
|
calculateSubX: function calculateSubX(value, min, max, area) {
|
|
32548
32562
|
var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
32549
32563
|
|
|
32550
|
-
if (value === null) {
|
|
32564
|
+
if (value === null || value === undefined) {
|
|
32551
32565
|
return null;
|
|
32552
32566
|
}
|
|
32553
32567
|
|
|
@@ -32569,7 +32583,7 @@ var TIME_INTERVALS = {
|
|
|
32569
32583
|
var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
32570
32584
|
var calcY;
|
|
32571
32585
|
|
|
32572
|
-
if (value === null) {
|
|
32586
|
+
if (value === null || value === undefined) {
|
|
32573
32587
|
return null;
|
|
32574
32588
|
}
|
|
32575
32589
|
|
|
@@ -33495,7 +33509,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33495
33509
|
y: y,
|
|
33496
33510
|
w: w,
|
|
33497
33511
|
h: h
|
|
33498
|
-
}
|
|
33512
|
+
},
|
|
33513
|
+
isTop: item.isTop
|
|
33499
33514
|
});
|
|
33500
33515
|
|
|
33501
33516
|
if (showValue.use) {
|
|
@@ -33567,7 +33582,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33567
33582
|
y: y,
|
|
33568
33583
|
w: w,
|
|
33569
33584
|
h: this.isHorizontal ? -h : h
|
|
33570
|
-
}
|
|
33585
|
+
},
|
|
33586
|
+
isTop: item.data.isTop
|
|
33571
33587
|
});
|
|
33572
33588
|
|
|
33573
33589
|
if (showValue.use) {
|
|
@@ -33801,7 +33817,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33801
33817
|
key: "drawBar",
|
|
33802
33818
|
value: function drawBar(_ref2) {
|
|
33803
33819
|
var ctx = _ref2.ctx,
|
|
33804
|
-
positions = _ref2.positions
|
|
33820
|
+
positions = _ref2.positions,
|
|
33821
|
+
isTop = _ref2.isTop;
|
|
33805
33822
|
var isHorizontal = this.isHorizontal;
|
|
33806
33823
|
var isStackBar = ('stackIndex' in this);
|
|
33807
33824
|
var isBorderRadius = this.borderRadius && this.borderRadius > 0;
|
|
@@ -33814,7 +33831,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33814
33831
|
return;
|
|
33815
33832
|
}
|
|
33816
33833
|
|
|
33817
|
-
if (isBorderRadius &&
|
|
33834
|
+
if (!isStackBar && isBorderRadius || isStackBar && isBorderRadius && isTop) {
|
|
33818
33835
|
try {
|
|
33819
33836
|
this.drawRoundedRect(ctx, positions);
|
|
33820
33837
|
} catch (e) {
|
|
@@ -39115,7 +39132,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
39115
39132
|
pos: null,
|
|
39116
39133
|
value: null
|
|
39117
39134
|
};
|
|
39118
|
-
this.createSeriesSet(series, options.type);
|
|
39135
|
+
this.createSeriesSet(series, options.type, options.horizontal);
|
|
39119
39136
|
|
|
39120
39137
|
if (this.legendDOM) {
|
|
39121
39138
|
this.resetLegend();
|
|
@@ -39634,7 +39651,7 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
39634
39651
|
return props.data;
|
|
39635
39652
|
}, function (chartData) {
|
|
39636
39653
|
var newData = getNormalizedData(chartData);
|
|
39637
|
-
var isUpdateSeries = !lodash_es_isEqual(newData
|
|
39654
|
+
var isUpdateSeries = !lodash_es_isEqual(newData, evChart.data);
|
|
39638
39655
|
evChart.data = lodash_es_cloneDeep(newData);
|
|
39639
39656
|
evChart.update({
|
|
39640
39657
|
updateSeries: isUpdateSeries,
|
|
@@ -39686,8 +39703,8 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
39686
39703
|
});
|
|
39687
39704
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
39688
39705
|
|
|
39689
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
39690
|
-
var
|
|
39706
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=6e6e2a6c&lang=scss
|
|
39707
|
+
var Chartvue_type_style_index_0_id_6e6e2a6c_lang_scss = __webpack_require__("6705");
|
|
39691
39708
|
|
|
39692
39709
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
39693
39710
|
|
|
@@ -39695,7 +39712,7 @@ var Chartvue_type_style_index_0_id_195b5cf0_lang_scss = __webpack_require__("35c
|
|
|
39695
39712
|
|
|
39696
39713
|
|
|
39697
39714
|
|
|
39698
|
-
Chartvue_type_script_lang_js.render =
|
|
39715
|
+
Chartvue_type_script_lang_js.render = Chartvue_type_template_id_6e6e2a6c_render
|
|
39699
39716
|
|
|
39700
39717
|
/* harmony default export */ var Chart = (Chartvue_type_script_lang_js);
|
|
39701
39718
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|