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 2022/02/28 09:47:11 UTC

[GitHub] [echarts] XSe70 opened a new issue #16593: In legend, only one tag of the same name and different types will be displayed.(legend中相同name,不同类型的标签,只会显示一个,怎样可以全部显示呢?)

XSe70 opened a new issue #16593:
URL: https://github.com/apache/echarts/issues/16593


   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     legend:{
      itemHeight: 8,
       textStyle: {
         color: '#8492A6',
         fontSize: 12,
         lineHeight: 20
       }
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         name:'金额',
         data: [120, 200, 150, 80, 70, 110, 130],
         type: 'bar'
       },
        {
         name:'金额',
         data: [120, 200, 150, 80, 70, 110, 130],
         type: 'line'
       }
     ]
   };
   
   ### Current Behavior
   
   ![小米办公20220228-172418](https://user-images.githubusercontent.com/29849742/155958347-48249964-27bc-4497-baa7-86cf16f8f435.png)
   
   
   ### Expected Behavior
   
   I want the chart to show two different color types of legend's labels 
   
   ### Environment
   
   ```markdown
   - OS:window10:
   - Browser:chrome 84.0.4147.125
   - Framework:Vue@2
   ```
   
   
   ### Any additional comments?
   
   Encountered when encapsulating Echarts-based components


-- 
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] [echarts] echarts-bot[bot] commented on issue #16593: In legend, only one tag of the same name and different types will be displayed.(legend中相同name,不同类型的标签,只会显示一个,怎样可以全部显示呢?)

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


   @XSe70 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   In legend, only one tag of the same name and different types will be displayed.
   </details>


-- 
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] [echarts] lansefengxinzi commented on issue #16593: In legend, only one tag of the same name and different types will be displayed.(legend中相同name,不同类型的标签,只会显示一个,怎样可以全部显示呢?)

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


   same problems


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