Error Bar
Contents
[
Hide
]
Add Error Bar
Aspose.Slides for C++ provides a simple API for managing error bar values. The sample code applies when using a custom value type. To specify a value, use the ErrorBarCustomValues property of a specific data point in the DataPoints collection of series:
- Create an instance of the Presentation class.
- Add a bubble chart on the desired slide.
- Access the first chart series and set the error bar X format.
- Access the first chart series and set the error bar Y format.
- Setting bars values and format.
- Write the modified presentation to a PPTX file.
Add Custom Error Bar
Aspose.Slides for C++ provides a simple API for managing custom error bar values. The sample code applies when IErrorBarsFormat.ValueType property is equal to Custom. To specify a value, use the ErrorBarCustomValues property of a specific data point in the DataPoints collection of series:
- Create an instance of the Presentation class.
- Add a bubble chart on the desired slide.
- Access the first chart series and set the error bar X format.
- Access the first chart series and set the error bar Y format.
- Access the chart series individual data points and setting the Error Bar values for an individual series data point.
- Setting bars values and format.
- Write the modified presentation to a PPTX file.