Hi Iam using the Microsoft Charting controls to show a simple bar graph with a single series. However, when the chart is rendered I can see the name of the series along with a defualt color on the right. Is there any way to hide this label from showing up
Click anywhere in your chart. next to the chart. On the Values tab, check or uncheck the series or categories you want to show or hide. Click Apply.
Show or hide a data table. Select a chart and then select the plus sign to the top right. To show a data table, point to Data Table and select the arrow next to it, and then select a display option. To hide the data table, uncheck the Data Table option.
You can hide series name very easy. In chart properties bar follow Series -> (...). Set IsVisibleInLegend property to false.
Adding labels above the bars:
barchart.Series[0].IsValueShownAsLabel = true;
To remove labels above the bars:
barchart.Series[0].IsValueShownAsLabel = false;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With