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/03/23 09:49:50 UTC

[GitHub] [incubator-echarts] gehringf opened a new issue #12319: RoundCap for stacked BarChart

gehringf opened a new issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319
 
 
   ### What problem does this feature solve?
   For bar charts it is possible to use rounded corners for individual series. There is no way to round the cap for the topmost series only. This matters for cases where the value of a series can be 0 for some X-values. See the stack on the very right in my example.
   
   ![image](https://user-images.githubusercontent.com/56080149/77303860-ed299700-6cf3-11ea-8ef8-9b05b453d6e5.png)
   
   
   ### What does the proposed API look like?
   options: {
   …
   stackBorderRadius: [8, 8, 0, 0]
   …
   }
   
   
   
   <!-- 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] man-trackunit edited a comment on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
man-trackunit edited a comment on issue #12319:
URL: https://github.com/apache/echarts/issues/12319#issuecomment-903483098


   The method with manually adding rounded corners to the last series does not work if one hides a series by clicking the legend. There really should be a property for this built-in.


-- 
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] [incubator-echarts] 100pah commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
100pah commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-609459207
 
 
   @gehringf 

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] gehringf commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
gehringf commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-610776364
 
 
   @100pah  Yes, this works for me 👏  Thank you so much!

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] gehringf commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
gehringf commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-605992389
 
 
   Here's a demo. https://jsfiddle.net/8a9du6n4/
   
   I haven't been able to figure out how I could do that.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-603615407
 
 
   Yes, I'm afraid so. You can loop the series data and add `itemStyle.barBorderRadius` to those top-most data.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
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 #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-604839292
 
 
   @gehringf Please provide a demo for the issue either with https://jsfiddle.net/ovilia/n6xc4df3/ 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] gehringf commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
gehringf commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-603811370
 
 
   Thanks for your answer.
   
   My problem is, that the same series won't always be at the top. In other words, if series A (green) is 0, I'd like Series B to be rounded in that stack. 
   I don't know if there's a way to tell echarts to do that. 
   
   What's the preferred way for examples here ? codepen/jsfiddle/jsbin… 
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] gehringf edited a comment on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
gehringf edited a comment on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-605992389
 
 
   Here's a demo. https://jsfiddle.net/8a9du6n4/
   
   @Ovilia  I haven't been able to figure out how I could do that.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] man-trackunit commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
man-trackunit commented on issue #12319:
URL: https://github.com/apache/echarts/issues/12319#issuecomment-903483098


   The method with manually adding rounded corners to the last series does not work if one hides a series by licking the legend. 


-- 
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] [incubator-echarts] echarts-bot[bot] commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-602490101
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-604839462
 
 
   @gehringf The top-most series is the last series with data. So technically, you do know what's on the top.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] gehringf closed issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
gehringf closed issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319
 
 
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] gehringf commented on issue #12319: RoundCap for stacked BarChart

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


   It's also not perfect if the top most series onlymakesup a couple of pixels in height. A mask for the whole stack/bar would be helpful.


-- 
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] gehringf edited a comment on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
gehringf edited a comment on issue #12319:
URL: https://github.com/apache/echarts/issues/12319#issuecomment-903871104


   It's also not perfect if the top most series only makes up a couple of pixels in height. A mask for the whole stack/bar would be helpful. 


-- 
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] [incubator-echarts] 100pah edited a comment on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
100pah edited a comment on issue #12319: RoundCap for stacked BarChart
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-609459207
 
 
   @gehringf 
   
   Is it match your requirement:
   https://jsfiddle.net/jgruaf0v/
   
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] anthony-bt commented on issue #12319: RoundCap for stacked BarChart

Posted by GitBox <gi...@apache.org>.
anthony-bt commented on issue #12319:
URL: https://github.com/apache/incubator-echarts/issues/12319#issuecomment-670605772


   Hi @gehringf,
   
   I was trying to find a solution to this same problem and I would like to share with you a workaround here: https://jsfiddle.net/zha1fgw2/1/
   I hope we won't have to wait for long for this feature.
   
   Have a good day.


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