Free Support Forum -

Cannot get YValue of point series

Hi all,
I’m using Aspose 17.9 and I want to get value of each point.
But it return null.
Before I get it I has call Calculate().
Here is my sample code:
private static void fixBottomLabelPosition(Chart pXlChart)

    for (var _i = 0; _i < pXlChart.NSeries.Count; _i++)
        var _nPointCount = pXlChart.NSeries[_i].Points.Count;
        for (var _j = 0; _j < _nPointCount; _j++)
            var _point = pXlChart.NSeries[_i].Points[_j];
			if (_point.YValue != null)

It return NULL.



Thanks for the sample code segment.

Please try our latest version/fix: Aspose.Cells for .NET v18.10.x if it makes any difference. If you still find the issue, kindly do provide us template file containing the chart to show the issue, we will check it soon.