|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.chart.demo.JFreeChartDemoBase
A simple class that allows the swing and servlet chart demostrations to share chart generating code. If you would like to add a chart to the swing and/or servlet demo do so here.
Field Summary | |
static java.lang.String |
BASE_RESOURCE_CLASS
Base class name for localised resources. |
static java.lang.String[][] |
CHART_COMMANDS
CHART_COMMANDS holds information on charts that can be created Format is Name, Creation Method, Resource file prefix Steps To add a chart 1) Create a createChart method which returns a JFreeChart 2) Append details to CHART_COMMANDS 3) Append details to DemoResources |
Constructor Summary | |
JFreeChartDemoBase()
Default constructor. |
Method Summary | |
JFreeChart |
createCandlestickChart()
Creates a candlestick chart. |
JFreeChart |
createCombinedAndOverlaidChart1()
Creates a combined and overlaid chart. |
JFreeChart |
createCombinedAndOverlaidDynamicXYChart()
Displays an XY chart that is periodically updated by a background thread. |
JFreeChart |
createCompassChart()
Creates a compass chart. |
JFreeChart |
createDynamicXYChart()
Displays an XY chart that is periodically updated by a background thread. |
JFreeChart |
createGanttChart()
Creates a gantt chart. |
JFreeChart |
createHighLowChart()
Displays a vertical bar chart in its own frame. |
JFreeChart |
createHorizontalBarChart()
Create a horizontal bar chart. |
JFreeChart |
createHorizontallyCombinedChart()
Creates a horizontally combined chart. |
JFreeChart |
createLineChart()
Creates and returns a sample line chart. |
JFreeChart |
createMeterChartChord()
Creates and returns a sample meter chart. |
JFreeChart |
createMeterChartCircle()
Creates and returns a sample meter chart. |
JFreeChart |
createMeterChartPie()
Creates and returns a sample meter chart. |
JFreeChart |
createNullXYPlot()
Creates and returns a sample XY chart with null data. |
JFreeChart |
createOverlaidChart()
Creates and returns a sample overlaid chart. |
JFreeChart |
createPieChartOne()
Creates and returns a sample pie chart. |
JFreeChart |
createPieChartTwo()
Creates and returns a sample pie chart. |
JFreeChart |
createScatterPlot()
Creates and returns a sample scatter plot. |
JFreeChart |
createSignalChart()
Creates and returns a sample signal chart. |
JFreeChart |
createSingleSeriesBarChart()
Creates and returns a sample bar chart with just one series. |
JFreeChart |
createStackedHorizontalBarChart()
Creates and returns a sample stacked horizontal bar chart. |
JFreeChart |
createThermometerChart()
Creates and returns a sample thermometer chart. |
JFreeChart |
createTimeSeries1Chart()
Creates and returns a sample time series chart. |
JFreeChart |
createTimeSeries2Chart()
Creates and returns a sample time series chart. |
JFreeChart |
createTimeSeriesChartInScrollPane()
Creates and returns a sample time series chart that will be displayed in a scroll pane. |
JFreeChart |
createTimeSeriesWithMAChart()
Creates and returns a sample time series chart. |
JFreeChart |
createVertical3DBarChart()
Creates and returns a sample vertical 3D bar chart. |
JFreeChart |
createVerticalBarChart()
Creates and returns a sample vertical bar chart. |
JFreeChart |
createVerticallyCombinedChart()
Creates and returns a sample vertically combined chart. |
JFreeChart |
createVerticalStacked3DBarChart()
Creates and returns a sample stacked vertical 3D bar chart. |
JFreeChart |
createVerticalStackedBarChart()
Creates and returns a sample stacked vertical bar chart. |
JFreeChart |
createVerticalXYBarChart()
Creates and returns a sample vertical XY bar chart. |
JFreeChart |
createWindPlot()
Creates and returns a sample wind plot. |
JFreeChart |
createXYPlot()
Creates and returns a sample XY plot. |
JFreeChart |
createXYPlotZeroData()
Creates a sample XY plot with an empty dataset. |
JFreeChart |
getChart(int i)
Returns a chart. |
java.util.ResourceBundle |
getResources()
This makes the resources bundle available. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String[][] CHART_COMMANDS
public static final java.lang.String BASE_RESOURCE_CLASS
Constructor Detail |
public JFreeChartDemoBase()
Method Detail |
public JFreeChart getChart(int i)
i
- the chart index.public java.util.ResourceBundle getResources()
public JFreeChart createHorizontalBarChart()
public JFreeChart createStackedHorizontalBarChart()
public JFreeChart createVerticalBarChart()
public JFreeChart createVertical3DBarChart()
public JFreeChart createVerticalStackedBarChart()
public JFreeChart createVerticalStacked3DBarChart()
public JFreeChart createPieChartOne()
public JFreeChart createPieChartTwo()
public JFreeChart createXYPlot()
public JFreeChart createTimeSeries1Chart()
public JFreeChart createTimeSeries2Chart()
public JFreeChart createTimeSeriesWithMAChart()
public JFreeChart createHighLowChart()
public JFreeChart createCandlestickChart()
public JFreeChart createSignalChart()
public JFreeChart createThermometerChart()
public JFreeChart createMeterChartCircle()
public JFreeChart createMeterChartPie()
public JFreeChart createMeterChartChord()
public JFreeChart createCompassChart()
public JFreeChart createWindPlot()
public JFreeChart createScatterPlot()
public JFreeChart createLineChart()
public JFreeChart createVerticalXYBarChart()
public JFreeChart createNullXYPlot()
public JFreeChart createXYPlotZeroData()
public JFreeChart createTimeSeriesChartInScrollPane()
public JFreeChart createSingleSeriesBarChart()
public JFreeChart createDynamicXYChart()
public JFreeChart createOverlaidChart()
public JFreeChart createHorizontallyCombinedChart()
public JFreeChart createVerticallyCombinedChart()
public JFreeChart createCombinedAndOverlaidChart1()
public JFreeChart createCombinedAndOverlaidDynamicXYChart()
public JFreeChart createGanttChart()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |