显示x轴最后一个坐标刻度时,x轴刻度分布不均匀echarts 配置项内容和展示

配置项如下
      option = {
    "title": {
        "textStyle": {
            "fontSize": 12
        }
    },
    "color": [
        "#3fb1e3",
        "#6be6c1",
        "#626c91",
        "#9fa7e6",
        "#c4ebad",
        "#96dee7",
        "#41d8c6",
        "#30c25b",
        "#facc15",
        "#e6965c",
        "#57ad71",
        "#213273",
        "#7565cc",
        "#8543df",
        "#a877ed",
        "#5b8ee6",
        "#12c2c2",
        "#70dfdf",
        "#5ba3e6",
        "#3337c6",
        "#7f82ff",
        "#dd81e6",
        "#fa7c92",
        "#d598d8",
        "#f04864"
    ],
    "legend": {
        "textStyle": {
            "rich": {
                "a": {
                    "textDecoration": "underline",
                    "padding": [
                        0,
                        3,
                        0,
                        0
                    ],
                    "color": "#20a0ff"
                },
                "drillIcon": {
                    "backgroundColor": {
                        "image": "/static/img/rightClick.png"
                    }
                }
            }
        },
        "selected": {
            "日期": true,
            "2021年": true,
            "2020年": true,
            "2019年": true,
            "预测值": true
        },
        "data": [{
                "name": "日期"
            },
            {
                "name": "2021年"
            },
            {
                "name": "2020年"
            },
            {
                "name": "2019年"
            },
            {
                "name": "预测值"
            }
        ]
    },
    "grid": {
        "containLabel": true,
        "top": "50",
        "right": 30,
        "bottom": 25,
        "left": "20"
    },
    "tooltip": {
        "trigger": "axis",
        "padding": [
            8,
            15,
            8,
            15
        ],
        "axisPointer": {
            "type": "cross",
            "label": {
                "backgroundColor": "#777"
            },
            "lineStyle": {
                "type": "dashed"
            }
        },
        "confine": true,
        "backgroundColor": "rgba(255, 255, 255, 0.8)",
        "textStyle": {
            "color": "#000"
        },
        "extraCssText": "box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); z-index:9999999;"
    },
    "xAxis": {
        "type": "category",
        "axisLabel": {
            "color": "#000",
            "showMaxLabel": true
        },
        "nameTextStyle": {
            "color": "#000"
        },
        "splitLine": {
            "show": false
        }
    },
    "yAxis": {
        "type": "value",
        "axisLabel": {
            "color": "#000"
        },
        "splitLine": {
            "show": false
        }
    },
    "series": [{
            "type": "line",
            "indexLabel": "2021年",
            "showSymbol": true,
            "symbolSize": 2,
            "smooth": true,
            "itemStyle": {
                "color": "#FF0000"
            }
        },
        {
            "type": "line",
            "indexLabel": "2020年",
            "showSymbol": true,
            "symbolSize": 2,
            "smooth": true,
            "itemStyle": {
                "color": "#3FB1E3"
            }
        },
        {
            "type": "line",
            "indexLabel": "2019年",
            "showSymbol": true,
            "symbolSize": 2,
            "smooth": true,
            "itemStyle": {
                "color": "#C1C1C1"
            }
        },
        {
            "type": "line",
            "indexLabel": "预测值",
            "showSymbol": true,
            "symbolSize": 2,
            "smooth": true,
            "itemStyle": {
                "color": "#FACC15"
            }
        }
    ],
    "dataset": {
        "source": [
            [
                "日期",
                "2021年",
                "2020年",
                "2019年",
                "预测值"
            ],
            [
                "20210101",
                "19.5578",
                "20.5089",
                "11.7303",
                ""
            ],
            [
                "20210102",
                "23.973",
                "26.8849",
                "17.0809",
                ""
            ],
            [
                "20210103",
                "26.4628",
                "27.3575",
                "17.5238",
                ""
            ],
            [
                "20210104",
                "31.4201",
                "25.7666",
                "17.3505",
                ""
            ],
            [
                "20210105",
                "32.3638",
                "23.7599",
                "16.2188",
                ""
            ],
            [
                "20210106",
                "32.9901",
                "27.3619",
                "15.3877",
                ""
            ],
            [
                "20210107",
                "33.1549",
                "28.0685",
                "17.7331",
                ""
            ],
            [
                "20210108",
                "33.9505",
                "29.6425",
                "17.9106",
                ""
            ],
            [
                "20210109",
                "32.0776",
                "29.7797",
                "17.9",
                ""
            ],
            [
                "20210110",
                "30.4336",
                "29.1586",
                "18.1622",
                ""
            ],
            [
                "20210111",
                "34.8779",
                "27.1849",
                "18.1816",
                ""
            ],
            [
                "20210112",
                "35.9671",
                "25.3113",
                "17.0661",
                ""
            ],
            [
                "20210113",
                "36.7624",
                "27.4907",
                "16.356",
                ""
            ],
            [
                "20210114",
                "37.1802",
                "26.3066",
                "18.8276",
                ""
            ],
            [
                "20210115",
                "36.6371",
                "23.8588",
                "18.9367",
                ""
            ],
            [
                "20210116",
                "33.4387",
                "20.8349",
                "18.9822",
                ""
            ],
            [
                "20210117",
                "30.8261",
                "17.3316",
                "18.8847",
                ""
            ],
            [
                "20210118",
                "34.6627",
                "13.2381",
                "18.577",
                ""
            ],
            [
                "20210119",
                "34.7374",
                "10.8152",
                "17.1436",
                ""
            ],
            [
                "20210120",
                "34.2576",
                "7.9305",
                "15.9919",
                ""
            ],
            [
                "20210121",
                "33.5132",
                "5.1569",
                "17.7042",
                ""
            ],
            [
                "20210122",
                "32.3126",
                "3.0081",
                "17.634",
                ""
            ],
            [
                "20210123",
                "29.6925",
                "1.5325",
                "17.2156",
                ""
            ],
            [
                "20210124",
                "27.3732",
                "0.7102",
                "16.5936",
                ""
            ],
            [
                "20210125",
                "31.1031",
                "0.9432",
                "15.4566",
                ""
            ],
            [
                "20210126",
                "31.1382",
                "1.7791",
                "13.1613",
                ""
            ],
            [
                "20210127",
                "30.4603",
                "2.8969",
                "11.434",
                ""
            ],
            [
                "20210128",
                "29.05",
                "3.7619",
                "11.4948",
                ""
            ],
            [
                "20210129",
                "27.2493",
                "4.4672",
                "9.814",
                ""
            ],
            [
                "20210130",
                "23.7577",
                "5.0304",
                "7.9413",
                ""
            ],
            [
                "20210131",
                "21.0405",
                "5.5267",
                "5.8616",
                ""
            ],
            [
                "20210201",
                "23.327",
                "6.0399",
                "3.9128",
                ""
            ],
            [
                "20210202",
                "22.2172",
                "6.3861",
                "2.2863",
                ""
            ],
            [
                "20210203",
                "20.7215",
                "7.0952",
                "1.1864",
                ""
            ],
            [
                "20210204",
                "18.6675",
                "7.154",
                "0.608",
                ""
            ],
            [
                "20210205",
                "16.2782",
                "7.079",
                "0.8481",
                ""
            ],
            [
                "20210206",
                "13.0214",
                "6.9547",
                "1.5284",
                ""
            ],
            [
                "20210207",
                "10.8349",
                "7.0189",
                "2.1016",
                ""
            ],
            [
                "20210208",
                "8.1217",
                "6.9768",
                "2.7576",
                ""
            ],
            [
                "20210209",
                "5.006",
                "8.1523",
                "3.674",
                ""
            ],
            [
                "20210210",
                "2.5046",
                "9.8453",
                "4.9868",
                ""
            ],
            [
                "20210211",
                "1.0619",
                "10.2193",
                "7.6716",
                ""
            ],
            [
                "20210212",
                "1.4276",
                "10.726",
                "10.0486",
                ""
            ],
            [
                "20210213",
                "2.6833",
                "10.9594",
                "11.6686",
                ""
            ],
            [
                "20210214",
                "3.8154",
                "10.8542",
                "12.516",
                ""
            ],
            [
                "20210215",
                "5.1258",
                "10.1055",
                "13.7175",
                ""
            ],
            [
                "20210216",
                "6.8298",
                "10.2991",
                "13.2043",
                ""
            ],
            [
                "20210217",
                "9.3284",
                "12.5134",
                "12.6817",
                ""
            ],
            [
                "20210218",
                "13.808",
                "12.7549",
                "14.4693",
                ""
            ],
            [
                "20210219",
                "18.4198",
                "13.1111",
                "14.3637",
                ""
            ],
            [
                "20210220",
                "20.8545",
                "13.4525",
                "16.2358",
                ""
            ],
            [
                "20210221",
                "21.4532",
                "13.5064",
                "16.8863",
                ""
            ],
            [
                "20210222",
                "25.6447",
                "12.8132",
                "17.1282",
                ""
            ],
            [
                "20210223",
                "26.8214",
                "12.6167",
                "15.9529",
                ""
            ],
            [
                "20210224",
                "27.1983",
                "15.4133",
                "15.3166",
                ""
            ],
            [
                "20210225",
                "26.3244",
                "16.0718",
                "17.7932",
                ""
            ],
            [
                "20210226",
                "25.195",
                "16.3113",
                "17.8496",
                ""
            ],
            [
                "20210227",
                "26.3808",
                "16.3525",
                "18.1146",
                ""
            ],
            [
                "20210228",
                "24.5666",
                "16.0407",
                "18.1555",
                ""
            ],
            [
                "20210301",
                "28.8434",
                "14.851",
                "17.6798",
                ""
            ],
            [
                "20210302",
                "31.0615",
                "18.1408",
                "16.2531",
                ""
            ],
            [
                "20210303",
                "31.5098",
                "18.7156",
                "15.7633",
                ""
            ],
            [
                "20210304",
                "31.9255",
                "19.1591",
                "18.3341",
                ""
            ],
            [
                "20210305",
                "31.3453",
                "19.6712",
                "18.3189",
                ""
            ],
            [
                "20210306",
                "28.5915",
                "19.5966",
                "18.7293",
                ""
            ],
            [
                "20210307",
                "27.0006",
                "18.3939",
                "18.6942",
                ""
            ],
            [
                "20210308",
                "31.4868",
                "17.4156",
                "18.2081",
                ""
            ],
            [
                "20210309",
                "32.3315",
                "20.5394",
                "17.073",
                ""
            ],
            [
                "20210310",
                "32.6444",
                "21.6543",
                "16.3982",
                ""
            ],
            [
                "20210311",
                "32.1085",
                "21.9392",
                "19.0978",
                ""
            ],
            [
                "20210312",
                "32.6632",
                "21.9755",
                "19.3013",
                ""
            ],
            [
                "20210313",
                "29.9871",
                "21.9761",
                "19.4958",
                ""
            ],
            [
                "20210314",
                "27.8448",
                "20.7256",
                "19.5295",
                ""
            ],
            [
                "20210315",
                "32.4658",
                "19.7407",
                "19.3363",
                ""
            ],
            [
                "20210316",
                "32.7991",
                "23.1754",
                "17.7649",
                ""
            ],
            [
                "20210317",
                "32.863",
                "23.6097",
                "16.8822",
                ""
            ],
            [
                "20210318",
                "32.6879",
                "24.0062",
                "19.4494",
                ""
            ],
            [
                "20210319",
                "31.951",
                "24.1476",
                "19.8482",
                ""
            ],
            [
                "20210320",
                "29.8405",
                "24.0705",
                "19.8901",
                ""
            ],
            [
                "20210321",
                "28.1566",
                "22.166",
                "19.8315",
                ""
            ],
            [
                "20210322",
                "33.5537",
                "21.0074",
                "19.8204",
                ""
            ],
            [
                "20210323",
                "33.9367",
                "24.7821",
                "18.3765",
                ""
            ],
            [
                "20210324",
                "34.3032",
                "25.1482",
                "17.3601",
                ""
            ],
            [
                "20210325",
                "34.534",
                "24.9042",
                "20.0898",
                ""
            ],
            [
                "20210326",
                "33.628",
                "24.477",
                "20.285",
                ""
            ],
            [
                "20210327",
                "31.0468",
                "24.595",
                "20.3821",
                ""
            ],
            [
                "20210328",
                "29.2018",
                "22.5304",
                "20.4547",
                ""
            ],
            [
                "20210329",
                "34.1014",
                "20.8769",
                "20.1854",
                ""
            ],
            [
                "20210330",
                "34.1914",
                "24.8223",
                "18.5113",
                ""
            ],
            [
                "20210331",
                "33.4981",
                "25.1383",
                "17.3122",
                ""
            ],
            [
                "20210401",
                "33.1064",
                "25.6381",
                "19.796",
                ""
            ],
            [
                "20210402",
                "31.7544",
                "25.9796",
                "19.675",
                ""
            ],
            [
                "20210403",
                "25.1976",
                "24.5448",
                "19.7741",
                ""
            ],
            [
                "20210404",
                "21.3982",
                "19.3108",
                "18.2281",
                ""
            ],
            [
                "20210405",
                "29.0103",
                "21.3974",
                "13.8574",
                ""
            ],
            [
                "20210406",
                "34.8286",
                "24.0561",
                "15.3422",
                ""
            ],
            [
                "20210407",
                "",
                "27.115",
                "16.7683",
                "33.983"
            ],
            [
                "20210408",
                "",
                "27.5945",
                "19.6015",
                "34.316"
            ],
            [
                "20210409",
                "",
                "27.6601",
                "19.3972",
                "34.149"
            ],
            [
                "20210410",
                "",
                "27.0051",
                "20.1555",
                "31.431"
            ],
            [
                "20210411",
                "",
                "24.7282",
                "20.2137",
                "29.732"
            ],
            [
                "20210412",
                "",
                "23.7122",
                "20.0903",
                "34.149"
            ],
            [
                "20210413",
                "",
                "27.4551",
                "18.5513",
                "34.319"
            ],
            [
                "20210414",
                "",
                "27.9231",
                "17.5486",
                "34.659"
            ],
            [
                "20210415",
                "",
                "28.1154",
                "20.0596",
                "34.489"
            ],
            [
                "20210416",
                "",
                "27.9511",
                "20.2386",
                "33.81"
            ],
            [
                "20210417",
                "",
                "27.4799",
                "20.3716",
                "31.443"
            ],
            [
                "20210418",
                "",
                "24.8813",
                "20.289",
                "30.185"
            ],
            [
                "20210419",
                "",
                "23.285",
                "19.8923",
                "34.67"
            ],
            [
                "20210420",
                "",
                "27.1551",
                "18.0945",
                "35.016"
            ],
            [
                "20210421",
                "",
                "27.2402",
                "17.0121",
                "35.363"
            ],
            [
                "20210422",
                "",
                "27.6044",
                "19.6992",
                "35.19"
            ],
            [
                "20210423",
                "",
                "27.8133",
                "20.1315",
                "34.496"
            ],
            [
                "20210424",
                "",
                "27.654",
                "20.4093",
                "31.376"
            ],
            [
                "20210425",
                "",
                "25.9692",
                "20.5838",
                "32.317"
            ],
            [
                "20210426",
                "",
                "26.7505",
                "20.523",
                "36.842"
            ],
            [
                "20210427",
                "",
                "29.064",
                "19.0985",
                "37.025"
            ],
            [
                "20210428",
                "",
                "29.9265",
                "19.9746",
                "37.392"
            ],
            [
                "20210429",
                "",
                "31.4532",
                "20.5194",
                "37.208"
            ],
            [
                "20210430",
                "",
                "29.2553",
                "18.9984",
                "34.486"
            ],
            [
                "20210501",
                "",
                "21.8021",
                "13.6487",
                "25.52"
            ],
            [
                "20210502",
                "",
                "23.3353",
                "14.8984",
                "27.306"
            ],
            [
                "20210503",
                "",
                "25.0477",
                "16.1305",
                "29.217"
            ],
            [
                "20210504",
                "",
                "26.6638",
                "17.5377",
                "31.263"
            ],
            [
                "20210505",
                "",
                "26.8226",
                "19.9027",
                "31.263"
            ],
            [
                "20210506",
                "",
                "29.5946",
                "20.0996",
                "34.529"
            ],
            [
                "20210507",
                "",
                "29.6913",
                "20.3023",
                "34.183"
            ],
            [
                "20210508",
                "",
                "29.4576",
                "20.4547",
                "34.183"
            ],
            [
                "20210509",
                "",
                "29.5273",
                "20.577",
                "31.791"
            ],
            [
                "20210510",
                "",
                "27.2774",
                "20.1201",
                "36.559"
            ],
            [
                "20210511",
                "",
                "30.4399",
                "18.5635",
                "36.925"
            ],
            [
                "20210512",
                "",
                "30.6091",
                "17.1536",
                "36.925"
            ],
            [
                "20210513",
                "",
                "30.6227",
                "20.0447",
                "36.925"
            ],
            [
                "20210514",
                "",
                "30.1396",
                "20.208",
                "36.556"
            ],
            [
                "20210515",
                "",
                "29.9958",
                "20.1793",
                "33.631"
            ],
            [
                "20210516",
                "",
                "27.5456",
                "20.1927",
                "31.277"
            ],
            [
                "20210517",
                "",
                "25.7368",
                "19.8884",
                "35.969"
            ],
            [
                "20210518",
                "",
                "29.2328",
                "18.161",
                "36.328"
            ],
            [
                "20210519",
                "",
                "29.8057",
                "17.1548",
                "36.328"
            ],
            [
                "20210520",
                "",
                "29.4623",
                "19.8788",
                "36.328"
            ],
            [
                "20210521",
                "",
                "29.0389",
                "20.2372",
                "35.965"
            ],
            [
                "20210522",
                "",
                "28.7094",
                "20.4788",
                "33.088"
            ],
            [
                "20210523",
                "",
                "26.4515",
                "20.5117",
                "30.772"
            ],
            [
                "20210524",
                "",
                "24.853",
                "20.2279",
                "35.387"
            ],
            [
                "20210525",
                "",
                "28.3856",
                "18.3035",
                "35.741"
            ],
            [
                "20210526",
                "",
                "28.7186",
                "16.9785",
                "35.741"
            ],
            [
                "20210527",
                "",
                "28.9528",
                "20.2291",
                "35.741"
            ],
            [
                "20210528",
                "",
                "28.8783",
                "20.4085",
                "35.384"
            ],
            [
                "20210529",
                "",
                "28.0941",
                "20.5444",
                "32.553"
            ],
            [
                "20210530",
                "",
                "25.3334",
                "20.4082",
                "30.274"
            ],
            [
                "20210531",
                "",
                "23.9881",
                "19.9914",
                "35.118"
            ]
        ]
    },
    "dataZoom": [{
            "type": "slider",
            "show": true,
            "realtime": true,
            "start": 0,
            "end": 100,
            "height": 20,
            "bottom": 0
        },
        {
            "type": "inside",
            "realtime": true,
            "start": 0,
            "end": 100
        }
    ]
}
    
截图如下