com.jrefinery.chart.demo
Class SymbolicYPlotDemo
java.lang.Object
|
+--com.jrefinery.chart.demo.SymbolicYPlotDemo
- public class SymbolicYPlotDemo
- extends java.lang.Object
A demonstration application for the symbolic axis plots.
- Author:
- AB
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolicYPlotDemo
public SymbolicYPlotDemo()
createYSymbolicPlot
public static JFreeChart createYSymbolicPlot(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.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(java.lang.String[] args)
- The starting point for the demonstration application.
- Parameters:
args
- ignored.