Home forums Using CanvasJS Canvasjs Doughnut Not showing all labels when re-draw

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 8 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24598

    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();

    Image

    #24622

    @nguoikhivohinh,

    We are closing this thread as this is a duplicate of Doughnut not show all labels. Please check/revert back in the other thread.

    ___________
    Indranil Deo,
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.