Cause of the problem: When the data is small, the coordinates of the y-axis of the echarts graph will spread the data with a decimal point to make it evenly displayed.
But the actual requirement is to count the number of emails received each month, and the decimal does not meet the actual requirements.
Add a line of code to control the minimum scale in yAxis. Reference official website: Documentation - Apache ECharts
{
minInterval: 1
}
Modified result: