riku
2025-07-16 c23ac06446a9a1edc41cc13723e5d0b8eabdfd63
src/utils/chart/chart-option.js
@@ -121,7 +121,7 @@
}
// 折线图
function smallLineOption(_xAxis, _series) {
function smallLineOption(_xAxis, _series, yMinInterval) {
  var fontSize = fGetChartFontSize();
  return {
    animationEasing: 'elasticOut',
@@ -137,7 +137,7 @@
      left: '12%',
      right: '2%',
      top: '7%',
      bottom: '20%'
      bottom: '30%'
    },
    legend: {
      show: false
@@ -198,7 +198,7 @@
        splitLine: {
          show: false
        },
        minInterval: 1,
        minInterval: yMinInterval ? yMinInterval : 1,
        intervel: 1,
        min: function (value) {
          return Math.floor(value.min);