Class SymbolicYPlotDemo

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

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

    • SymbolicYPlotDemo

      public SymbolicYPlotDemo()
  • Method Details

    • createYSymbolicPlot

      public static JFreeChart createYSymbolicPlot​(String title, String xAxisLabel, String yAxisLabel, XYDataset data, boolean legend)
      Creates a XY graph with symbolic value on Y axis.
      Parameters:
      title - the chart title.
      xAxisLabel - the x-axis label.
      yAxisLabel - the y-axis label.
      data - the data.
      legend - a flag controlling whether or not the legend is created for the chart.
      Returns:
      the chart.
    • createYSymbolicSample1

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

      public static SampleYSymbolicDataset createYSymbolicSample2()
      Creates a sample symbolic dataset.
      Returns:
      The dataset.
    • main

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