Domanda

I am currently using a Microsoft Visual Studio.

I have my line chart with some datas and I'd like to show a label of a unique data. Instead of to show all labels (Chart.Series("series1").isvalueshownaslabel = true)

Is it possible?

È stato utile?

Soluzione

You can use the Label property of an individual DataPoint

Chart.Series["series1"].Points[0].Label = "The y value is #VAL";

There are several keywords (like #VAL) that can be used to fill in point-specific values, just search the MSDN documentation.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top