Package org.jfree.chart.demo
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 Summary
Constructors Constructor Description SymbolicXYPlotDemo()
-
Method Summary
Modifier and Type Method Description 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.static SampleXYSymbolicDataset
createXYSymbolicSample1()
Creates a sample dataset.static SampleXYSymbolicDataset
createXYSymbolicSample2()
Creates a sample dataset.static SampleYSymbolicDataset
createYSymbolicSample1()
Creates a sample dataset.static SampleYSymbolicDataset
createYSymbolicSample2()
Creates a sample dataset.static void
main(String[] args)
Starting point for the application.
-
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
Creates a sample dataset.- Returns:
- a dataset.
-
createYSymbolicSample2
Creates a sample dataset.- Returns:
- a dataset.
-
createXYSymbolicSample1
Creates a sample dataset.- Returns:
- a dataset.
-
createXYSymbolicSample2
Creates a sample dataset.- Returns:
- a dataset.
-
main
Starting point for the application.- Parameters:
args
- ignored.
-