治理绘图调整

This commit is contained in:
2023-09-28 15:14:56 +08:00
parent 76afa647bb
commit 5523c4b1be
6 changed files with 145 additions and 5 deletions

View File

@@ -481,7 +481,7 @@ public class LineGenerator {
instantOption.setLegend(new Legend().setData(new String[]{a, b, c}).setLeft("10px"));
}
//上下左右的图内间距
instantOption.setGrid(new Grid().setTop("60px").setLeft("55px").setRight("40px").setBottom("10%"));
instantOption.setGrid(new Grid().setTop("60px").setLeft("70px").setRight("40px").setBottom("10%"));
//横坐标
instantOption.setXAxis(new ValueAxis().setName("ms")
.setMax(df2.format(aValue.get(0).get(0)))