Package org.jppf.ui.monitoring.charts
Class XChartPlotXYHandler
java.lang.Object
org.jppf.ui.monitoring.charts.AbstractXChartHandler
org.jppf.ui.monitoring.charts.XChartPlotXYHandler
- All Implemented Interfaces:
ChartHandler
Chart handler for plot xy charts and possible variations.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionXChartPlotXYHandler(StatsHandler statsHandler, org.knowm.xchart.XYSeries.XYSeriesRenderStyle style) 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.Methods inherited from class org.jppf.ui.monitoring.charts.AbstractXChartHandler
updateDataset
-
Constructor Details
-
XChartPlotXYHandler
public XChartPlotXYHandler(StatsHandler statsHandler, org.knowm.xchart.XYSeries.XYSeriesRenderStyle style) Initialize this chart handler with a specified stats formatter.- Parameters:
statsHandler- the stats formatter that provides the data.style- .
-
-
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.
-