restore Methods

In this section:

This section contains information on the available restore methods.


Top of page

x
restoreAllSlices()

This method restores all deleted or detached slices to a pie graph.

Syntax:

void restoreAllSlices( );

Return: void;

Example:

setPieSliceDelete(getSeries(3),true);
setPieSliceDelete(getSeriesGroup(3,0),true);
setPieSliceDelete(getSeries(0),false);
setPieSliceDelete(getSeriesGroup(0,0),false);
setPieSliceDetach(getSeries(0),100);
setPieSliceDetach(getSeriesGroup(0,0),100);

pie graph

restoreAllSlices();

pie graph

See getPieSliceDelete(), setPieSliceDelete(), getPieSliceDetach(), setPieSliceDetach().


Top of page

x
restoreDefaults()

This method can be used to restore a graph to its default values. It restores the default graph type (17, a vertical clustered bar graph) and the sample data associated with this graph type.

Syntax:

void restoreDefaults();

WebFOCUS