How to hide series name from showing in Charting Control

Hi, I am using Microsoft Charting controls to show a simple bar chart with a single sequence. However, when the chart is visualized, I see the series name along with the defualt color on the right. Is there any way to hide this shortcut from showing

+5
source share
4 answers

Hide the name of the series is very easy. In the chart property bar, follow the series → (...). Set the IsVisibleInLegend property to false.

+16
source

If you don’t need a legend at all (for office applications):

shape.Chart.Legend.Clear();
+1
source

:

    barchart.Series[0].IsValueShownAsLabel = true;

:

    barchart.Series[0].IsValueShownAsLabel = false;
+1

( Legends Legends), Enabled False.

0

All Articles