You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/04/07 01:21:32 UTC

[GitHub] [incubator-echarts] nanayang opened a new issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

nanayang opened a new issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391
 
 
   ### Version
   4.7.0
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xdpYC6-Z5y](https://gallery.echartsjs.com/editor.html?c=xdpYC6-Z5y)
   
   ### Steps to reproduce
   左右拖拽底部
   
   ### What is expected?
   左右拖拽进度条的时候,只有xData1这条数据会有红色背景及红色文字预警。xData1这条数据不在当前区域时,红色背景及红色文字隐藏。
   
   ### What is actually happening?
   拖拽后,大部分情况,每个区域的第一个数据都会有红色背景及红色文字预警。偶尔会出现没有红色背景,或者红色背景出现在其他柱状图后面。
   
   <!-- This issue is generated by echarts-issue-helper. 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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang edited a comment on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391#issuecomment-610790528
 
 
   x 轴的类目不要有重复的数据,不然在索引的时候没法找到正确的值。如果需要显示上一样,可以通过 formatter 实现

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] boswellgao commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
boswellgao commented on issue #12391:
URL: https://github.com/apache/echarts/issues/12391#issuecomment-1004662386


   @pissang  has this bug fixed in 5.2.2 ?  in my work, I found this bug again ? anything else can i do ? and when reSet the splitArea in  setOption at dataZoom callback, the render become slow.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang edited a comment on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391#issuecomment-610790528
 
 
   x 轴的类目不要有重复的数据,不然在索引的时候没法找到正确的值。如果在显示上确实一样,可以通过 formatter 实现

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391#issuecomment-611904088
 
 
   @nanayang 看了 https://gallery.echartsjs.com/editor.html?c=xdpYC6-Z5y 你新修改的版本就没这个问题,splitArea  不影响

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] ShiChenCong commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
ShiChenCong commented on issue #12391:
URL: https://github.com/apache/echarts/issues/12391#issuecomment-857671027


   遇到同样的问题,在xAxis.axisLabel.color里依据index判断显示的颜色,使用datazoom slider后,比如设置拖动块的区域是0-4,那么index是0-4,但是拖动到后面,索引还是0-4,导致颜色错乱


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] nanayang commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
nanayang commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391#issuecomment-610799991
 
 
   splitArea里面的color,没有办法用formatter和function吧。x轴的类目修改成不重复的数据,还是一样的。

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391#issuecomment-610120174
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] pissang commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #12391: dataZoom拖拽时,x轴区域预设的颜色错乱
URL: https://github.com/apache/incubator-echarts/issues/12391#issuecomment-610790528
 
 
   x 轴的类目不要有重复的数据,不然在索引的时候没法找到正确的值

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org