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)
{
pXlChart.Calculate();
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)
Console.WriteLine(_point.YValue);
else
Console.WriteLine("NULL");
}
}
}
It return NULL.
Regrads,