get_CachedValue()

IChartCategory::get_CachedValue() method

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

virtual System::SharedPtr<ICachedChartValue> Aspose::Slides::Charts::IChartCategory::get_CachedValue()=0

Remarks

auto pres = System::MakeObject<Presentation>(u"Chart.pptx");
auto chart = System::ExplicitCast<IChart>(pres->get_Slide(0)->get_Shape(0));

// Print all cached chart category values.
for (auto&& category : chart->get_ChartData()->get_Categories())
{
    System::Console::WriteLine(category->get_CachedValue()->ToString());
}

See Also