ChartDataContext Class
Contains information about a chart that the API passes to a chart data storage.
Declaration
public class ChartDataContext extends JavaObject
Remarks
When the API saves a chart with a data workbook to a presentation, the API passes a ChartDataContext object and the workbook content to the chart data storage (SaveOptions.getChartDataStorage()). The storage can call getChartName() and getUri() methods to decide where to save the workbook.
Refer to the following help topic for additional information: Create and Customize Charts — Presentation API for Java.
Inherited Members
Inheritance
ChartDataContext()
Initializes a new instance of the ChartDataContext class.
Declaration
public ChartDataContext()
Methods
getChartName() Method
Returns the chart name.
Declaration
public String getChartName()
Returns
| Type | Description |
|---|---|
| String | The chart name. |
Remarks
The chart name is the name of the chart shape (ShapeBase.getName()).
getUri() Method
Returns the URI of the external workbook that contains chart data.
Declaration
public URI getUri()
Returns
| Type | Description |
|---|---|
| URI | The URI of the external workbook, or |
Remarks
The API takes the URI from the chart link to an external workbook when it loads the presentation.