??????????????????,
????????????????????????????????????????????,??????????????????????????????????????
????????????????????????????????????????
option = {
    "grid": {
                "top": "15%",
                "left": "4%",
                "right": "4%",
                "bottom": "3%",
                "containLabel": true
        },
        "legend": {
                "top": "3%",
                "data": ["????????????", "????????"]
        },
        "toolbox": {},
        "tooltip": {
                "trigger": "axis",
                "axisPointer": {
                        "type": "line"
                },
                "position": "function() { [native code] }"
        },
        "xAxis": {
                "type": "category",
                "axisLabel": {
                        "showMinLabel": true,
                        "showMaxLabel": true,
                        "rotate": 60
                },
                "axisLine": {
                        "show": true
                },
                "axisPointer": {
                        "type": "line",
                        "lineStyle": {
                                "type": "solid",
                                "shadowColor": "rgba(0, 0, 0, 0.3)",
                                "shadowBlur": 1
                        }
                },
                "boundaryGap": true,
                "data": ["2021-03-27 21:00:00", "2021-03-27 21:30:00", 
"2021-03-27 22:00:00"]
        },
        "yAxis": {
                "show": true,
                "name": "(??)",
                "type": "value",
                "scale": false,
                "axisLine": {}
        },
        "series": [{
                "markPoint": {
                        "data": [{
                                "type": "max",
                                "name": "??????"
                        }, {
                                "type": "min",
                                "name": "??????"
                        }]
                },
                "name": "????????????",
                "type": "line",
                "data": [1, 2, 7],
                "itemStyle": {
                        "normal": {
                                "lineStyle": {
                                        "width": 3
                                }
                        }
                }
        },{
                "name": "????????",
                "type": "line",
                "data": [1, 1, 5],
                "itemStyle": {
                        "normal": {}
                }
        }, ]
};

Reply via email to