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.
@@ -11164,7 +11164,7 @@ module.exports = exports;
11164
11164
  /***/ "9224":
11165
11165
  /***/ (function(module) {
11166
11166
 
11167
- module.exports = JSON.parse("{\"a\":\"3.4.103\"}");
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
- var count = Math.round(oriSteps / steps);
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 < oriSteps; ix += count) {
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;