CachedYValue
ChartDataPoint.CachedYValue property
Gets the cached Y value of a chart data point. Read-only ICachedChartValue.
public ICachedChartValue CachedYValue { get; }
Examples
[C#]
using (Presentation pres = new Presentation("Chart.pptx"))
{
var chart = (IChart)pres.Slides[0].Shapes[0];
foreach (var series in chart.ChartData.Series)
{
// Print all cached Y values of the chart series.
foreach (var point in series.DataPoints)
Console.WriteLine(point.CachedYValue.ToDouble());
}
}
See Also
- interface ICachedChartValue
- class ChartDataPoint
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides