Class XChartBarHandler

java.lang.Object
org.jppf.ui.monitoring.charts.AbstractXChartHandler
org.jppf.ui.monitoring.charts.XChartBarHandler
All Implemented Interfaces:
ChartHandler

public class XChartBarHandler extends AbstractXChartHandler
Chart handler for bar charts and possible variations.
Author:
Laurent Cohen
  • Constructor Details

    • XChartBarHandler

      public XChartBarHandler(StatsHandler statsHandler, org.knowm.xchart.CategorySeries.CategorySeriesRenderStyle style, boolean stacked)
      Initialize this chart handler with a specified stats formatter.
      Parameters:
      statsHandler - the stats formatter that provides the data.
      style - the chart's rendering style.
      stacked - whether tre series should be rendered as stacked.
  • Method Details

    • createChart

      public ChartConfiguration createChart(ChartConfiguration config)
      Description copied from interface: ChartHandler
      Create a chart based on a chart configuration.
      Parameters:
      config - holds the configuration parameters for the chart created, modified by this method.
      Returns:
      a ChartConfiguration instance.
    • populateDataset

      public ChartConfiguration populateDataset(ChartConfiguration config)
      Description copied from interface: ChartHandler
      Populate a dataset based on a chart configuration.
      Parameters:
      config - the chart configuration containing the dataset to populate.
      Returns:
      a ChartConfiguration instance.