echarts
echarts copied to clipboard
K线图的brush框,安卓4.1不支持虚线显示吗?
One-line summary [问题简述]
K线图的brush框,安卓4.1不支持虚线显示吗?
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]:3.0
- Browser version [浏览器类型和版本]:
- OS Version [操作系统类型和版本]:Android4.1
Expected behaviour [期望结果]
其他安卓版本正常,就是4.1显示的是实线。在brush里的borderType里设置了虚线,但还是不行
ECharts option [ECharts配置项]
option = {
backgroundColor: '#000F1A',
grid: {/*K线图的位置*/
left: '0px',
right: '0px',
bottom: '66px',
top:'3px'
},
tooltip: {
trigger: 'none'
},
xAxis: {/*X轴坐标的显示*/
show: false,
type: 'category',
data: kLineDatas.categoryData,
scale: true,
},
yAxis: {/*Y轴坐标的显示*/
show: false,
scale: true,
splitLine: {
show: false
},
splitArea: {
show: false
}
},
brush: {//选择框
toolbox: [,],
xAxisIndex: 'all',
brushLink: 'all',
transformable: false,
outOfBrush: {
colorAlpha: 0.03
},
transformable: false,
brushStyle: {
borderWidth: 1,
borderType: 'dashed',
color: 'rgba(29,43,58,0.15)',
borderColor: 'rgba(120,140,180,0.8)'
}
},
series: [
{
type: 'candlestick',
data: kLineDatas.values,
itemStyle: {
normal: {
color: upColor,
color0: downColor,
borderColor: upBorderColor,
borderColor0: downBorderColor
}
}
}
]
}
Other comments [其他信息]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.