You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2023/02/10 18:49:00 UTC

[GitHub] [echarts] helgasoft commented on issue #18257: [Bug] Custom series api.barLayout().offsetCenter 没有对齐bar中心

helgasoft commented on issue #18257:
URL: https://github.com/apache/echarts/issues/18257#issuecomment-1426203347

   Probably not-a-bug, not even a new [Feature] request.  
   Custom renderers are not part of ECharts, there are just some [examples](https://echarts.apache.org/examples/en/editor.html?c=custom-error-bar) of them.
   If your goal is **error bars for grouped data**, 
   
   ![image](https://user-images.githubusercontent.com/13038071/218169998-b9a298eb-c192-415b-8f15-ef2989b760e0.png)
   
   then [this code](https://github.com/helgasoft/echarty/blob/main/inst/js/renderers.js#L18) may help.  
   It is part of an [R package](https://helgasoft.github.io/echarty/gallery.html#:~:text=%F0%9F%94%BB%20View%20code-,Error%20Bars,-%F0%9F%94%BB%20View%20code) wrapper to ECharts.  We had to rewrite the example renderer to accommodate groups.


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