toolbox是echarts中的工具箱
名称 | 类型 | 默认值 | 可选值 | 效果 |
---|---|---|---|---|
orient | string | ‘horizontal’ | ‘horizontal’ | ‘vertical’ | 布局方式,默认为水平布局,’horizontal’为水平,’vertical’为垂直 |
当orient为‘vertical’
toolbox: {
show : true,
orient:'vertical'
}
效果如下:
当orient为’horizontal’
toolbox: {
show : true,
orient:'horizontal'
}
效果如下: