diff --git a/view/templates/index/home.html b/view/templates/index/home.html index 1e5b142..1c2c651 100644 --- a/view/templates/index/home.html +++ b/view/templates/index/home.html @@ -321,7 +321,8 @@ function createCharts(charts_dates, charts_values, value_name) { // 使用刚指定的配置项和数据显示图表。 if($(document).width()<=750) { - option.grid.left = 40; + option.grid.left = 0; + option.grid.width = '100%'; } myChart.setOption(option); }