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.umd.js
CHANGED
|
@@ -4883,13 +4883,16 @@ module.exports = function (it) {
|
|
|
4883
4883
|
|
|
4884
4884
|
/***/ }),
|
|
4885
4885
|
|
|
4886
|
-
/***/ "
|
|
4887
|
-
/***/ (function(module,
|
|
4886
|
+
/***/ "36b6":
|
|
4887
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4888
4888
|
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4889
|
+
// Imports
|
|
4890
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4891
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4892
|
+
// Module
|
|
4893
|
+
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}", ""]);
|
|
4894
|
+
// Exports
|
|
4895
|
+
module.exports = exports;
|
|
4893
4896
|
|
|
4894
4897
|
|
|
4895
4898
|
/***/ }),
|
|
@@ -6092,21 +6095,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
6092
6095
|
};
|
|
6093
6096
|
|
|
6094
6097
|
|
|
6095
|
-
/***/ }),
|
|
6096
|
-
|
|
6097
|
-
/***/ "57a8":
|
|
6098
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6099
|
-
|
|
6100
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6101
|
-
|
|
6102
|
-
// load the styles
|
|
6103
|
-
var content = __webpack_require__("bd7d");
|
|
6104
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6105
|
-
if(content.locals) module.exports = content.locals;
|
|
6106
|
-
// add the styles to the DOM
|
|
6107
|
-
var add = __webpack_require__("499e").default
|
|
6108
|
-
var update = add("41700f82", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6109
|
-
|
|
6110
6098
|
/***/ }),
|
|
6111
6099
|
|
|
6112
6100
|
/***/ "5899":
|
|
@@ -6694,6 +6682,17 @@ module.exports = function (originalArray, length) {
|
|
|
6694
6682
|
};
|
|
6695
6683
|
|
|
6696
6684
|
|
|
6685
|
+
/***/ }),
|
|
6686
|
+
|
|
6687
|
+
/***/ "6705":
|
|
6688
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6689
|
+
|
|
6690
|
+
"use strict";
|
|
6691
|
+
/* 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");
|
|
6692
|
+
/* 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__);
|
|
6693
|
+
/* unused harmony reexport * */
|
|
6694
|
+
|
|
6695
|
+
|
|
6697
6696
|
/***/ }),
|
|
6698
6697
|
|
|
6699
6698
|
/***/ "67cc":
|
|
@@ -7815,7 +7814,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7815
7814
|
/***/ "9224":
|
|
7816
7815
|
/***/ (function(module) {
|
|
7817
7816
|
|
|
7818
|
-
module.exports = JSON.parse("{\"a\":\"3.1.
|
|
7817
|
+
module.exports = JSON.parse("{\"a\":\"3.1.48\"}");
|
|
7819
7818
|
|
|
7820
7819
|
/***/ }),
|
|
7821
7820
|
|
|
@@ -10171,20 +10170,6 @@ module.exports = !fails(function () {
|
|
|
10171
10170
|
});
|
|
10172
10171
|
|
|
10173
10172
|
|
|
10174
|
-
/***/ }),
|
|
10175
|
-
|
|
10176
|
-
/***/ "bd7d":
|
|
10177
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10178
|
-
|
|
10179
|
-
// Imports
|
|
10180
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
10181
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
10182
|
-
// Module
|
|
10183
|
-
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}", ""]);
|
|
10184
|
-
// Exports
|
|
10185
|
-
module.exports = exports;
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
10173
|
/***/ }),
|
|
10189
10174
|
|
|
10190
10175
|
/***/ "c04e":
|
|
@@ -11598,6 +11583,21 @@ var update = add("285ed61d", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
11598
11583
|
|
|
11599
11584
|
/***/ }),
|
|
11600
11585
|
|
|
11586
|
+
/***/ "e665":
|
|
11587
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11588
|
+
|
|
11589
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
11590
|
+
|
|
11591
|
+
// load the styles
|
|
11592
|
+
var content = __webpack_require__("36b6");
|
|
11593
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
11594
|
+
if(content.locals) module.exports = content.locals;
|
|
11595
|
+
// add the styles to the DOM
|
|
11596
|
+
var add = __webpack_require__("499e").default
|
|
11597
|
+
var update = add("e19e9116", content, true, {"sourceMap":false,"shadowMode":false});
|
|
11598
|
+
|
|
11599
|
+
/***/ }),
|
|
11600
|
+
|
|
11601
11601
|
/***/ "e667":
|
|
11602
11602
|
/***/ (function(module, exports) {
|
|
11603
11603
|
|
|
@@ -21611,6 +21611,7 @@ var uses_useShortcuts = function useShortcuts(param) {
|
|
|
21611
21611
|
}
|
|
21612
21612
|
|
|
21613
21613
|
clearShortcuts();
|
|
21614
|
+
activeShortcut(targetKey);
|
|
21614
21615
|
};
|
|
21615
21616
|
|
|
21616
21617
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
@@ -29258,9 +29259,9 @@ Grid.install = function (app) {
|
|
|
29258
29259
|
};
|
|
29259
29260
|
|
|
29260
29261
|
/* harmony default export */ var grid = (Grid);
|
|
29261
|
-
// 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=
|
|
29262
|
+
// 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
|
|
29262
29263
|
|
|
29263
|
-
function
|
|
29264
|
+
function Chartvue_type_template_id_6e6e2a6c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29264
29265
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
29265
29266
|
|
|
29266
29267
|
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", {
|
|
@@ -29269,7 +29270,7 @@ function Chartvue_type_template_id_195b5cf0_render(_ctx, _cache, $props, $setup,
|
|
|
29269
29270
|
class: "ev-chart"
|
|
29270
29271
|
}, null, 4)), [[_directive_resize, $setup.onResize]]);
|
|
29271
29272
|
}
|
|
29272
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
29273
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=6e6e2a6c
|
|
29273
29274
|
|
|
29274
29275
|
// CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
|
|
29275
29276
|
/**
|
|
@@ -30614,7 +30615,7 @@ var modules = {
|
|
|
30614
30615
|
|
|
30615
30616
|
if (series && sData) {
|
|
30616
30617
|
if (series.isExistGrp && series.stackIndex) {
|
|
30617
|
-
series.data = _this.addSeriesStackDS(sData, label, series
|
|
30618
|
+
series.data = _this.addSeriesStackDS(sData, label, series);
|
|
30618
30619
|
} else {
|
|
30619
30620
|
series.data = _this.addSeriesDS(sData, label);
|
|
30620
30621
|
}
|
|
@@ -30834,15 +30835,15 @@ var modules = {
|
|
|
30834
30835
|
* Take data and label to create stack data for each series
|
|
30835
30836
|
* @param {object} data chart series info
|
|
30836
30837
|
* @param {object} label chart label
|
|
30837
|
-
* @param {
|
|
30838
|
-
* @param {number} sIdx series ordered index
|
|
30838
|
+
* @param {object} series series Information
|
|
30839
30839
|
*
|
|
30840
30840
|
* @returns {array} data for each series
|
|
30841
30841
|
*/
|
|
30842
|
-
addSeriesStackDS: function addSeriesStackDS(data, label,
|
|
30842
|
+
addSeriesStackDS: function addSeriesStackDS(data, label, series) {
|
|
30843
30843
|
var _this3 = this;
|
|
30844
30844
|
|
|
30845
|
-
var
|
|
30845
|
+
var bsIds = series.bsIds; // stacked base data ID List
|
|
30846
|
+
|
|
30846
30847
|
var isHorizontal = this.options.horizontal;
|
|
30847
30848
|
var sdata = [];
|
|
30848
30849
|
|
|
@@ -30865,6 +30866,10 @@ var modules = {
|
|
|
30865
30866
|
};
|
|
30866
30867
|
|
|
30867
30868
|
data.forEach(function (curr, index) {
|
|
30869
|
+
var stackIndex = series.stackIndex,
|
|
30870
|
+
isShowSeries = series.show;
|
|
30871
|
+
var isTop = true; // is top position on stack (Stacked or not, default is true)
|
|
30872
|
+
|
|
30868
30873
|
var baseIndex = bsIds.length - 1 < 0 ? 0 : bsIds.length - 1;
|
|
30869
30874
|
var bdata = getBaseDataPosition(baseIndex, index); // base(previous) series data
|
|
30870
30875
|
|
|
@@ -30884,7 +30889,7 @@ var modules = {
|
|
|
30884
30889
|
|
|
30885
30890
|
var oData = (_odata$value = (_odata = odata) === null || _odata === void 0 ? void 0 : _odata.value) !== null && _odata$value !== void 0 ? _odata$value : odata;
|
|
30886
30891
|
|
|
30887
|
-
if (
|
|
30892
|
+
if (stackIndex > 0) {
|
|
30888
30893
|
if (oData != null) {
|
|
30889
30894
|
gdata = bdata + oData;
|
|
30890
30895
|
} else {
|
|
@@ -30896,7 +30901,14 @@ var modules = {
|
|
|
30896
30901
|
gdata = oData;
|
|
30897
30902
|
}
|
|
30898
30903
|
|
|
30899
|
-
|
|
30904
|
+
if (gdata && isShowSeries) {
|
|
30905
|
+
for (var idx = baseIndex; idx > -1; idx--) {
|
|
30906
|
+
var prevSeriesData = _this3.seriesList[bsIds[idx]];
|
|
30907
|
+
prevSeriesData.data[index].isTop = false;
|
|
30908
|
+
}
|
|
30909
|
+
}
|
|
30910
|
+
|
|
30911
|
+
sdata.push(_this3.addData(gdata, ldata, odata, bdata, isTop));
|
|
30900
30912
|
}
|
|
30901
30913
|
});
|
|
30902
30914
|
return sdata;
|
|
@@ -30936,17 +30948,16 @@ var modules = {
|
|
|
30936
30948
|
* @param {object} ldata label data (x-axis value for vertical chart)
|
|
30937
30949
|
* @param {object} odata original data (without stacked value)
|
|
30938
30950
|
* @param {object} bdata base data (stacked value)
|
|
30951
|
+
* @param {boolean} isTop is top position on stack (Stacked or not, default is true)
|
|
30939
30952
|
* @returns {object} data for each graph point
|
|
30940
30953
|
*/
|
|
30941
30954
|
addData: function addData(gdata, ldata) {
|
|
30942
|
-
var _gdata$value, _odata$value2, _gdata$color;
|
|
30943
|
-
|
|
30944
30955
|
var odata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
30945
30956
|
var bdata = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
30957
|
+
var isTop = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
30946
30958
|
var data;
|
|
30947
|
-
var gdataValue = (
|
|
30948
|
-
var odataValue = (
|
|
30949
|
-
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;
|
|
30959
|
+
var gdataValue = Object.hasOwnProperty.call(gdata, 'value') ? gdata.value : gdata;
|
|
30960
|
+
var odataValue = Object.hasOwnProperty.call(gdata, 'value') ? odata.value : odata;
|
|
30950
30961
|
|
|
30951
30962
|
if (this.options.horizontal) {
|
|
30952
30963
|
data = {
|
|
@@ -30968,7 +30979,10 @@ var modules = {
|
|
|
30968
30979
|
data.yp = null;
|
|
30969
30980
|
data.w = null;
|
|
30970
30981
|
data.h = null;
|
|
30971
|
-
data.
|
|
30982
|
+
data.isTop = isTop;
|
|
30983
|
+
var gDataColor = Object.hasOwnProperty.call(gdata, 'color') ? gdata.color : null;
|
|
30984
|
+
var oDataColor = Object.hasOwnProperty.call(odata, 'color') ? odata.color : null;
|
|
30985
|
+
data.dataColor = gDataColor !== null && gDataColor !== void 0 ? gDataColor : oDataColor;
|
|
30972
30986
|
return data;
|
|
30973
30987
|
},
|
|
30974
30988
|
|
|
@@ -32531,7 +32545,7 @@ var TIME_INTERVALS = {
|
|
|
32531
32545
|
calculateX: function calculateX(value, min, max, area) {
|
|
32532
32546
|
var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
32533
32547
|
|
|
32534
|
-
if (value === null) {
|
|
32548
|
+
if (value === null || value === undefined) {
|
|
32535
32549
|
return null;
|
|
32536
32550
|
}
|
|
32537
32551
|
|
|
@@ -32556,7 +32570,7 @@ var TIME_INTERVALS = {
|
|
|
32556
32570
|
calculateSubX: function calculateSubX(value, min, max, area) {
|
|
32557
32571
|
var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
32558
32572
|
|
|
32559
|
-
if (value === null) {
|
|
32573
|
+
if (value === null || value === undefined) {
|
|
32560
32574
|
return null;
|
|
32561
32575
|
}
|
|
32562
32576
|
|
|
@@ -32578,7 +32592,7 @@ var TIME_INTERVALS = {
|
|
|
32578
32592
|
var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
32579
32593
|
var calcY;
|
|
32580
32594
|
|
|
32581
|
-
if (value === null) {
|
|
32595
|
+
if (value === null || value === undefined) {
|
|
32582
32596
|
return null;
|
|
32583
32597
|
}
|
|
32584
32598
|
|
|
@@ -33504,7 +33518,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33504
33518
|
y: y,
|
|
33505
33519
|
w: w,
|
|
33506
33520
|
h: h
|
|
33507
|
-
}
|
|
33521
|
+
},
|
|
33522
|
+
isTop: item.isTop
|
|
33508
33523
|
});
|
|
33509
33524
|
|
|
33510
33525
|
if (showValue.use) {
|
|
@@ -33576,7 +33591,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33576
33591
|
y: y,
|
|
33577
33592
|
w: w,
|
|
33578
33593
|
h: this.isHorizontal ? -h : h
|
|
33579
|
-
}
|
|
33594
|
+
},
|
|
33595
|
+
isTop: item.data.isTop
|
|
33580
33596
|
});
|
|
33581
33597
|
|
|
33582
33598
|
if (showValue.use) {
|
|
@@ -33810,7 +33826,8 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33810
33826
|
key: "drawBar",
|
|
33811
33827
|
value: function drawBar(_ref2) {
|
|
33812
33828
|
var ctx = _ref2.ctx,
|
|
33813
|
-
positions = _ref2.positions
|
|
33829
|
+
positions = _ref2.positions,
|
|
33830
|
+
isTop = _ref2.isTop;
|
|
33814
33831
|
var isHorizontal = this.isHorizontal;
|
|
33815
33832
|
var isStackBar = ('stackIndex' in this);
|
|
33816
33833
|
var isBorderRadius = this.borderRadius && this.borderRadius > 0;
|
|
@@ -33823,7 +33840,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
33823
33840
|
return;
|
|
33824
33841
|
}
|
|
33825
33842
|
|
|
33826
|
-
if (isBorderRadius &&
|
|
33843
|
+
if (!isStackBar && isBorderRadius || isStackBar && isBorderRadius && isTop) {
|
|
33827
33844
|
try {
|
|
33828
33845
|
this.drawRoundedRect(ctx, positions);
|
|
33829
33846
|
} catch (e) {
|
|
@@ -39124,7 +39141,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
39124
39141
|
pos: null,
|
|
39125
39142
|
value: null
|
|
39126
39143
|
};
|
|
39127
|
-
this.createSeriesSet(series, options.type);
|
|
39144
|
+
this.createSeriesSet(series, options.type, options.horizontal);
|
|
39128
39145
|
|
|
39129
39146
|
if (this.legendDOM) {
|
|
39130
39147
|
this.resetLegend();
|
|
@@ -39643,7 +39660,7 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
39643
39660
|
return props.data;
|
|
39644
39661
|
}, function (chartData) {
|
|
39645
39662
|
var newData = getNormalizedData(chartData);
|
|
39646
|
-
var isUpdateSeries = !lodash_es_isEqual(newData
|
|
39663
|
+
var isUpdateSeries = !lodash_es_isEqual(newData, evChart.data);
|
|
39647
39664
|
evChart.data = lodash_es_cloneDeep(newData);
|
|
39648
39665
|
evChart.update({
|
|
39649
39666
|
updateSeries: isUpdateSeries,
|
|
@@ -39695,8 +39712,8 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
39695
39712
|
});
|
|
39696
39713
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
39697
39714
|
|
|
39698
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
39699
|
-
var
|
|
39715
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=6e6e2a6c&lang=scss
|
|
39716
|
+
var Chartvue_type_style_index_0_id_6e6e2a6c_lang_scss = __webpack_require__("6705");
|
|
39700
39717
|
|
|
39701
39718
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
39702
39719
|
|
|
@@ -39704,7 +39721,7 @@ var Chartvue_type_style_index_0_id_195b5cf0_lang_scss = __webpack_require__("35c
|
|
|
39704
39721
|
|
|
39705
39722
|
|
|
39706
39723
|
|
|
39707
|
-
Chartvue_type_script_lang_js.render =
|
|
39724
|
+
Chartvue_type_script_lang_js.render = Chartvue_type_template_id_6e6e2a6c_render
|
|
39708
39725
|
|
|
39709
39726
|
/* harmony default export */ var Chart = (Chartvue_type_script_lang_js);
|
|
39710
39727
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|