Skip to main content

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

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
ChartDataContext
See Also

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 null if the chart does not link to an external workbook (for example, a chart created in code).

Remarks

The API takes the URI from the chart link to an external workbook when it loads the presentation.