Package org.jfree.chart.demo
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 Summary
Constructors Constructor Description SymbolicYPlotDemo()
-
Method Summary
Modifier and Type Method Description static JFreeChart
createYSymbolicPlot(String title, String xAxisLabel, String yAxisLabel, XYDataset data, boolean legend)
Creates a XY graph with symbolic value on Y axis.static SampleYSymbolicDataset
createYSymbolicSample1()
Creates a sample symbolic dataset.static SampleYSymbolicDataset
createYSymbolicSample2()
Creates a sample symbolic dataset.static void
main(String[] args)
The starting point for the demonstration application.
-
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
Creates a sample symbolic dataset.- Returns:
- the dataset.
-
createYSymbolicSample2
Creates a sample symbolic dataset.- Returns:
- The dataset.
-
main
The starting point for the demonstration application.- Parameters:
args
- ignored.
-