Hi,
Similar to this, I am creating a pie chart with many items (+20) and some of them are really small while other large. Items with a small value are having label overlapping issues. I can go around this a little by adjusting the Radius and labelRadius values. As my values are dynamic, I would like to to this in the “beforeLoadComplete” of dataAdapter, but i have not found a method in the documentation allowing this. How would you recommend i dynamically adjust radius and labelRadius values?
dataAdapter = new $.jqx.dataAdapter(source, { async: true, autoBind: true
, beforeLoadComplete: function (records) {
for (var i = 0; i < records.length; i++)
{
// nothing
}
if( i > 20) // adjust radius/labelRadius
else if(i > 10) // adjust radius/labelRadius differently
return records;
}
});