Jump to content

Both side Rounded corner is not working in c3.js


Abhi_aec

Recommended Posts

Hi, 

 
I need to both side rounded corners for stacked bar charts.
For that I am using the below code:
 
It's working fine but when you give below values (300,0,0 or 0,0,300), instead of the original one. It means, it is not working for both sides. It's rounding left and right but not both. 
 "y": {
        "Last year": [300, 200, 100, 400, 150, 250, 30, 200, 100, 400],
        "Last 3 months": [0, 100, 140, 200, 150, 50, 130, 100, 140, 200],
        "Last month": [0, 21, 90, 42, 57, 59, 17, 48, 132, 88]
    }
 
in originally jsfiddle:
"y": {
        "Last year": [30, 200, 100, 400, 150, 250, 30, 200, 100, 400],
        "Last 3 months": [130, 100, 140, 200, 150, 50, 130, 100, 140, 200],
        "Last month": [46, 21, 90, 42, 57, 59, 17, 48, 132, 88]
    },
 
 
Kindly suggest.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...