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.fx |
Core classes that provide JavaFX support for JFreeChart.
|
org.jfree.chart.fx.interaction |
Contains classes that implement most of the interactivity for the
ChartViewer and
ChartCanvas components. |
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(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createBarChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a bar chart with a vertical orientation.
|
static JFreeChart |
ChartFactory.createBarChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bar chart.
|
static JFreeChart |
ChartFactory.createBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a bar chart with a 3D effect.
|
static JFreeChart |
ChartFactory.createBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bar chart with a 3D effect.
|
static JFreeChart |
ChartFactory.createBoxAndWhiskerChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.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(java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String valueAxisLabel,
BoxAndWhiskerXYDataset dataset,
boolean legend)
Creates and returns a default instance of a box and whisker chart.
|
static JFreeChart |
ChartFactory.createBubbleChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYZDataset dataset)
Creates a bubble chart with default settings.
|
static JFreeChart |
ChartFactory.createBubbleChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYZDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bubble chart with default settings.
|
static JFreeChart |
ChartFactory.createCandlestickChart(java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String valueAxisLabel,
OHLCDataset dataset,
boolean legend)
Creates and returns a default instance of a candlesticks chart.
|
static JFreeChart |
ChartFactory.createGanttChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String dateAxisLabel,
IntervalCategoryDataset dataset)
Creates a Gantt chart using the supplied attributes plus default values
where required.
|
static JFreeChart |
ChartFactory.createGanttChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.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(java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String valueAxisLabel,
OHLCDataset dataset,
boolean legend)
Creates and returns a default instance of a high-low-open-close chart.
|
static JFreeChart |
ChartFactory.createHighLowChart(java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String valueAxisLabel,
OHLCDataset dataset,
Timeline timeline,
boolean legend)
Creates and returns a default instance of a high-low-open-close chart
with a special timeline.
|
static JFreeChart |
ChartFactory.createHistogram(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
IntervalXYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a histogram chart.
|
static JFreeChart |
ChartFactory.createLineChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createMultiplePieChart(java.lang.String title,
CategoryDataset dataset,
org.jfree.util.TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createMultiplePieChart3D(java.lang.String title,
CategoryDataset dataset,
org.jfree.util.TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createPieChart(java.lang.String title,
PieDataset dataset)
Creates a pie chart with default settings.
|
static JFreeChart |
ChartFactory.createPieChart(java.lang.String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a pie chart with default settings.
|
static JFreeChart |
ChartFactory.createPieChart(java.lang.String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
java.util.Locale locale)
Creates a pie chart with default settings.
|
static JFreeChart |
ChartFactory.createPieChart(java.lang.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(java.lang.String title,
PieDataset dataset,
PieDataset previousDataset,
int percentDiffForMaxScale,
boolean greenForIncrease,
boolean legend,
boolean tooltips,
java.util.Locale locale,
boolean subTitle,
boolean showDifference)
Creates a pie chart with default settings that compares 2 datasets.
|
static JFreeChart |
ChartFactory.createPieChart3D(java.lang.String title,
PieDataset dataset)
Creates a 3D pie chart using the specified dataset.
|
static JFreeChart |
ChartFactory.createPieChart3D(java.lang.String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a 3D pie chart using the specified dataset.
|
static JFreeChart |
ChartFactory.createPieChart3D(java.lang.String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
java.util.Locale locale)
Creates a 3D pie chart using the specified dataset.
|
static JFreeChart |
ChartFactory.createPolarChart(java.lang.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(java.lang.String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a ring chart with default settings.
|
static JFreeChart |
ChartFactory.createRingChart(java.lang.String title,
PieDataset dataset,
boolean legend,
boolean tooltips,
java.util.Locale locale)
Creates a ring chart with default settings.
|
static JFreeChart |
ChartFactory.createScatterPlot(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset)
Creates a scatter plot with default settings.
|
static JFreeChart |
ChartFactory.createScatterPlot(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a scatter plot with default settings.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(java.lang.String title,
java.lang.String domainAxisLabel,
java.lang.String rangeAxisLabel,
CategoryDataset dataset)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(java.lang.String title,
java.lang.String domainAxisLabel,
java.lang.String rangeAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a stacked bar chart with a 3D effect and default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked bar chart with a 3D effect and default settings.
|
static JFreeChart |
ChartFactory.createStackedXYAreaChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
TableXYDataset dataset)
Creates a stacked XY area plot.
|
static JFreeChart |
ChartFactory.createStackedXYAreaChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
TableXYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked XY area plot.
|
static JFreeChart |
ChartFactory.createTimeSeriesChart(java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String valueAxisLabel,
XYDataset dataset)
Creates and returns a time series chart.
|
static JFreeChart |
ChartFactory.createTimeSeriesChart(java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String valueAxisLabel,
XYDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates and returns a time series chart.
|
static JFreeChart |
ChartFactory.createWaferMapChart(java.lang.String title,
WaferMapDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a wafer map chart.
|
static JFreeChart |
ChartFactory.createWaterfallChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a waterfall chart.
|
static JFreeChart |
ChartFactory.createWindPlot(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
WindDataset dataset,
boolean legend,
boolean tooltips,
boolean urls)
Creates a wind plot with default settings.
|
static JFreeChart |
ChartFactory.createXYAreaChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset)
Creates an area chart using an
XYDataset . |
static JFreeChart |
ChartFactory.createXYAreaChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates an area chart using an
XYDataset . |
static JFreeChart |
ChartFactory.createXYBarChart(java.lang.String title,
java.lang.String xAxisLabel,
boolean dateAxis,
java.lang.String yAxisLabel,
IntervalXYDataset dataset)
Creates and returns a default instance of an XY bar chart.
|
static JFreeChart |
ChartFactory.createXYBarChart(java.lang.String title,
java.lang.String xAxisLabel,
boolean dateAxis,
java.lang.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(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset)
Creates a line chart (based on an
XYDataset ) with default
settings. |
static JFreeChart |
ChartFactory.createXYLineChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.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(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset)
Creates a filled stepped XY plot with default settings.
|
static JFreeChart |
ChartFactory.createXYStepAreaChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.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(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset)
Creates a stepped XY plot with default settings.
|
static JFreeChart |
ChartFactory.createXYStepChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.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 |
ChartUtilities.applyCurrentTheme(JFreeChart chart)
Applies the current theme to the specified chart.
|
static void |
ChartUtilities.saveChartAsJPEG(java.io.File file,
float quality,
JFreeChart chart,
int width,
int height)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtilities.saveChartAsJPEG(java.io.File file,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtilities.saveChartAsJPEG(java.io.File file,
JFreeChart chart,
int width,
int height)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtilities.saveChartAsJPEG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in JPEG format.
|
static void |
ChartUtilities.saveChartAsPNG(java.io.File file,
JFreeChart chart,
int width,
int height)
Saves a chart to the specified file in PNG format.
|
static void |
ChartUtilities.saveChartAsPNG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Saves a chart to a file in PNG format.
|
static void |
ChartUtilities.saveChartAsPNG(java.io.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 |
ChartUtilities.writeChartAsJPEG(java.io.OutputStream out,
float quality,
JFreeChart chart,
int width,
int height)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtilities.writeChartAsJPEG(java.io.OutputStream out,
float quality,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtilities.writeChartAsJPEG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtilities.writeChartAsJPEG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in JPEG format.
|
static void |
ChartUtilities.writeChartAsPNG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtilities.writeChartAsPNG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height,
boolean encodeAlpha,
int compression)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtilities.writeChartAsPNG(java.io.OutputStream out,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
Writes a chart to an output stream in PNG format.
|
static void |
ChartUtilities.writeChartAsPNG(java.io.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 |
ChartUtilities.writeScaledChartAsPNG(java.io.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(java.lang.String title,
JFreeChart chart)
Constructs a frame for a chart.
|
ChartFrame(java.lang.String title,
JFreeChart chart,
boolean scrollPane)
Constructs a frame for a chart.
|
ChartMouseEvent(JFreeChart chart,
java.awt.event.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(java.awt.Shape area,
JFreeChart chart)
Creates a new chart entity.
|
JFreeChartEntity(java.awt.Shape area,
JFreeChart chart,
java.lang.String toolTipText)
Creates a new chart entity.
|
JFreeChartEntity(java.awt.Shape area,
JFreeChart chart,
java.lang.String toolTipText,
java.lang.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(java.lang.Object source,
JFreeChart chart)
Creates a new chart change event.
|
ChartChangeEvent(java.lang.Object source,
JFreeChart chart,
ChartChangeEventType type)
Creates a new chart change event.
|
ChartProgressEvent(java.lang.Object source,
JFreeChart chart,
int type,
int percent)
Creates a new chart change event.
|
Modifier and Type | Method and Description |
---|---|
JFreeChart |
ChartViewer.getChart()
Returns the chart that is being displayed by this node.
|
JFreeChart |
ChartCanvas.getChart()
Returns the chart that is being displayed by this node.
|
Modifier and Type | Method and Description |
---|---|
void |
ChartViewerSkin.setChart(JFreeChart chart)
Sets the chart displayed by this control.
|
void |
ChartViewer.setChart(JFreeChart chart)
Sets the chart to be displayed by this node.
|
void |
ChartCanvas.setChart(JFreeChart chart)
Sets the chart to be displayed by this node.
|
Constructor and Description |
---|
ChartCanvas(JFreeChart chart)
Creates a new canvas to display the supplied chart in JavaFX.
|
ChartViewer(JFreeChart chart)
Creates a new viewer to display the supplied chart in JavaFX.
|
ChartViewer(JFreeChart chart,
boolean contextMenuEnabled)
Creates a new viewer instance.
|
Modifier and Type | Method and Description |
---|---|
JFreeChart |
ChartMouseEventFX.getChart()
Returns the chart that the mouse event relates to.
|
Constructor and Description |
---|
ChartMouseEventFX(JFreeChart chart,
javafx.scene.input.MouseEvent trigger,
ChartEntity entity)
Constructs a new event.
|
Modifier and Type | Method and Description |
---|---|
JFreeChart |
MultiplePiePlot.getPieChart()
Returns the pie chart that is used to draw the individual pie plots.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiplePiePlot.setPieChart(JFreeChart pieChart)
Sets the chart that is used to draw the individual pie plots.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.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 java.lang.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 java.lang.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 java.lang.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.
|