ChartDirector 7.0 (Java Edition)

ChartViewer.disposeReference


Usage

public void disposeReference()

Description

Remove the stored reference to the BaseChart object and image map string set using ChartViewer.setChart and ChartViewer.setImageMap.

After calling this method, subsequent calls to ChartViewer.getChart and ChartViewer.getImageMap will return null until another BaseChart or image map is set into the ChartViewer.

This method has no visible effect other than removing the stored references, allowing the BaseChart object and image map string to be garbage collected while the chart is still being displayed. This may be useful in systems with very limited memory (such as embedded systems).

Arguments

None

Return Value

None