zd5043039119 opened a new issue #14368: URL: https://github.com/apache/echarts/issues/14368
### Version 4.8.0 ### Reproduction link [https://jsfiddle.net/yn5ru28k/](https://jsfiddle.net/yn5ru28k/) ### Steps to reproduce 1. 图一为正常的渲染 一共26个柱子, 1-4红色背景, 23-26绿色背景, 其它透明 2. 图二dataZoom设置了起点, splitArea的color的数组计数跟着可见区域的重新计算 3. 图三因为改变x轴label过长, 被echart自适应了,导致splitarea跟着合并后的可见区域重新计算 4. 如果左右快速拖动图二的dataZoom, 会出现splitArea落在错误的位置 ### What is expected? 图二显示前4个空白后4个绿色 图三AAAAA-DDDDD为红色, WWWWW-ZZZZZ为绿色,其它空白 splitArea的颜色渲染能严格按照color数组的索引和xAxis的data数组索引位一一对应, color数组长度少于xAxis的data数组长度时循环生成, color长度大于等于xAxis的data数组长度则不做特殊处理 ### What is actually happening? 图二显示前4个红色后4个空白 图三AAAAA-MMMMM为红色,其它空白 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. DO NOT REMOVE --> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
