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/10/20 03:36:33 UTC

[GitHub] [incubator-echarts] qiaoxiayu opened a new issue #13455: visualMap pieces过多导致显示不全

qiaoxiayu opened a new issue #13455:
URL: https://github.com/apache/incubator-echarts/issues/13455


   ### Version
   4.9.0
   
   ### Steps to reproduce
   option = {
       visualMap: {
               seriesIndex: 0,
               min: 0,
               max: 1000000,
               // right: 20,
               // bottom: 20,
               type: 'piecewise',
               align: 'left',
                orient: 'horizontal',
               itemWidth: 22,
               itemHeight: 14,
               textStyle: {
                   color: '#FFFF',
                   fontSize: 14,
                   lineHeight: 20
               },
               color: 'green',
               itemWidth:50,
               pieces: [
                   {
                       gte: 41,
                       color: '#BF464D',
                       label: '40例以上'
   
                   },
                   {
                       gte: 36,
                       lte: 40,
                       color: '#D47E6D',
                       label: '36 - 40例'
                   },
                   {
                       gte: 31,
                       lte: 35,
                       color: '#D47E6D',
                       label: '31 - 35例'
                   },
                   {
                       gte: 26,
                       lte: 30,
                       color: '#D47E6D',
                       label: '26 - 30例'
                   },
                   {
                       gte: 21,
                       lte: 25,
                       color: '#D47E6D',
                       label: '21 - 25例'
                   },
                   {
                       gte: 16,
                       lte: 20,
                       color: '#D47E6D',
                       label: '16 - 20例'
                   },
                   {
                       gte: 11,
                       lte: 15,
                       color: '#DE977C',
                       label: '11 - 15例'
                   },
                   {
                       gte: 6,
                       lte: 10,
                       color: '#F3CF9C',
                       label: '6 - 10例'
                   },
                   {
                       gte: 1,
                       lte: 5,
                       color: '#FAF4E0',
                       label: '1 - 5例'
                   },
                   {
                       value: 0,
                       color: '#fff',
                       label: '0 例'
                   }
               ]
           },
   };
   
   ### What is expected?
    pieces过多时希望可以想图例一样换行
   
   ### What is actually happening?
    pieces过多时显示不全
   
   <!-- 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:
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] qiaoxiayu commented on issue #13455: visualMap pieces过多导致显示不全

Posted by GitBox <gi...@apache.org>.
qiaoxiayu commented on issue #13455:
URL: https://github.com/apache/incubator-echarts/issues/13455#issuecomment-724416603


   @Ovilia 可以帮忙看下吗
   


----------------------------------------------------------------
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] qiaoxiayu commented on issue #13455: visualMap pieces过多导致显示不全

Posted by GitBox <gi...@apache.org>.
qiaoxiayu commented on issue #13455:
URL: https://github.com/apache/incubator-echarts/issues/13455#issuecomment-719145924


   https://gallery.echartsjs.com/editor.html
   
   ![1604027798(1)](https://user-images.githubusercontent.com/49858427/97656041-6adf2d80-1aa1-11eb-9c0b-6df241acb2b5.jpg)
   


----------------------------------------------------------------
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] echarts-bot[bot] commented on issue #13455: visualMap pieces过多导致显示不全

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13455:
URL: https://github.com/apache/incubator-echarts/issues/13455#issuecomment-716932117


   @qiaoxiayu Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://gallery.echartsjs.com/editor.html.


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