CachedValue

ChartCategory.CachedValue property

Gets the cached value of a chart category. Read-only ICachedChartValue.

public ICachedChartValue CachedValue { get; }

Examples

[C#]
using (Presentation pres = new Presentation("Chart.pptx"))
{
    var chart = (IChart)pres.Slides[0].Shapes[0];
    
    // Print all cached chart category values.
    foreach (var category in chart.ChartData.Categories)
        Console.WriteLine(category.CachedValue.ToString());
}

See Also