Class SymbolicXYPlotDemo

java.lang.Object
org.jfree.chart.demo.SymbolicXYPlotDemo

public class SymbolicXYPlotDemo
extends Object
A demonstration application for the symbolic XY plots.
Author:
Anthony Boulestreau
  • Constructor Details

    • SymbolicXYPlotDemo

      public SymbolicXYPlotDemo()
  • Method Details

    • createXYSymbolicPlot

      public static JFreeChart createXYSymbolicPlot​(String title, String xAxisLabel, String yAxisLabel, XYDataset data, boolean legend)
      Creates a XY graph with symbolic value on X and Y axis.
      Parameters:
      title - the title.
      xAxisLabel - the x axis label.
      yAxisLabel - the y axis label.
      data - the dataset.
      legend - create a legend?
      Returns:
      a chart.
    • createYSymbolicSample1

      public static SampleYSymbolicDataset createYSymbolicSample1()
      Creates a sample dataset.
      Returns:
      a dataset.
    • createYSymbolicSample2

      public static SampleYSymbolicDataset createYSymbolicSample2()
      Creates a sample dataset.
      Returns:
      a dataset.
    • createXYSymbolicSample1

      public static SampleXYSymbolicDataset createXYSymbolicSample1()
      Creates a sample dataset.
      Returns:
      a dataset.
    • createXYSymbolicSample2

      public static SampleXYSymbolicDataset createXYSymbolicSample2()
      Creates a sample dataset.
      Returns:
      a dataset.
    • main

      public static void main​(String[] args)
      Starting point for the application.
      Parameters:
      args - ignored.