public interface GroupedCharts extends Observable, Persistent, Cloneable
ChartService
to be used as a container of other ChartService
s. It let us to overlay them
in a unique chart sharing axis, legends, etc.ChartService
Modifier and Type | Method and Description |
---|---|
void |
addChartService(ChartService service)
Inserts a new
ChartService on the group |
GroupedCharts |
copy() |
void |
deleteAllChartServices()
Removes all the
ChartService s of the group |
void |
deleteChartService(ChartService service)
Removes a
ChartService of the group |
void |
exportAsPDF(String file,
int width,
int height) |
List<ChartService> |
getChartServices()
Get the
ChartService s grouped on it |
GroupedChartsProperties |
getGroupedChartsProperties() |
void |
notifyChange(GroupedCharts charts) |
void |
redrawCharts() |
void |
refreshCharts() |
void |
updateChartService(int index,
ChartService service)
Update a contained
ChartService |
addObserver, deleteObserver, deleteObservers
loadFromState, saveToState
List<ChartService> getChartServices()
ChartService
s grouped on itChartService
svoid addChartService(ChartService service)
ChartService
on the groupvoid updateChartService(int index, ChartService service)
ChartService
index
- index of the ChartService
editedservice
- ChartService
edited to replace the old versionvoid deleteChartService(ChartService service)
ChartService
of the group{@link
- ChartService}void deleteAllChartServices()
ChartService
s of the groupGroupedChartsProperties getGroupedChartsProperties()
GroupedCharts copy()
void refreshCharts()
void redrawCharts()
void notifyChange(GroupedCharts charts)
void exportAsPDF(String file, int width, int height)