PDA

View Full Version : Ext 4.2 - Displaying lines from pie chart slices



sivaramaiah.dulla
11 May 2015, 8:58 PM
Hi, I have a requirement to display the lines pointing from Pie chart slices to the labels which I'm displaying outside the pie chart. Below is the piece of code that I'm using to render the labels with the lines pointing to pie chart slices. I'm successful but I need to display curved lines so that the labels can be displayed in an organized way. Please help me on this. label: { field: 'count', renderer: function(value, label, storeItem, item, i, display, animate, index) { return storeItem.get('phaseDescription')+'\n'+value; }, font: '12px Arial', color: 'black', padding: 15, display: 'outside', calloutLine: { width: 1 } },

tristan.lee
13 May 2015, 1:22 PM
Curved lines are not possible. The only options you have are length, width, and color.