We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to show data labels in pivotchart.

How to show data labels , but didn't get how to show it. (WinForms PivotChart)



2 Replies

RR Raja Ramalingam Syncfusion Team January 16, 2023 01:11 PM UTC

Hi Singh,


We will check with our development team and update the status on January 17, 2023. We appreciate your patience until then.


Regards,

Raja.



NM Nanthini Mahalingam Syncfusion Team January 17, 2023 12:51 PM UTC

Thank you for your patience. You can display the data label in pivot chart by using the DisplayText property of the series style of the chart control. The following code snippet demonstrates how to enable data labels for the series in the pivot chart.

pivotChart1.ChartControl.Series[0].Style.DisplayText = true;

pivotChart1.ChartControl.Series[1].Style.DisplayText = true;

pivotChart1.ChartControl.Series[2].Style.DisplayText = true;

pivotChart1.ChartControl.Series[3].Style.DisplayText = true;

  pivotChart1.ChartControl.Series[4].Style.DisplayText = true;


You may also refer to the following documentation for more information on enabling the data labels in a chart

https://help.syncfusion.com/windowsforms/chart/chart-series#displaytext


Attachment: SF179993_abf011d7.zip

Loader.
Up arrow icon