Skip to content

Commit

Permalink
[#148] Fix line chart yAxis max value
Browse files Browse the repository at this point in the history
  • Loading branch information
wayangalihpratama committed Dec 11, 2023
1 parent 44cebcc commit dc294ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const getOptions = ({
axisLabel: {
formatter: (e) => thousandFormatter(e),
},
max: yAxis.max,
max: yAxis.max <= yAxisFeasibleValue ? yAxisFeasibleValue : yAxis.max,
},
series: [...series, seriesMarkArea],
};
Expand Down

0 comments on commit dc294ec

Please # to comment.