Package org.jppf.ui.monitoring.charts
Class XChartDialHandler
java.lang.Object
org.jppf.ui.monitoring.charts.AbstractXChartHandler
org.jppf.ui.monitoring.charts.XChartDialHandler
- All Implemented Interfaces:
ChartHandler
Chart handler for dial charts.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionXChartDialHandler(StatsHandler statsHandler) Initialize this chart handler with a specified stats formatter. -
Method Summary
Modifier and TypeMethodDescriptioncreateChart(ChartConfiguration config) Create a chart based on a chart configuration.populateDataset(ChartConfiguration config) Populate a dataset based on a chart configuration.updateDataset(ChartConfiguration config) Update a dataset based on a chart configuration..
-
Constructor Details
-
XChartDialHandler
Initialize this chart handler with a specified stats formatter.- Parameters:
statsHandler- the stats formatter that provides the data.
-
-
Method Details
-
createChart
Description copied from interface:ChartHandlerCreate a chart based on a chart configuration.- Parameters:
config- holds the configuration parameters for the chart created, modified by this method.- Returns:
- a
ChartConfigurationinstance.
-
populateDataset
Description copied from interface:ChartHandlerPopulate a dataset based on a chart configuration.- Parameters:
config- the chart configuration containing the dataset to populate.- Returns:
- a
ChartConfigurationinstance.
-
updateDataset
Description copied from interface:ChartHandlerUpdate a dataset based on a chart configuration..- Specified by:
updateDatasetin interfaceChartHandler- Overrides:
updateDatasetin classAbstractXChartHandler- Parameters:
config- the chart configuration containing the dataset to update.- Returns:
- a
ChartConfigurationinstance.
-