evui 3.4.103 → 3.4.104
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 +6 -4
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +6 -4
- 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/scale/scale.time.category.js +5 -2
package/dist/evui.common.js
CHANGED
|
@@ -11164,7 +11164,7 @@ module.exports = exports;
|
|
|
11164
11164
|
/***/ "9224":
|
|
11165
11165
|
/***/ (function(module) {
|
|
11166
11166
|
|
|
11167
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11167
|
+
module.exports = JSON.parse("{\"a\":\"3.4.104\"}");
|
|
11168
11168
|
|
|
11169
11169
|
/***/ }),
|
|
11170
11170
|
|
|
@@ -46601,8 +46601,9 @@ var scale_time_category_TimeCategoryScale = /*#__PURE__*/function (_Scale) {
|
|
|
46601
46601
|
var axisMin = stepInfo.graphMin;
|
|
46602
46602
|
var axisMax = stepInfo.graphMax;
|
|
46603
46603
|
var stepValue = stepInfo.rawInterval;
|
|
46604
|
-
var oriSteps = stepInfo.oriSteps;
|
|
46605
|
-
|
|
46604
|
+
var oriSteps = stepInfo.oriSteps; // 2개 이하일 경우, 첫번째와 마지막 라벨만 표시
|
|
46605
|
+
|
|
46606
|
+
var count = steps <= 2 ? oriSteps : Math.round(oriSteps / steps);
|
|
46606
46607
|
var startPoint = aPos[this.units.rectStart];
|
|
46607
46608
|
var endPoint = aPos[this.units.rectEnd];
|
|
46608
46609
|
var offsetPoint = aPos[this.units.rectOffset(this.position)];
|
|
@@ -46655,8 +46656,9 @@ var scale_time_category_TimeCategoryScale = /*#__PURE__*/function (_Scale) {
|
|
|
46655
46656
|
var labelText;
|
|
46656
46657
|
var labelPoint;
|
|
46657
46658
|
var ix;
|
|
46659
|
+
var maxIndex = oriSteps === count ? oriSteps : oriSteps - 1;
|
|
46658
46660
|
|
|
46659
|
-
for (ix = 0; ix
|
|
46661
|
+
for (ix = 0; ix <= maxIndex; ix += count) {
|
|
46660
46662
|
var _this$options, _this$options$selectL, _this$options2, _this$options2$select, _selectLabelInfo$data;
|
|
46661
46663
|
|
|
46662
46664
|
ticks[ix] = dayjs_min_default()(axisMin).valueOf() + ix * stepValue;
|