Uses of Interface
org.jfree.data.xy.XYDataset
Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.entity |
Classes representing components of (or entities in) a chart.
|
org.jfree.chart.labels |
Generators and other classes used for the display of item labels and tooltips.
|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.renderer |
Core support for the plug-in renderers used by the
CategoryPlot and XYPlot classes. |
org.jfree.chart.renderer.xy |
Plug-in renderers for the
XYPlot class. |
org.jfree.chart.urls |
Classes for adding URLS to charts for HTML image map generation.
|
org.jfree.data.gantt |
Data interfaces and classes for Gantt charts.
|
org.jfree.data.general |
Data interfaces and classes.
|
org.jfree.data.jdbc |
Dataset classes that fetch data from a database via JDBC.
|
org.jfree.data.statistics |
Classes for representing statistical data.
|
org.jfree.data.time |
Interfaces and classes for time-related data.
|
org.jfree.data.time.ohlc |
Classes for representing financial data in open-high-low-close form.
|
org.jfree.data.xy |
A package containing the
XYDataset interface and related classes. |
-
Uses of XYDataset in org.jfree.chart
Methods in org.jfree.chart with parameters of type XYDataset Modifier and Type Method Description 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. 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
Methods in org.jfree.chart.entity that return XYDataset Modifier and Type Method Description XYDataset
XYItemEntity. getDataset()
Returns the dataset this entity refers to.Methods in org.jfree.chart.entity with parameters of type XYDataset Modifier and Type Method Description void
XYItemEntity. setDataset(XYDataset dataset)
Sets the dataset this entity refers to.Constructors in org.jfree.chart.entity with parameters of type XYDataset Constructor Description XYItemEntity(Shape area, XYDataset dataset, int series, int item, String toolTipText, String urlText)
Creates a new entity. -
Uses of XYDataset in org.jfree.chart.labels
Methods in org.jfree.chart.labels with parameters of type XYDataset Modifier and Type Method Description protected 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.String
BubbleXYItemLabelGenerator. generateLabel(XYDataset dataset, int series, int item)
Generates an item label for a particular item within a series.String
HighLowItemLabelGenerator. generateLabel(XYDataset dataset, int series, int category)
Generates a label for the specified item.String
IntervalXYItemLabelGenerator. generateLabel(XYDataset dataset, int series, int item)
Generates the item label text for an item in a dataset.String
MultipleXYSeriesLabelGenerator. generateLabel(XYDataset dataset, int series)
Generates a label for the specified series.String
StandardXYItemLabelGenerator. generateLabel(XYDataset dataset, int series, int item)
Generates the item label text for an item in a dataset.String
StandardXYSeriesLabelGenerator. generateLabel(XYDataset dataset, int series)
Generates a label for the specified series.String
SymbolicXYItemLabelGenerator. generateLabel(XYDataset dataset, int series, int category)
Generates a label for the specified item.String
XYItemLabelGenerator. generateLabel(XYDataset dataset, int series, int item)
Generates a label for the specified item.String
XYSeriesLabelGenerator. generateLabel(XYDataset dataset, int series)
Generates a label for the specified series.String
AbstractXYItemLabelGenerator. generateLabelString(XYDataset dataset, int series, int item)
Generates a label string for an item in the dataset.String
BubbleXYItemLabelGenerator. generateLabelString(XYDataset dataset, int series, int item)
Generates a label string for an item in the dataset.String
StandardXYZToolTipGenerator. generateLabelString(XYDataset dataset, int series, int item)
Generates a label string for an item in the dataset.String
CustomXYToolTipGenerator. generateToolTip(XYDataset data, int series, int item)
Generates a tool tip text item for a particular item within a series.String
HighLowItemLabelGenerator. generateToolTip(XYDataset dataset, int series, int item)
Generates a tooltip text item for a particular item within a series.String
IntervalXYToolTipGenerator. generateToolTip(XYDataset dataset, int series, int item)
Generates the tool tip text for an item in a dataset.String
StandardXYToolTipGenerator. generateToolTip(XYDataset dataset, int series, int item)
Generates the tool tip text for an item in a dataset.String
SymbolicXYItemLabelGenerator. generateToolTip(XYDataset data, int series, int item)
Generates a tool tip text item for a particular item within a series.String
XYToolTipGenerator. generateToolTip(XYDataset dataset, int series, int item)
Generates the tooltip text for the specified item. -
Uses of XYDataset in org.jfree.chart.plot
Methods in org.jfree.chart.plot that return XYDataset Modifier and Type Method Description XYDataset
PolarPlot. getDataset()
Returns the primary dataset for the plot.XYDataset
PolarPlot. getDataset(int index)
Returns the dataset with the specified index, if any.XYDataset
XYPlot. getDataset()
Returns the primary dataset for the plot.XYDataset
XYPlot. getDataset(int index)
Returns the dataset with the specified index, ornull
if there is no dataset with that index.Methods in org.jfree.chart.plot with parameters of type XYDataset Modifier and Type Method Description XYItemRenderer
XYPlot. 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
PolarPlot. indexOf(XYDataset dataset)
Returns the index of the specified dataset, or-1
if the dataset does not belong to the plot.int
XYPlot. indexOf(XYDataset dataset)
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.Constructors in org.jfree.chart.plot with parameters of type XYDataset Constructor Description PolarPlot(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
Methods in org.jfree.chart.renderer with parameters of type XYDataset Modifier and Type Method Description protected 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
Classes in org.jfree.chart.renderer.xy that implement XYDataset Modifier and Type Class Description protected static class
CyclicXYItemRenderer.OverwriteDataSet
A dataset to hold the interpolated points when drawing new lines.Fields in org.jfree.chart.renderer.xy declared as XYDataset Modifier and Type Field Description protected XYDataset
CyclicXYItemRenderer.OverwriteDataSet. delegateSet
The delegate dataset.Methods in org.jfree.chart.renderer.xy with parameters of type XYDataset Modifier and Type Method Description protected 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 g2, 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.Range
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.Range
ClusteredXYBarRenderer. findDomainBounds(XYDataset dataset)
Returns the x-value bounds for the specified dataset.Range
VectorRenderer. findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.Range
XYBarRenderer. findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.Range
XYBlockRenderer. findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.Range
XYErrorRenderer. findDomainBounds(XYDataset dataset)
Returns the range required by this renderer to display all the domain values in the specified dataset.Range
XYItemRenderer. findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.Range
XYShapeRenderer. findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the specified dataset.Range
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.Range
CandlestickRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
DeviationRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
HighLowRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
StackedXYAreaRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
StackedXYAreaRenderer2. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
StackedXYBarRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
VectorRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
XYBarRenderer. findRangeBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the y-values in the specified dataset.Range
XYBlockRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
XYBoxAndWhiskerRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
XYErrorRenderer. findRangeBounds(XYDataset dataset)
Returns the range required by this renderer to display all the range values in the specified dataset.Range
XYItemRenderer. findRangeBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the y-values in the specified dataset.Range
XYShapeRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.Range
YIntervalRenderer. findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.protected Paint
XYShapeRenderer. getPaint(XYDataset dataset, int series, int item)
Get the paint for a given series and item from a dataset.XYItemRendererState
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.XYItemRendererState
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).XYItemRendererState
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.XYItemRendererState
SamplingXYLineRenderer. initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
Initialises the renderer.XYItemRendererState
StackedXYAreaRenderer. initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
Initialises the renderer.XYItemRendererState
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.XYItemRendererState
StandardXYItemRenderer. initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
Initialises the renderer.XYItemRendererState
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.XYItemRendererState
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.XYItemRendererState
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.XYItemRendererState
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).XYItemRendererState
XYLineAndShapeRenderer. initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
Initialises the renderer.XYItemRendererState
XYSplineRenderer. initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
Initialises the renderer.XYItemRendererState
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.Constructors in org.jfree.chart.renderer.xy with parameters of type XYDataset Constructor Description OverwriteDataSet(double[] x, double[] y, XYDataset delegateSet)
Creates a new dataset. -
Uses of XYDataset in org.jfree.chart.urls
Methods in org.jfree.chart.urls with parameters of type XYDataset Modifier and Type Method Description String
CustomXYURLGenerator. generateURL(XYDataset dataset, int series, int item)
Generates a URL.String
StandardXYURLGenerator. generateURL(XYDataset dataset, int series, int item)
Generates a URL for a particular item within a series.String
TimeSeriesURLGenerator. generateURL(XYDataset dataset, int series, int item)
Generates a URL for a particular item within a series.String
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
Classes in org.jfree.data.gantt that implement XYDataset Modifier and Type Class Description class
XYTaskDataset
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
Methods in org.jfree.data.general that return XYDataset Modifier and Type Method Description static 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.Methods in org.jfree.data.general with parameters of type XYDataset Modifier and Type Method Description static 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
Classes in org.jfree.data.jdbc that implement XYDataset Modifier and Type Class Description class
JDBCXYDataset
This class provides anXYDataset
implementation over a database JDBC result set. -
Uses of XYDataset in org.jfree.data.statistics
Subinterfaces of XYDataset in org.jfree.data.statistics Modifier and Type Interface Description interface
BoxAndWhiskerXYDataset
An interface that defines data in the form of (x, max, min, average, median) tuples.Classes in org.jfree.data.statistics that implement XYDataset Modifier and Type Class Description class
DefaultBoxAndWhiskerXYDataset
A simple implementation of theBoxAndWhiskerXYDataset
interface.class
HistogramDataset
A dataset that can be used for creating histograms.class
SimpleHistogramDataset
A dataset used for creating simple histograms with custom defined bins.Methods in org.jfree.data.statistics with parameters of type XYDataset Modifier and Type Method Description static 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
Classes in org.jfree.data.time that implement XYDataset Modifier and Type Class Description class
DynamicTimeSeriesCollection
A dynamic dataset.class
TimePeriodValuesCollection
A collection ofTimePeriodValues
objects.class
TimeSeriesCollection
A collection of time series objects.class
TimeTableXYDataset
A dataset for regular time periods that implements theTableXYDataset
interface.Methods in org.jfree.data.time that return XYDataset Modifier and Type Method Description 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.Methods in org.jfree.data.time with parameters of type XYDataset Modifier and Type Method Description static 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
Classes in org.jfree.data.time.ohlc that implement XYDataset Modifier and Type Class Description class
OHLCSeriesCollection
A collection ofOHLCSeries
objects. -
Uses of XYDataset in org.jfree.data.xy
Subinterfaces of XYDataset in org.jfree.data.xy Modifier and Type Interface Description interface
IntervalXYDataset
An extension of theXYDataset
interface that allows an x-interval and a y-interval to be defined.interface
IntervalXYZDataset
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
OHLCDataset
An interface that defines data in the form of (x, high, low, open, close) tuples.interface
TableXYDataset
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
VectorXYDataset
An extension of theXYDataset
interface that allows a vector to be defined at a specific (x, y) location.interface
WindDataset
Interface for a dataset that supplies wind intensity and direction values observed at various points in time.interface
XYZDataset
The interface through which JFreeChart obtains data in the form of (x, y, z) items - used for XY and XYZ plots.Classes in org.jfree.data.xy that implement XYDataset Modifier and Type Class Description class
AbstractIntervalXYDataset
An base class that you can use to create new implementations of theIntervalXYDataset
interface.class
AbstractXYDataset
An base class that you can use to create new implementations of theXYDataset
interface.class
AbstractXYZDataset
An base class that you can use to create new implementations of theXYZDataset
interface.class
CategoryTableXYDataset
An implementation variant of theTableXYDataset
where every series shares the same x-values (required for generating stacked area charts).class
DefaultHighLowDataset
A simple implementation of theOHLCDataset
interface.class
DefaultIntervalXYDataset
A dataset that defines a range (interval) for both the x-values and the y-values.class
DefaultOHLCDataset
A simple implementation of theOHLCDataset
interface.class
DefaultTableXYDataset
AnXYDataset
where every series shares the same x-values (required for generating stacked area charts).class
DefaultWindDataset
A default implementation of theWindDataset
interface.class
DefaultXYDataset
A default implementation of theXYDataset
interface that stores data values in arrays of double primitives.class
DefaultXYZDataset
A default implementation of theXYZDataset
interface that stores data values in arrays of double primitives.class
MatrixSeriesCollection
Represents a collection ofMatrixSeries
that can be used as a dataset.class
VectorSeriesCollection
A collection ofVectorSeries
objects.class
XIntervalSeriesCollection
A collection ofXIntervalSeries
objects.class
XYBarDataset
A dataset wrapper class that converts a standardXYDataset
into anIntervalXYDataset
suitable for use in creating XY bar charts.class
XYIntervalSeriesCollection
A collection ofXYIntervalSeries
objects.class
XYSeriesCollection
Represents a collection ofXYSeries
objects that can be used as a dataset.class
YIntervalSeriesCollection
A collection ofYIntervalSeries
objects.Methods in org.jfree.data.xy that return XYDataset Modifier and Type Method Description XYDataset
XYBarDataset. getUnderlyingDataset()
Returns the underlying dataset that was specified via the constructor.Constructors in org.jfree.data.xy with parameters of type XYDataset Constructor Description IntervalXYDelegate(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.