I am trying to change the series data label based on its value. I need to get Excel series labels data point value in .NET code. The following code works but I can’t find what the value is for each point. How do you find the value of each point in the series?
Dim pointCount As Integer = series.Points.Count Dim i As Integer = 0 Do While (i < pointCount) Dim pointIndex As ChartPoint = series.Points(i) pointIndex.DataLabels.Text = "Series 1 Point " + i.ToString i = (i + 1) Loop