Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.editor |
Provides a simple (but so far incomplete) framework for editing chart
properties.
|
org.jfree.chart.entity |
Classes representing components of (or entities in) a chart.
|
org.jfree.chart.event |
Event classes and listener interfaces, used to provide a change
notification mechanism so that charts are automatically redrawn
whenever changes are made to any chart component.
|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.servlet |
Classes for providing useful servlet and JSP functionality.
|
Modifier and Type | Method and Description |
---|---|
static JFreeChart |
ChartFactory.createAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createBarChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates a bar chart with a vertical orientation.
|
static JFreeChart |
ChartFactory.createBarChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bar chart.
|
static JFreeChart |
ChartFactory.createBoxAndWhiskerChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
BoxAndWhiskerCategoryDataset dataset,
boolean legend)
Creates and returns a default instance of a box and whisker chart
based on data from a
BoxAndWhiskerCategoryDataset . |
static JFreeChart |
ChartFactory.createBoxAndWhiskerChart(String title,
String timeAxisLabel,
String valueAxisLabel,
BoxAndWhiskerXYDataset dataset,
boolean legend)
Creates and returns a default instance of a box and whisker chart.
|
static JFreeChart |
ChartFactory.createBubbleChart(String title,
String xAxisLabel,
String yAxisLabel,
XYZDataset dataset)
Creates a bubble chart with default settings.
|
static JFreeChart |
ChartFactory.createBubbleChart(String title,
String xAxisLabel,
String yAxisLabel,
XYZDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bubble chart with default settings.
|
static JFreeChart |
ChartFactory.createCandlestickChart(String title,
String timeAxisLabel,
String valueAxisLabel,
OHLCDataset dataset,
boolean legend)
Creates and returns a default instance of a candlesticks chart.
|
static JFreeChart |
ChartFactory.createGanttChart(String title,
String categoryAxisLabel,
String dateAxisLabel,
IntervalCategoryDataset dataset)
Creates a Gantt chart using the supplied attributes plus default values
where required.
|
static JFreeChart |
ChartFactory.createGanttChart(String title,
String categoryAxisLabel,
String dateAxisLabel,
IntervalCategoryDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a Gantt chart using the supplied attributes plus default values
where required.
|
static JFreeChart |
ChartFactory.createHighLowChart(String title,
String timeAxisLabel,
String valueAxisLabel,
OHLCDataset dataset,
boolean legend)
Creates and returns a default instance of a high-low-open-close chart.
|
static JFreeChart |
ChartFactory.createHistogram(String title,
String xAxisLabel,
String yAxisLabel,
IntervalXYDataset dataset)
Creates a histogram chart.
|
static JFreeChart |
ChartFactory.createHistogram(String title,
String xAxisLabel,
String yAxisLabel,
IntervalXYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a histogram chart.
|
static JFreeChart |
ChartFactory.createLineChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createMultiplePieChart(String title,
CategoryDataset dataset,
TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createMultiplePieChart3D(String title,
CategoryDataset dataset,
TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createPieChart(String title,
PieDataset dataset)
Creates a pie chart with default settings.
|
static JFreeChart |
ChartFactory.createPieChart(String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a pie chart with default settings.
|
static JFreeChart |
ChartFactory.createPieChart(String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
Locale locale)
Creates a pie chart with default settings.
|
static JFreeChart |
ChartFactory.createPieChart(String title,
PieDataset dataset,
PieDataset previousDataset,
int percentDiffForMaxScale,
boolean greenForIncrease,
boolean legend,
boolean tooltips,
boolean urls,
boolean subTitle,
boolean showDifference)
Creates a pie chart with default settings that compares 2 datasets.
|
static JFreeChart |
ChartFactory.createPieChart(String title,
PieDataset dataset,
PieDataset previousDataset,
int percentDiffForMaxScale,
boolean greenForIncrease,
boolean legend,
boolean tooltips,
Locale locale,
boolean subTitle,
boolean showDifference)
Creates a pie chart with default settings that compares 2 datasets.
|
static JFreeChart |
ChartFactory.createPieChart3D(String title,
PieDataset dataset)
Creates a 3D pie chart using the specified dataset.
|
static JFreeChart |
ChartFactory.createPieChart3D(String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a 3D pie chart using the specified dataset.
|
static JFreeChart |
ChartFactory.createPieChart3D(String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
Locale locale)
Creates a 3D pie chart using the specified dataset.
|
static JFreeChart |
ChartFactory.createPolarChart(String title,
XYDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a polar plot for the specified dataset (x-values interpreted as
angles in degrees).
|
static JFreeChart |
ChartFactory.createRingChart(String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a ring chart with default settings.
|
static JFreeChart |
ChartFactory.createRingChart(String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
Locale locale)
Creates a ring chart with default settings.
|
static JFreeChart |
ChartFactory.createScatterPlot(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset)
Creates a scatter plot with default settings.
|
static JFreeChart |
ChartFactory.createScatterPlot(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a scatter plot with default settings.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(String title,
String domainAxisLabel,
String rangeAxisLabel,
CategoryDataset dataset)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(String title,
String domainAxisLabel,
String rangeAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedXYAreaChart(String title,
String xAxisLabel,
String yAxisLabel,
TableXYDataset dataset)
Creates a stacked XY area plot.
|
static JFreeChart |
ChartFactory.createStackedXYAreaChart(String title,
String xAxisLabel,
String yAxisLabel,
TableXYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked XY area plot.
|
static JFreeChart |
ChartFactory.createTimeSeriesChart(String title,
String timeAxisLabel,
String valueAxisLabel,
XYDataset dataset)
Creates and returns a time series chart.
|
static JFreeChart |
ChartFactory.createTimeSeriesChart(String title,
String timeAxisLabel,
String valueAxisLabel,
XYDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates and returns a time series chart.
|
static JFreeChart |
ChartFactory.createWaferMapChart(String title,
WaferMapDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a wafer map chart.
|
static JFreeChart |
ChartFactory.createWaterfallChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a waterfall chart.
|
static JFreeChart |
ChartFactory.createWindPlot(String title,
String xAxisLabel,
String yAxisLabel,
WindDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a wind plot with default settings.
|
static JFreeChart |
ChartFactory.createXYAreaChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset)
Creates an area chart using an
XYDataset . |
static JFreeChart |
ChartFactory.createXYAreaChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates an area chart using an
XYDataset . |
static JFreeChart |
ChartFactory.createXYBarChart(String title,
String xAxisLabel,
boolean dateAxis,
String yAxisLabel,
IntervalXYDataset dataset)
Creates and returns a default instance of an XY bar chart.
|
static JFreeChart |
ChartFactory.createXYBarChart(String title,
String xAxisLabel,
boolean dateAxis,
String yAxisLabel,
IntervalXYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates and returns a default instance of an XY bar chart.
|
static JFreeChart |
ChartFactory.createXYLineChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset)
Creates a line chart (based on an
XYDataset ) with default
settings. |
static JFreeChart |
ChartFactory.createXYLineChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart (based on an
XYDataset ) with default
settings. |
static JFreeChart |
ChartFactory.createXYStepAreaChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset)
Creates a filled stepped XY plot with default settings.
|
static JFreeChart |
ChartFactory.createXYStepAreaChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a filled stepped XY plot with default settings.
|
static JFreeChart |
ChartFactory.createXYStepChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset)
Creates a stepped XY plot with default settings.
|
static JFreeChart |
ChartFactory.createXYStepChart(String title,
String xAxisLabel,
String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stepped XY plot with default settings.
|
JFreeChart |
ChartPanel.getChart()
Returns the chart contained in the panel.
|
JFreeChart |
ChartMouseEvent.getChart()
Returns the chart that the mouse event relates to.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardChartTheme.apply(JFreeChart chart)
Applies this theme to the supplied chart.
|
void |
ChartTheme.apply(JFreeChart chart)
Applies this theme to the supplied chart.
|
static void |
ChartUtils.applyCurrentTheme(JFreeChart chart)
Applies the current theme to the specified chart.
|
static void |
ChartUtils.saveChartAsJPEG(File file,
float quality,
JFreeChart chart,
int width,
int height)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtils.saveChartAsJPEG(File file,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtils.saveChartAsJPEG(File file,
JFreeChart chart,
int width,
int height)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtils.saveChartAsJPEG(File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtils.saveChartAsPNG(File file,
JFreeChart chart,
int width,
int height)
Saves a chart to the specified file in PNG format.
|
static void |
ChartUtils.saveChartAsPNG(File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in PNG format.
|
static void |
ChartUtils.saveChartAsPNG(File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
boolean encodeAlpha,
int compression)
Saves a chart to a file in PNG format.
|
void |
PolarChartPanel.setChart(JFreeChart chart)
Sets the chart that is displayed in the panel.
|
void |
ChartPanel.setChart(JFreeChart chart)
Sets the chart that is displayed in the panel.
|
static void |
ChartUtils.writeChartAsJPEG(OutputStream out,
float quality,
JFreeChart chart,
int width,
int height)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtils.writeChartAsJPEG(OutputStream out,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtils.writeChartAsJPEG(OutputStream out,
JFreeChart chart,
int width,
int height)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtils.writeChartAsJPEG(OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtils.writeChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtils.writeChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height,
boolean encodeAlpha,
int compression)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtils.writeChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtils.writeChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
boolean encodeAlpha,
int compression)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtils.writeScaledChartAsPNG(OutputStream out,
JFreeChart chart,
int width,
int height,
int widthScaleFactor,
int heightScaleFactor)
Writes a scaled version of a chart to an output stream in PNG format.
|
Constructor and Description |
---|
ChartFrame(String title,
JFreeChart chart)
Constructs a frame for a chart.
|
ChartFrame(String title,
JFreeChart chart,
boolean scrollPane)
Constructs a frame for a chart.
|
ChartMouseEvent(JFreeChart chart,
MouseEvent trigger,
ChartEntity entity)
Constructs a new event.
|
ChartPanel(JFreeChart chart)
Constructs a panel that displays the specified chart.
|
ChartPanel(JFreeChart chart,
boolean useBuffer)
Constructs a panel containing a chart.
|
ChartPanel(JFreeChart chart,
boolean properties,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
Constructs a JFreeChart panel.
|
ChartPanel(JFreeChart chart,
int width,
int height,
int minimumDrawWidth,
int minimumDrawHeight,
int maximumDrawWidth,
int maximumDrawHeight,
boolean useBuffer,
boolean properties,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
Constructs a JFreeChart panel.
|
ChartPanel(JFreeChart chart,
int width,
int height,
int minimumDrawWidth,
int minimumDrawHeight,
int maximumDrawWidth,
int maximumDrawHeight,
boolean useBuffer,
boolean properties,
boolean copy,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
Constructs a JFreeChart panel.
|
ChartTransferable(JFreeChart chart,
int width,
int height)
Creates a new chart selection.
|
ChartTransferable(JFreeChart chart,
int width,
int height,
boolean cloneData)
Creates a new chart selection.
|
ChartTransferable(JFreeChart chart,
int width,
int height,
int minDrawW,
int minDrawH,
int maxDrawW,
int maxDrawH,
boolean cloneData)
Creates a new chart selection.
|
PolarChartPanel(JFreeChart chart)
Constructs a JFreeChart panel.
|
PolarChartPanel(JFreeChart chart,
boolean useBuffer)
Creates a new panel.
|
Modifier and Type | Method and Description |
---|---|
ChartEditor |
DefaultChartEditorFactory.createEditor(JFreeChart chart)
Returns a new instance of a
ChartEditor . |
ChartEditor |
ChartEditorFactory.createEditor(JFreeChart chart)
Creates an editor for the given chart.
|
static ChartEditor |
ChartEditorManager.getChartEditor(JFreeChart chart)
Returns a component that can be used to edit the given chart.
|
void |
ChartEditor.updateChart(JFreeChart chart)
Applies the changes to the specified chart.
|
Modifier and Type | Method and Description |
---|---|
JFreeChart |
JFreeChartEntity.getChart()
Returns the chart that occupies the entity area.
|
Constructor and Description |
---|
JFreeChartEntity(Shape area,
JFreeChart chart)
Creates a new chart entity.
|
JFreeChartEntity(Shape area,
JFreeChart chart,
String toolTipText)
Creates a new chart entity.
|
JFreeChartEntity(Shape area,
JFreeChart chart,
String toolTipText,
String urlText)
Creates a new chart entity.
|
Modifier and Type | Method and Description |
---|---|
JFreeChart |
ChartProgressEvent.getChart()
Returns the chart that generated the change event.
|
JFreeChart |
ChartChangeEvent.getChart()
Returns the chart that generated the change event.
|
Modifier and Type | Method and Description |
---|---|
void |
ChartProgressEvent.setChart(JFreeChart chart)
Sets the chart that generated the change event.
|
void |
ChartChangeEvent.setChart(JFreeChart chart)
Sets the chart that generated the change event.
|
Constructor and Description |
---|
ChartChangeEvent(Object source,
JFreeChart chart)
Creates a new chart change event.
|
ChartChangeEvent(Object source,
JFreeChart chart,
ChartChangeEventType type)
Creates a new chart change event.
|
ChartProgressEvent(Object source,
JFreeChart chart,
int type,
int percent)
Creates a new chart change event.
|
Modifier and Type | Method and Description |
---|---|
JFreeChart |
Plot.getChart()
Returns the chart that this plot is assigned to.
|
JFreeChart |
MultiplePiePlot.getPieChart()
Returns the pie chart that is used to draw the individual pie plots.
|
Modifier and Type | Method and Description |
---|---|
void |
Plot.setChart(JFreeChart chart)
Sets the chart that the plot is assigned to.
|
void |
MultiplePiePlot.setPieChart(JFreeChart pieChart)
Sets the chart that is used to draw the individual pie plots.
|
Modifier and Type | Method and Description |
---|---|
static String |
ServletUtilities.saveChartAsJPEG(JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
javax.servlet.http.HttpSession session)
Saves the chart as a JPEG format file in the temporary directory and
populates the
ChartRenderingInfo object which can be used
to generate an HTML image map. |
static String |
ServletUtilities.saveChartAsJPEG(JFreeChart chart,
int width,
int height,
javax.servlet.http.HttpSession session)
Saves the chart as a JPEG format file in the temporary directory.
|
static String |
ServletUtilities.saveChartAsPNG(JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
javax.servlet.http.HttpSession session)
Saves the chart as a PNG format file in the temporary directory and
populates the
ChartRenderingInfo object which can be used to
generate an HTML image map. |
static String |
ServletUtilities.saveChartAsPNG(JFreeChart chart,
int width,
int height,
javax.servlet.http.HttpSession session)
Saves the chart as a PNG format file in the temporary directory.
|
Copyright © 2001–2017 JFree.org. All rights reserved.