I have 1 Chart Doughnut . When first time . It’s working show all . But I change Data call ajax and I re draw chart doughnut then It’s not working show all labels . Only show labels small . Help me Please
chart = new CanvasJS.Chart("chartContainer", {
backgroundColor: "transparent",
animationEnabled: true,
title: {
text: "",
horizontalAlign: "left"
},
data: [{
type: "doughnut",
startAngle: 270,
innerRadius: 80,
percentFormatString: "#0.#",
indexLabelFontSize: 20,
indexLabelMaxWidth: 100,
indexLabelWrap: true,
indexLabelPlacement: "outside",
indexLabelFontColor: "#000",
indexLabel: " #percent %",
dataPoints: data
}]
});
chart.render();