View Full Version : Stacked Chart: Adding rounded borders to specified corners of specified bars in stack

15 Aug 2011, 10:51 PM
In a stacked chart, how do I add border radius to only the left or the right side instead of all sides. I know that using a renderer on a series as below:

renderer: function(sprite, record, attr, index, store) {
var fill;
//logic to determine fill..
return Ext.apply(attr, {
fill: fill,
radius: 5 //adds a border radius of 5px to all corners of all items in the stack

Is there a way to add only left radius or right radius - maybe like 'leftt-radus' or 'right-radius' - on an item (my logic will determine the item to add rounded corners to)?

Please help!

16 Nov 2011, 11:54 AM
Is there a way to do this?