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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top