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/23 06:47:59 UTC

[GitHub] [echarts] WeiShengv99 opened a new issue #16562: [Feature] 在柱状图柱之间的自定义元素

WeiShengv99 opened a new issue #16562:
URL: https://github.com/apache/echarts/issues/16562


   ### What problem does this feature solve?
   
   <img width="446" alt="image" src="https://user-images.githubusercontent.com/35689628/155272446-4443ad55-c3fd-4baf-bc56-85513ed4e666.png">
   
   遇到了上图的需求,找不到相关的样例,在 g2 里 ,有conversionTag 的api 可以很方便的实现这个功能。
   
   ### What does the proposed API look like?
   
   类似g2
   
   
   
   ```
   conversionTag: {
       offset: 0,
       spacing: 8,
       arrow: {
         style: {
           fill: '#efefef',
         },
       },
     }
   ```


-- 
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 #16562: [Feature] 在柱状图柱之间的自定义元素

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


   @WeiShengv99 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**
   
   [Feature] Custom element between histogram columns
   
   **BODY**
   
   ### What problem does this feature solve?
   
   <img width="446" alt="image" src="https://user-images.githubusercontent.com/35689628/155272446-4443ad55-c3fd-4baf-bc56-85513ed4e666.png">
   
   Encountered the requirements of the above picture, but I can't find relevant samples. In g2, there is an API of conversionTag, which can easily implement this function.
   
   ### What does the proposed API look like?
   
   similar to g2
   
   
   
   ````
   conversionTag: {
       offset: 0,
       spacing: 8,
       arrow: {
         style: {
           fill: '#efefef',
         },
       },
     }
   ````
   </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] WeiShengv99 closed issue #16562: [Feature] 在柱状图柱之间的自定义元素

Posted by GitBox <gi...@apache.org>.
WeiShengv99 closed issue #16562:
URL: https://github.com/apache/echarts/issues/16562


   


-- 
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] WeiShengv99 commented on issue #16562: [Feature] 在柱状图柱之间的自定义元素

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


   > https://echarts.apache.org/zh/option.html#graphic.elements 可以绘制图形和文字,位置需要自己计算一下,比如记录下 grid.left、柱状图宽度等信息
   
   @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.

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] Ovilia commented on issue #16562: [Feature] 在柱状图柱之间的自定义元素

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


   https://echarts.apache.org/zh/option.html#graphic.elements 可以绘制图形和文字,位置需要自己计算一下,比如记录下 grid.left、柱状图宽度等信息


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