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/08/11 07:03:44 UTC

[GitHub] [echarts] vivoX9 opened a new issue, #17502: [Bug] type为treemap时legend不显示,改为pie就没问题?是因为treema不支持lengend?

vivoX9 opened a new issue, #17502:
URL: https://github.com/apache/echarts/issues/17502

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   
   
   let option = {
                   legend: {
                       bottom: "5%",
                       left: "center"
                   },
                   series: [
                       {
                           type: "treemap",
                           data: info,
                           left: "0%",
                           top: "0%",
                           width: "100%",
                           height: "86%",
                           label: {
                               show: true,
                               formatter: params => `${params.name} ${params.data.label}`
                           },
                           radius: ["50%", "90%"],
                           breadcrumb: { show: false },
                           roam: false
                       }
                   ],
                   tooltip: this.echartsTooltip
               };
               myChart.setOption(option);
   
   ### Current Behavior
   
   不显示lagend
   
   ### Expected Behavior
   
   显示lagend
   
   ### Environment
   
   ```markdown
   - OS:macos
   - Browser:Chrome 104.0.5112.79
   - Framework:Vue@2
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.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 #17502: [Bug] type为treemap时legend不显示,改为pie就没问题?是因为treema不支持lengend?

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

   @vivoX9 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**
   
   [Bug] The legend is not displayed when the type is treemap, is there any problem if it is changed to pie? Is it because treema doesn't support lengthend?
   </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] echarts-bot[bot] commented on issue #17502: The legend is not displayed when the type is treemap, is there any problem if it is changed to pie? Is it because treema doesn't support lengthend?

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

   @vivoX9 Please provide a demo for the issue either with [Official Editor](https://echarts.apache.org/examples/editor.html), [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).


-- 
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] jiawulin001 commented on issue #17502: The legend is not displayed when the type is treemap, is there any problem if it is changed to pie? Is it because treema doesn't support lengthend?

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

   Please provide a solid reproducible code, your `series.data` is an unreachable variable.


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