Pie Chart Labels Position

hi, i have problems with this chart when i have very low values one next o other, so the labels looks messed up one on top of each other, is there a way to set the position of the label to make this would not happen?

Thanks

Hi,

it is possible to not show labels for small value. If there are two properties: “days” and “count”, you may use the following

var chart = new dhtmlXChart({ label:function(obj){ var sum = chart.sum("#count#"); var p = Math.round(parseFloat(obj.count)/sum*100); if(!p) return ""; return obj.days+" ("+Math.round(parseFloat(obj.sales)/sum*100)+"%)"; }, ... }