option = { "title": [ { "textAlign": "center", "text": "linear", "textStyle": { "fontSize": 12, "fontWeight": "normal" }, "left": "25%", "top": "0.5%" } ], "grid": [ { "show": true, "borderWidth": 0, "shadowColor": "rgba(0, 0, 0, 0.3)", "shadowBlur": 2, "left": "0.5%", "top": "0.5%", "width": "50%", "height": "50%" } ], "xAxis": [ { "type": "value", "show": false, "min": 0, "max": 1, "gridIndex": 0 } ], "yAxis": [ { "type": "value", "show": false, "min": -0.4, "max": 1.4, "gridIndex": 0 } ], "series": [ { "name": "linear", "type": "line", "xAxisIndex": 0, "yAxisIndex": 0, "data": [ [ 0, 0 ], [ 0.4, 0.9 ], [ 0.9333333333333333, 0.9333333333333333 ], [ 0.9666666666666667, 0.9666666666666667 ], [ 1, 1 ] ], "showSymbol": false, "animationEasing": "linear", "animationDuration": 1000 } ] };