Uses of Interface
org.jfree.data.xy.XYDataset
Package
Description
Core classes, including
JFreeChart
and
ChartPanel
.Classes representing components of (or entities in) a chart.
Generators and other classes used for the display of item labels and tooltips.
Plot classes and related interfaces.
Core support for the plug-in renderers used by the
CategoryPlot
and XYPlot
classes.Plug-in renderers for the
XYPlot
class.Classes for adding URLS to charts for HTML image map generation.
Data interfaces and classes for Gantt charts.
Data interfaces and classes.
Dataset classes that fetch data from a database via JDBC.
Classes for representing statistical data.
Interfaces and classes for time-related data.
Classes for representing financial data in open-high-low-close form.
A package containing the
XYDataset
interface and related classes.-
Uses of XYDataset in org.jfree.chart
Modifier and TypeMethodDescriptionstatic 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.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.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.createXYAreaChart
(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates an area chart using anXYDataset
.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 anXYDataset
.static JFreeChart
ChartFactory.createXYLineChart
(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates a line chart (based on anXYDataset
) 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 anXYDataset
) 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. -
Uses of XYDataset in org.jfree.chart.entity
Modifier and TypeMethodDescriptionXYItemEntity.getDataset()
Returns the dataset this entity refers to.Modifier and TypeMethodDescriptionvoid
XYItemEntity.setDataset
(XYDataset dataset) Sets the dataset this entity refers to.ModifierConstructorDescriptionXYItemEntity
(Shape area, XYDataset dataset, int series, int item, String toolTipText, String urlText) Creates a new entity. -
Uses of XYDataset in org.jfree.chart.labels
Modifier and TypeMethodDescriptionprotected Object[]
AbstractXYItemLabelGenerator.createItemArray
(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
BoxAndWhiskerXYToolTipGenerator.createItemArray
(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
IntervalXYItemLabelGenerator.createItemArray
(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
IntervalXYToolTipGenerator.createItemArray
(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
MultipleXYSeriesLabelGenerator.createItemArray
(XYDataset dataset, int series) Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
StandardXYSeriesLabelGenerator.createItemArray
(XYDataset dataset, int series) Creates the array of items that can be passed to theMessageFormat
class for creating labels.BubbleXYItemLabelGenerator.generateLabel
(XYDataset dataset, int series, int item) Generates an item label for a particular item within a series.HighLowItemLabelGenerator.generateLabel
(XYDataset dataset, int series, int category) Generates a label for the specified item.IntervalXYItemLabelGenerator.generateLabel
(XYDataset dataset, int series, int item) Generates the item label text for an item in a dataset.MultipleXYSeriesLabelGenerator.generateLabel
(XYDataset dataset, int series) Generates a label for the specified series.StandardXYItemLabelGenerator.generateLabel
(XYDataset dataset, int series, int item) Generates the item label text for an item in a dataset.StandardXYSeriesLabelGenerator.generateLabel
(XYDataset dataset, int series) Generates a label for the specified series.SymbolicXYItemLabelGenerator.generateLabel
(XYDataset dataset, int series, int category) Generates a label for the specified item.XYItemLabelGenerator.generateLabel
(XYDataset dataset, int series, int item) Generates a label for the specified item.XYSeriesLabelGenerator.generateLabel
(XYDataset dataset, int series) Generates a label for the specified series.AbstractXYItemLabelGenerator.generateLabelString
(XYDataset dataset, int series, int item) Generates a label string for an item in the dataset.BubbleXYItemLabelGenerator.generateLabelString
(XYDataset dataset, int series, int item) Generates a label string for an item in the dataset.StandardXYZToolTipGenerator.generateLabelString
(XYDataset dataset, int series, int item) Generates a label string for an item in the dataset.CustomXYToolTipGenerator.generateToolTip
(XYDataset data, int series, int item) Generates a tool tip text item for a particular item within a series.HighLowItemLabelGenerator.generateToolTip
(XYDataset dataset, int series, int item) Generates a tooltip text item for a particular item within a series.IntervalXYToolTipGenerator.generateToolTip
(XYDataset dataset, int series, int item) Generates the tool tip text for an item in a dataset.StandardXYToolTipGenerator.generateToolTip
(XYDataset dataset, int series, int item) Generates the tool tip text for an item in a dataset.SymbolicXYItemLabelGenerator.generateToolTip
(XYDataset data, int series, int item) Generates a tool tip text item for a particular item within a series.XYToolTipGenerator.generateToolTip
(XYDataset dataset, int series, int item) Generates the tooltip text for the specified item. -
Uses of XYDataset in org.jfree.chart.plot
Modifier and TypeMethodDescriptionPolarPlot.getDataset()
Returns the primary dataset for the plot.PolarPlot.getDataset
(int index) Returns the dataset with the specified index, if any.XYPlot.getDataset()
Returns the primary dataset for the plot.XYPlot.getDataset
(int index) Returns the dataset with the specified index, ornull
if there is no dataset with that index.Modifier and TypeMethodDescriptionXYPlot.getDatasets()
Returns a map containing the datasets that are assigned to this plot.Modifier and TypeMethodDescriptionXYPlot.getRendererForDataset
(XYDataset dataset) Returns the renderer for the specified dataset (this is either the renderer with the same index as the dataset or, if there isn't a renderer with the same index, the default renderer).int
Returns the index of the specified dataset, or-1
if the dataset does not belong to the plot.int
Returns the index of the specified dataset, or-1
if the dataset does not belong to the plot.void
PolarPlot.setDataset
(int index, XYDataset dataset) Sets a dataset for the plot, replacing the existing dataset at the same index if there is one, and sends alink PlotChangeEvent
to all registered listeners.void
PolarPlot.setDataset
(XYDataset dataset) Sets the primary dataset for the plot, replacing the existing dataset if there is one, and sends alink PlotChangeEvent
to all registered listeners.void
XYPlot.setDataset
(int index, XYDataset dataset) Sets a dataset for the plot and sends a change event to all registered listeners.void
XYPlot.setDataset
(XYDataset dataset) Sets the primary dataset for the plot, replacing the existing dataset if there is one.ModifierConstructorDescriptionPolarPlot
(XYDataset dataset, ValueAxis radiusAxis, PolarItemRenderer renderer) Creates a new plot.XYPlot
(XYDataset dataset, ValueAxis domainAxis, ValueAxis rangeAxis, XYItemRenderer renderer) Creates a new plot with the specified dataset, axes and renderer. -
Uses of XYDataset in org.jfree.chart.renderer
Modifier and TypeMethodDescriptionprotected void
DefaultPolarItemRenderer.addEntity
(EntityCollection entities, Shape area, XYDataset dataset, int series, int item, double entityX, double entityY) Adds an entity to the collection.void
DefaultPolarItemRenderer.drawSeries
(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex) Plots the data for a given series.void
PolarItemRenderer.drawSeries
(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex) Plots the data for a given series.static int[]
RendererUtils.findLiveItems
(XYDataset dataset, int series, double xLow, double xHigh) Finds a range of item indices that is guaranteed to contain all the x-values from x0 to x1 (inclusive).static int
RendererUtils.findLiveItemsLowerBound
(XYDataset dataset, int series, double xLow, double xHigh) Finds the lower index of the range of live items in the specified data series.static int
RendererUtils.findLiveItemsUpperBound
(XYDataset dataset, int series, double xLow, double xHigh) Finds the upper index of the range of live items in the specified data series. -
Uses of XYDataset in org.jfree.chart.renderer.xy
Modifier and TypeClassDescriptionprotected static class
A dataset to hold the interpolated points when drawing new lines.Modifier and TypeFieldDescriptionprotected XYDataset
CyclicXYItemRenderer.OverwriteDataSet.delegateSet
The delegate dataset.Modifier and TypeMethodDescriptionprotected void
AbstractXYItemRenderer.addEntity
(EntityCollection entities, Shape hotspot, XYDataset dataset, int series, int item, double entityX, double entityY) Adds an entity to the collection.void
XYBoxAndWhiskerRenderer.drawHorizontalItem
(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
CandlestickRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
ClusteredXYBarRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
CyclicXYItemRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
DeviationRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
DeviationStepRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
HighLowRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
SamplingXYLineRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
StackedXYAreaRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
StackedXYAreaRenderer2.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
StackedXYBarRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
StandardXYItemRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
VectorRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the block representing the specified item.void
WindItemRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D plotArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYAreaRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYAreaRenderer2.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYBarRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYBlockRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the block representing the specified item.void
XYBoxAndWhiskerRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYBubbleRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYDifferenceRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYDotRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYErrorRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation for one data item.void
XYItemRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Called for each item to be plotted.void
XYLineAndShapeRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYShapeRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the block representing the specified item.void
XYStepAreaRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYStepRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
YIntervalRenderer.drawItem
(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.protected void
AbstractXYItemRenderer.drawItemLabel
(Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative) Draws an item label.protected void
XYBarRenderer.drawItemLabel
(Graphics2D g, XYDataset dataset, int series, int item, XYPlot plot, XYItemLabelGenerator generator, Rectangle2D bar, boolean negative) Draws an item label.protected void
XYDifferenceRenderer.drawItemPass0
(Graphics2D x_graphics, Rectangle2D x_dataArea, PlotRenderingInfo x_info, XYPlot x_plot, ValueAxis x_domainAxis, ValueAxis x_rangeAxis, XYDataset x_dataset, int x_series, int x_item, CrosshairState x_crosshairState) Draws the visual representation of a single data item, first pass.protected void
XYDifferenceRenderer.drawItemPass1
(Graphics2D x_graphics, Rectangle2D x_dataArea, PlotRenderingInfo x_info, XYPlot x_plot, ValueAxis x_domainAxis, ValueAxis x_rangeAxis, XYDataset x_dataset, int x_series, int x_item, CrosshairState x_crosshairState) Draws the visual representation of a single data item, second pass.protected void
XYLineAndShapeRenderer.drawPrimaryLine
(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea) Draws the item (first pass).protected void
DeviationStepRenderer.drawPrimaryLineAsPath
(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea) Draws the item (first pass).protected void
XYLineAndShapeRenderer.drawPrimaryLineAsPath
(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea) Draws the item (first pass).protected void
XYSplineRenderer.drawPrimaryLineAsPath
(XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis xAxis, ValueAxis yAxis, Rectangle2D dataArea) Draws the item (first pass).protected void
XYLineAndShapeRenderer.drawSecondaryPass
(Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, Rectangle2D dataArea, ValueAxis rangeAxis, CrosshairState crosshairState, EntityCollection entities) Draws the item shapes and adds chart entities (second pass).void
XYBoxAndWhiskerRenderer.drawVerticalItem
(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item.void
XYItemRendererState.endSeriesPass
(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlot
when it ends a pass through the (visible) items in a series.AbstractXYItemRenderer.findDomainBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the x-values in the specified dataset.protected Range
AbstractXYItemRenderer.findDomainBounds
(XYDataset dataset, boolean includeInterval) Returns the lower and upper bounds (range) of the x-values in the specified dataset.ClusteredXYBarRenderer.findDomainBounds
(XYDataset dataset) Returns the x-value bounds for the specified dataset.VectorRenderer.findDomainBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the x-values in the specified dataset.XYBarRenderer.findDomainBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the x-values in the specified dataset.XYBlockRenderer.findDomainBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the x-values in the specified dataset.XYErrorRenderer.findDomainBounds
(XYDataset dataset) Returns the range required by this renderer to display all the domain values in the specified dataset.XYItemRenderer.findDomainBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the x-values in the specified dataset.XYShapeRenderer.findDomainBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the x-values in the specified dataset.AbstractXYItemRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.protected Range
AbstractXYItemRenderer.findRangeBounds
(XYDataset dataset, boolean includeInterval) Returns the range of values the renderer requires to display all the items from the specified dataset.CandlestickRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.DeviationRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.HighLowRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.StackedXYAreaRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.StackedXYAreaRenderer2.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.StackedXYBarRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.VectorRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.XYBarRenderer.findRangeBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the y-values in the specified dataset.XYBlockRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.XYBoxAndWhiskerRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.XYErrorRenderer.findRangeBounds
(XYDataset dataset) Returns the range required by this renderer to display all the range values in the specified dataset.XYItemRenderer.findRangeBounds
(XYDataset dataset) Returns the lower and upper bounds (range) of the y-values in the specified dataset.XYShapeRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.YIntervalRenderer.findRangeBounds
(XYDataset dataset) Returns the range of values the renderer requires to display all the items from the specified dataset.protected Paint
Get the paint for a given series and item from a dataset.AbstractXYItemRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info) Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.CandlestickRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info) Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).DeviationRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info) Initialises and returns a state object that can be passed to each invocation of theDeviationRenderer.drawItem(java.awt.Graphics2D, org.jfree.chart.renderer.xy.XYItemRendererState, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotRenderingInfo, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.xy.XYDataset, int, int, org.jfree.chart.plot.CrosshairState, int)
method.SamplingXYLineRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer.StackedXYAreaRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer.StackedXYBarRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.StandardXYItemRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer.XYAreaRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.XYBarRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info) Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.XYDifferenceRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer and returns a state object that should be passed to subsequent calls to the drawItem() method.XYItemRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info) Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).XYLineAndShapeRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer.XYSplineRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer.XYStepAreaRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info) Initialises the renderer.void
SamplingXYLineRenderer.State.startSeriesPass
(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlot
at the start of each series pass.void
XYItemRendererState.startSeriesPass
(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlot
when it starts a pass through the (visible) items in a series.void
XYLineAndShapeRenderer.State.startSeriesPass
(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlot
at the start of each series pass.ModifierConstructorDescriptionOverwriteDataSet
(double[] x, double[] y, XYDataset delegateSet) Creates a new dataset. -
Uses of XYDataset in org.jfree.chart.urls
Modifier and TypeMethodDescriptionCustomXYURLGenerator.generateURL
(XYDataset dataset, int series, int item) Generates a URL.StandardXYURLGenerator.generateURL
(XYDataset dataset, int series, int item) Generates a URL for a particular item within a series.TimeSeriesURLGenerator.generateURL
(XYDataset dataset, int series, int item) Generates a URL for a particular item within a series.XYURLGenerator.generateURL
(XYDataset dataset, int series, int item) Generates a URL for a particular item within a series. -
Uses of XYDataset in org.jfree.data.gantt
Modifier and TypeClassDescriptionclass
A dataset implementation that wraps aTaskSeriesCollection
and presents it as anIntervalXYDataset
, allowing a set of tasks to be displayed using anXYBarRenderer
(and usually aSymbolAxis
). -
Uses of XYDataset in org.jfree.data.general
Modifier and TypeMethodDescriptionstatic XYDataset
HeatMapUtils.extractColumnFromHeatMapDataset
(HeatMapDataset dataset, int column, Comparable seriesName) Returns a dataset containing one series that holds a copy of the (y, z) data from one column (x-index) of the specified dataset.static XYDataset
HeatMapUtils.extractRowFromHeatMapDataset
(HeatMapDataset dataset, int row, Comparable seriesName) Returns a dataset containing one series that holds a copy of the (x, z) data from one row (y-index) of the specified dataset.static XYDataset
DatasetUtils.sampleFunction2D
(Function2D f, double start, double end, int samples, Comparable seriesKey) Creates anXYDataset
by sampling the specified function over a fixed range.Modifier and TypeMethodDescriptionstatic Range
DatasetUtils.findDomainBounds
(XYDataset dataset) Returns the range of values in the domain (x-values) of a dataset.static Range
DatasetUtils.findDomainBounds
(XYDataset dataset, boolean includeInterval) Returns the range of values in the domain (x-values) of a dataset.static Range
DatasetUtils.findDomainBounds
(XYDataset dataset, List visibleSeriesKeys, boolean includeInterval) Returns the bounds of the x-values in the specifieddataset
taking into account only the visible series and including any x-interval if requested.static int[]
DatasetUtils.findItemIndicesForX
(XYDataset dataset, int series, double x) Finds the indices of the the items in the dataset that span the specified x-value.static Number
DatasetUtils.findMaximumDomainValue
(XYDataset dataset) Returns the maximum domain value for the specified dataset.static Number
DatasetUtils.findMaximumRangeValue
(XYDataset dataset) Returns the maximum range value for the specified dataset.static Number
DatasetUtils.findMinimumDomainValue
(XYDataset dataset) Finds the minimum domain (or X) value for the specified dataset.static Number
DatasetUtils.findMinimumRangeValue
(XYDataset dataset) Returns the minimum range value for the specified dataset.static Range
DatasetUtils.findRangeBounds
(XYDataset dataset) Returns the range of values in the range for the dataset.static Range
DatasetUtils.findRangeBounds
(XYDataset dataset, boolean includeInterval) Returns the range of values in the range for the dataset.static Range
DatasetUtils.findRangeBounds
(XYDataset dataset, List visibleSeriesKeys, Range xRange, boolean includeInterval) Finds the bounds of the y-values in the specified dataset, including only those series that are listed in visibleSeriesKeys, and those items whose x-values fall within the specified range.static double
DatasetUtils.findYValue
(XYDataset dataset, int series, double x) Returns the interpolated value of y that corresponds to the specified x-value in the given series.static boolean
DatasetUtils.isEmptyOrNull
(XYDataset dataset) Returnstrue
if the dataset is empty (ornull
), andfalse
otherwise.static Range
DatasetUtils.iterateDomainBounds
(XYDataset dataset) Iterates over the items in anXYDataset
to find the range of x-values.static Range
DatasetUtils.iterateDomainBounds
(XYDataset dataset, boolean includeInterval) Iterates over the items in anXYDataset
to find the range of x-values.static Range
DatasetUtils.iterateRangeBounds
(XYDataset dataset) Iterates over the data item of the xy dataset to find the range bounds.static Range
DatasetUtils.iterateRangeBounds
(XYDataset dataset, boolean includeInterval) Iterates over the data items of the xy dataset to find the range bounds.static Range
DatasetUtils.iterateToFindDomainBounds
(XYDataset dataset, List visibleSeriesKeys, boolean includeInterval) Returns the range of x-values in the specified dataset for the data items belonging to the visible series.static Range
DatasetUtils.iterateToFindRangeBounds
(XYDataset dataset, List visibleSeriesKeys, Range xRange, boolean includeInterval) Returns the range of y-values in the specified dataset for the data items belonging to the visible series and with x-values in the given range. -
Uses of XYDataset in org.jfree.data.jdbc
Modifier and TypeClassDescriptionclass
This class provides anXYDataset
implementation over a database JDBC result set. -
Uses of XYDataset in org.jfree.data.statistics
Modifier and TypeInterfaceDescriptioninterface
An interface that defines data in the form of (x, max, min, average, median) tuples.Modifier and TypeClassDescriptionclass
A simple implementation of theBoxAndWhiskerXYDataset
interface.class
A dataset that can be used for creating histograms.class
A dataset used for creating simple histograms with custom defined bins.Modifier and TypeMethodDescriptionstatic double[]
Regression.getOLSRegression
(XYDataset data, int series) Returns the parameters 'a' and 'b' for an equation y = a + bx, fitted to the data using ordinary least squares regression.static double[]
Regression.getPolynomialRegression
(XYDataset dataset, int series, int order) Returns the parameters 'a0', 'a1', 'a2', ..., 'an' for a polynomial function of order n, y = a0 + a1 * x + a2 * x^2 + ...static double[]
Regression.getPowerRegression
(XYDataset data, int series) Returns the parameters 'a' and 'b' for an equation y = ax^b, fitted to the data using a power regression equation. -
Uses of XYDataset in org.jfree.data.time
Modifier and TypeClassDescriptionclass
A dynamic dataset.class
A collection ofTimePeriodValues
objects.class
A collection of time series objects.class
A dataset for regular time periods that implements theTableXYDataset
interface.Modifier and TypeMethodDescriptionstatic XYDataset
MovingAverage.createMovingAverage
(XYDataset source, String suffix, double period, double skip) Creates a newXYDataset
containing the moving averages of each series in thesource
dataset.static XYDataset
MovingAverage.createMovingAverage
(XYDataset source, String suffix, long period, long skip) Creates a newXYDataset
containing the moving averages of each series in thesource
dataset.Modifier and TypeMethodDescriptionstatic XYSeries
MovingAverage.createMovingAverage
(XYDataset source, int series, String name, double period, double skip) Creates a newXYSeries
containing the moving averages of one series in thesource
dataset.static XYDataset
MovingAverage.createMovingAverage
(XYDataset source, String suffix, double period, double skip) Creates a newXYDataset
containing the moving averages of each series in thesource
dataset.static XYDataset
MovingAverage.createMovingAverage
(XYDataset source, String suffix, long period, long skip) Creates a newXYDataset
containing the moving averages of each series in thesource
dataset. -
Uses of XYDataset in org.jfree.data.time.ohlc
-
Uses of XYDataset in org.jfree.data.xy
Modifier and TypeInterfaceDescriptioninterface
An extension of theXYDataset
interface that allows an x-interval and a y-interval to be defined.interface
An extension of theXYZDataset
interface that allows a range of data to be defined for any of the X values, the Y values, and the Z values.interface
An interface that defines data in the form of (x, high, low, open, close) tuples.interface
A dataset containing one or more data series containing (x, y) data items, where all series in the dataset share the same set of x-values.interface
An extension of theXYDataset
interface that allows a vector to be defined at a specific (x, y) location.interface
Interface for a dataset that supplies wind intensity and direction values observed at various points in time.interface
The interface through which JFreeChart obtains data in the form of (x, y, z) items - used for XY and XYZ plots.Modifier and TypeClassDescriptionclass
An base class that you can use to create new implementations of theIntervalXYDataset
interface.class
An base class that you can use to create new implementations of theXYDataset
interface.class
An base class that you can use to create new implementations of theXYZDataset
interface.class
An implementation variant of theTableXYDataset
where every series shares the same x-values (required for generating stacked area charts).class
A simple implementation of theOHLCDataset
interface.class
A dataset that defines a range (interval) for both the x-values and the y-values.class
A simple implementation of theOHLCDataset
interface.class
AnXYDataset
where every series shares the same x-values (required for generating stacked area charts).class
A default implementation of theWindDataset
interface.class
A default implementation of theXYDataset
interface that stores data values in arrays of double primitives.class
A default implementation of theXYZDataset
interface that stores data values in arrays of double primitives.class
Represents a collection ofMatrixSeries
that can be used as a dataset.class
A collection ofVectorSeries
objects.class
A collection ofXIntervalSeries
objects.class
A dataset wrapper class that converts a standardXYDataset
into anIntervalXYDataset
suitable for use in creating XY bar charts.class
A collection ofXYIntervalSeries
objects.class
Represents a collection ofXYSeries
objects that can be used as a dataset.class
A collection ofYIntervalSeries
objects.Modifier and TypeMethodDescriptionXYBarDataset.getUnderlyingDataset()
Returns the underlying dataset that was specified via the constructor.ModifierConstructorDescriptionIntervalXYDelegate
(XYDataset dataset) Creates a new delegate that.IntervalXYDelegate
(XYDataset dataset, boolean autoWidth) Creates a new delegate for the specified dataset.XYBarDataset
(XYDataset underlying, double barWidth) Creates a new dataset.