CachedValue
ChartDataPoint.CachedValue property
Gets the cached value of a chart data point. Read-only ICachedChartValue.
public ICachedChartValue CachedValue { 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 values of the chart series.
foreach (var point in series.DataPoints)
Console.WriteLine(point.CachedValue.ToDouble());
}
}
See Also
- interface ICachedChartValue
- class ChartDataPoint
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides