(本文档仅供参考)
...
问题1:单系列柱图颜色修改
希望在自助仪表盘中实现柱图颜色设置,请问如何在自主仪表盘中实现柱图颜色类似于电子表格做柱图的颜色设置:https://history.wiki.smartbi.com.cn/pages/viewpage.action?pageId=35750506
...
代码块 | ||
---|---|---|
| ||
{ "series": [ { "data": [ { "itemStyle": { "normal": { "color": "#FFAF00" } } }, { "itemStyle": { "normal": { "color": "#004151" } } }, { "itemStyle": { "normal": { "color": "#00B7BF" } } }, { "itemStyle": { "normal": { "color": "#F9334C" } } }, { "itemStyle": { "normal": { "color": "#FFAF00" } } }, { "itemStyle": { "normal": { "color": "#004151" } } }, { "itemStyle": { "normal": { "color": "#00B7BF" } } }, { "itemStyle": { "normal": { "color": "#F9334C" } } } ] } ] } |
最终效果:
...
问题2:并列轴主题颜色修改
需要实现柱图设置多个柱子中的颜色,柱图是由并列轴+一个指标构成,如图:
...
1 |
|
最终预览效果如下:
...
问题3:多个Y轴柱子颜色修改
图形中有两个指标Y轴,想自定义修改柱子的颜色,怎么实现
...
|
效果图如下:
...
问题4:瀑布图颜色修改
如何修改瀑布图的颜色?
解决方案
可扩展属性,自定义瀑布图柱子的颜色:
|
效果:
问题5:3D柱图颜色修改
Echarts图形的3d柱图如何修改默认的柱子颜色呢?
实现方案
此示例的扩展属性如下,相关的属性可以上echarts官网查看,http://echarts.baidu.com
|
最终效果如图:
Viewtracker |
---|