echarts容器和数轴的设置属性

1、刻度标签与轴线之间的距离。

yAxis.axisLabel.margin

2、以设置太长了换行 / 支持字符串模板和回调函数两种

yAxis.axisLabel.formatter

3、组件离容器左侧的距离。默认值是10%。

grid.left:grid 

4、针对字体倾斜可设属性

axisLabel: { interval:0, rotate:40 } 

猜你喜欢

转载自blog.csdn.net/qq_27751965/article/details/103024980