When using wxcharts, an error is displayed when the y-axis values are all zero

when using wxcharts, an error is displayed when all y-axis values are 0

columnChart = new WXCharts({
    canvasId: "columnCanvas",
    type: "column",
    categories: this.workHours.categories,
    series: [{
        // data: this.workHours.data,
        data: [0, 0, 0, 0, 0, 0, 0],
        name: "",
        color: "-sharp5299F9"
    }],
    yAxis: {
        disabled: false,
        min: 0,
        gridColor: "-sharpffffff"
    },
    xAxis: {
        disableGrid: false,
        type: "calibration"
    },
    extra: {
        column: {
            width: 20
        }
    },
    animation: false,
    width: wepy.getStorageSync(SYSTEM_INFO).windowWidth,
    height: 240
});

the effect is as follows:

[0,0,0,0,0,0,1]:

how to solve this problem?

Mar.02,2021

both min and max must be set in the yAxis property


set both min and max,max to 1 in the

yAxis property, and

Y

when 0 is set.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6eda-47bd6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6eda-47bd6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?