Set the line displayed in the chart pie chart, and display the percentage

 chart1.Series["serYearPlay"].Points.DataBindXY(xvar, yvar);
            chart1.TextAntiAliasingQuality = TextAntiAliasingQuality.High;
            this.chart1.Series["serYearPlay"].Label = "#VALX (#PERCENT)";// "#PERCENT";
            this.chart1.Series["serYearPlay"].LegendText = "#VALX";
            chart1.Series["serYearPlay"]["PieLabelStyle"] = "OutSide";
Published 28 original articles · Like 15 · Visits 110,000+

Guess you like

Origin blog.csdn.net/z3h0a5n8g8x9i9a2o3/article/details/8921592