get_CachedYValue()
ChartDataPoint::get_CachedYValue() method
Gets the cached Y value of a chart data point. Read-only ICachedChartValue.
System::SharedPtr<ICachedChartValue> Aspose::Slides::Charts::ChartDataPoint::get_CachedYValue() override
Remarks
auto pres = System::MakeObject<Presentation>(u"Chart.pptx");
auto chart = System::ExplicitCast<IChart>(pres->get_Slide(0)->get_Shape(0));
for (auto&& series : chart->get_ChartData()->get_Series())
{
// Print all cached Y values of the chart series.
for (auto&& point : series->get_DataPoints())
{
System::Console::WriteLine(point->get_CachedYValue()->ToDouble());
}
}
See Also
- Typedef SharedPtr
- Class ICachedChartValue
- Class ChartDataPoint
- Namespace Aspose::Slides::Charts
- Library Aspose.Slides