Uses of Interface
org.jfree.data.xy.XYDataset
Packages that use 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
Methods in org.jfree.chart with parameters of type XYDatasetModifier and TypeMethodDescriptionstatic JFreeChartChartFactory.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 JFreeChartChartFactory.createScatterPlot(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates a scatter plot with default settings.static JFreeChartChartFactory.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 JFreeChartChartFactory.createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, XYDataset dataset) Creates and returns a time series chart.static JFreeChartChartFactory.createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, XYDataset dataset, boolean legend, boolean tooltips, boolean urls) Creates and returns a time series chart.static JFreeChartChartFactory.createXYAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates an area chart using anXYDataset.static JFreeChartChartFactory.createXYAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates an area chart using anXYDataset.static JFreeChartChartFactory.createXYLineChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates a line chart (based on anXYDataset) with default settings.static JFreeChartChartFactory.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 JFreeChartChartFactory.createXYStepAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates a filled stepped XY plot with default settings.static JFreeChartChartFactory.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 JFreeChartChartFactory.createXYStepChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset) Creates a stepped XY plot with default settings.static JFreeChartChartFactory.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 XYDatasetModifier and TypeMethodDescriptionXYItemEntity.getDataset()Returns the dataset this entity refers to.Methods in org.jfree.chart.entity with parameters of type XYDatasetModifier and TypeMethodDescriptionvoidXYItemEntity.setDataset(XYDataset dataset) Sets the dataset this entity refers to.Constructors in org.jfree.chart.entity with parameters of type XYDatasetModifierConstructorDescriptionXYItemEntity(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 XYDatasetModifier and TypeMethodDescriptionprotected Object[]AbstractXYItemLabelGenerator.createItemArray(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormatclass for creating labels.protected Object[]BoxAndWhiskerXYToolTipGenerator.createItemArray(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormatclass for creating labels.protected Object[]IntervalXYItemLabelGenerator.createItemArray(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormatclass for creating labels.protected Object[]IntervalXYToolTipGenerator.createItemArray(XYDataset dataset, int series, int item) Creates the array of items that can be passed to theMessageFormatclass for creating labels.protected Object[]MultipleXYSeriesLabelGenerator.createItemArray(XYDataset dataset, int series) Creates the array of items that can be passed to theMessageFormatclass for creating labels.protected Object[]StandardXYSeriesLabelGenerator.createItemArray(XYDataset dataset, int series) Creates the array of items that can be passed to theMessageFormatclass 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
Methods in org.jfree.chart.plot that return XYDatasetModifier 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, ornullif there is no dataset with that index.Methods in org.jfree.chart.plot that return types with arguments of type XYDatasetModifier and TypeMethodDescriptionXYPlot.getDatasets()Returns a map containing the datasets that are assigned to this plot.Methods in org.jfree.chart.plot with parameters of type XYDatasetModifier 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).intReturns the index of the specified dataset, or-1if the dataset does not belong to the plot.intReturns the index of the specified dataset, or-1if the dataset does not belong to the plot.voidPolarPlot.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 PlotChangeEventto all registered listeners.voidPolarPlot.setDataset(XYDataset dataset) Sets the primary dataset for the plot, replacing the existing dataset if there is one, and sends alink PlotChangeEventto all registered listeners.voidXYPlot.setDataset(int index, XYDataset dataset) Sets a dataset for the plot and sends a change event to all registered listeners.voidXYPlot.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 XYDatasetModifierConstructorDescriptionPolarPlot(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 XYDatasetModifier and TypeMethodDescriptionprotected voidDefaultPolarItemRenderer.addEntity(EntityCollection entities, Shape area, XYDataset dataset, int series, int item, double entityX, double entityY) Adds an entity to the collection.voidDefaultPolarItemRenderer.drawSeries(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex) Plots the data for a given series.voidPolarItemRenderer.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 intRendererUtils.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 intRendererUtils.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 XYDatasetModifier and TypeClassDescriptionprotected static classA dataset to hold the interpolated points when drawing new lines.Fields in org.jfree.chart.renderer.xy declared as XYDatasetModifier and TypeFieldDescriptionprotected XYDatasetCyclicXYItemRenderer.OverwriteDataSet.delegateSetThe delegate dataset.Methods in org.jfree.chart.renderer.xy with parameters of type XYDatasetModifier and TypeMethodDescriptionprotected voidAbstractXYItemRenderer.addEntity(EntityCollection entities, Shape hotspot, XYDataset dataset, int series, int item, double entityX, double entityY) Adds an entity to the collection.voidXYBoxAndWhiskerRenderer.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.voidCandlestickRenderer.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.voidClusteredXYBarRenderer.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.voidCyclicXYItemRenderer.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.voidDeviationRenderer.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.voidDeviationStepRenderer.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.voidHighLowRenderer.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.voidSamplingXYLineRenderer.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.voidStackedXYAreaRenderer.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.voidStackedXYAreaRenderer2.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.voidStackedXYBarRenderer.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.voidStandardXYItemRenderer.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.voidVectorRenderer.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.voidWindItemRenderer.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.voidXYAreaRenderer.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.voidXYAreaRenderer2.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.voidXYBarRenderer.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.voidXYBlockRenderer.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.voidXYBoxAndWhiskerRenderer.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.voidXYBubbleRenderer.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.voidXYDifferenceRenderer.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.voidXYDotRenderer.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.voidXYErrorRenderer.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.voidXYItemRenderer.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.voidXYLineAndShapeRenderer.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.voidXYShapeRenderer.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.voidXYStepAreaRenderer.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.voidXYStepRenderer.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.voidYIntervalRenderer.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 voidAbstractXYItemRenderer.drawItemLabel(Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative) Draws an item label.protected voidXYBarRenderer.drawItemLabel(Graphics2D g, XYDataset dataset, int series, int item, XYPlot plot, XYItemLabelGenerator generator, Rectangle2D bar, boolean negative) Draws an item label.protected voidXYDifferenceRenderer.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 voidXYDifferenceRenderer.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 voidXYLineAndShapeRenderer.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 voidDeviationStepRenderer.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 voidXYLineAndShapeRenderer.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 voidXYSplineRenderer.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 voidXYLineAndShapeRenderer.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).voidXYBoxAndWhiskerRenderer.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.voidXYItemRendererState.endSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlotwhen 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 RangeAbstractXYItemRenderer.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 RangeAbstractXYItemRenderer.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 PaintGet 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.voidSamplingXYLineRenderer.State.startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlotat the start of each series pass.voidXYItemRendererState.startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlotwhen it starts a pass through the (visible) items in a series.voidXYLineAndShapeRenderer.State.startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount) This method is called by theXYPlotat the start of each series pass.Constructors in org.jfree.chart.renderer.xy with parameters of type XYDatasetModifierConstructorDescriptionOverwriteDataSet(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 XYDatasetModifier 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
Classes in org.jfree.data.gantt that implement XYDatasetModifier and TypeClassDescriptionclassA dataset implementation that wraps aTaskSeriesCollectionand 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 XYDatasetModifier and TypeMethodDescriptionstatic XYDatasetHeatMapUtils.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 XYDatasetHeatMapUtils.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 XYDatasetDatasetUtils.sampleFunction2D(Function2D f, double start, double end, int samples, Comparable seriesKey) Creates anXYDatasetby sampling the specified function over a fixed range.Methods in org.jfree.data.general with parameters of type XYDatasetModifier and TypeMethodDescriptionstatic RangeDatasetUtils.findDomainBounds(XYDataset dataset) Returns the range of values in the domain (x-values) of a dataset.static RangeDatasetUtils.findDomainBounds(XYDataset dataset, boolean includeInterval) Returns the range of values in the domain (x-values) of a dataset.static RangeDatasetUtils.findDomainBounds(XYDataset dataset, List visibleSeriesKeys, boolean includeInterval) Returns the bounds of the x-values in the specifieddatasettaking 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 NumberDatasetUtils.findMaximumDomainValue(XYDataset dataset) Returns the maximum domain value for the specified dataset.static NumberDatasetUtils.findMaximumRangeValue(XYDataset dataset) Returns the maximum range value for the specified dataset.static NumberDatasetUtils.findMinimumDomainValue(XYDataset dataset) Finds the minimum domain (or X) value for the specified dataset.static NumberDatasetUtils.findMinimumRangeValue(XYDataset dataset) Returns the minimum range value for the specified dataset.static RangeDatasetUtils.findRangeBounds(XYDataset dataset) Returns the range of values in the range for the dataset.static RangeDatasetUtils.findRangeBounds(XYDataset dataset, boolean includeInterval) Returns the range of values in the range for the dataset.static RangeDatasetUtils.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 doubleDatasetUtils.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 booleanDatasetUtils.isEmptyOrNull(XYDataset dataset) Returnstrueif the dataset is empty (ornull), andfalseotherwise.static RangeDatasetUtils.iterateDomainBounds(XYDataset dataset) Iterates over the items in anXYDatasetto find the range of x-values.static RangeDatasetUtils.iterateDomainBounds(XYDataset dataset, boolean includeInterval) Iterates over the items in anXYDatasetto find the range of x-values.static RangeDatasetUtils.iterateRangeBounds(XYDataset dataset) Iterates over the data item of the xy dataset to find the range bounds.static RangeDatasetUtils.iterateRangeBounds(XYDataset dataset, boolean includeInterval) Iterates over the data items of the xy dataset to find the range bounds.static RangeDatasetUtils.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 RangeDatasetUtils.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 XYDatasetModifier and TypeClassDescriptionclassThis class provides anXYDatasetimplementation over a database JDBC result set. -
Uses of XYDataset in org.jfree.data.statistics
Subinterfaces of XYDataset in org.jfree.data.statisticsModifier and TypeInterfaceDescriptioninterfaceAn interface that defines data in the form of (x, max, min, average, median) tuples.Classes in org.jfree.data.statistics that implement XYDatasetModifier and TypeClassDescriptionclassA simple implementation of theBoxAndWhiskerXYDatasetinterface.classA dataset that can be used for creating histograms.classA dataset used for creating simple histograms with custom defined bins.Methods in org.jfree.data.statistics with parameters of type XYDatasetModifier 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
Classes in org.jfree.data.time that implement XYDatasetModifier and TypeClassDescriptionclassA dynamic dataset.classA collection ofTimePeriodValuesobjects.classA collection of time series objects.classA dataset for regular time periods that implements theTableXYDatasetinterface.Methods in org.jfree.data.time that return XYDatasetModifier and TypeMethodDescriptionstatic XYDatasetMovingAverage.createMovingAverage(XYDataset source, String suffix, double period, double skip) Creates a newXYDatasetcontaining the moving averages of each series in thesourcedataset.static XYDatasetMovingAverage.createMovingAverage(XYDataset source, String suffix, long period, long skip) Creates a newXYDatasetcontaining the moving averages of each series in thesourcedataset.Methods in org.jfree.data.time with parameters of type XYDatasetModifier and TypeMethodDescriptionstatic XYSeriesMovingAverage.createMovingAverage(XYDataset source, int series, String name, double period, double skip) Creates a newXYSeriescontaining the moving averages of one series in thesourcedataset.static XYDatasetMovingAverage.createMovingAverage(XYDataset source, String suffix, double period, double skip) Creates a newXYDatasetcontaining the moving averages of each series in thesourcedataset.static XYDatasetMovingAverage.createMovingAverage(XYDataset source, String suffix, long period, long skip) Creates a newXYDatasetcontaining the moving averages of each series in thesourcedataset. -
Uses of XYDataset in org.jfree.data.time.ohlc
Classes in org.jfree.data.time.ohlc that implement XYDataset -
Uses of XYDataset in org.jfree.data.xy
Subinterfaces of XYDataset in org.jfree.data.xyModifier and TypeInterfaceDescriptioninterfaceAn extension of theXYDatasetinterface that allows an x-interval and a y-interval to be defined.interfaceAn extension of theXYZDatasetinterface that allows a range of data to be defined for any of the X values, the Y values, and the Z values.interfaceAn interface that defines data in the form of (x, high, low, open, close) tuples.interfaceA 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.interfaceAn extension of theXYDatasetinterface that allows a vector to be defined at a specific (x, y) location.interfaceInterface for a dataset that supplies wind intensity and direction values observed at various points in time.interfaceThe 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 XYDatasetModifier and TypeClassDescriptionclassAn base class that you can use to create new implementations of theIntervalXYDatasetinterface.classAn base class that you can use to create new implementations of theXYDatasetinterface.classAn base class that you can use to create new implementations of theXYZDatasetinterface.classAn implementation variant of theTableXYDatasetwhere every series shares the same x-values (required for generating stacked area charts).classA simple implementation of theOHLCDatasetinterface.classA dataset that defines a range (interval) for both the x-values and the y-values.classA simple implementation of theOHLCDatasetinterface.classAnXYDatasetwhere every series shares the same x-values (required for generating stacked area charts).classA default implementation of theWindDatasetinterface.classA default implementation of theXYDatasetinterface that stores data values in arrays of double primitives.classA default implementation of theXYZDatasetinterface that stores data values in arrays of double primitives.classRepresents a collection ofMatrixSeriesthat can be used as a dataset.classA collection ofVectorSeriesobjects.classA collection ofXIntervalSeriesobjects.classA dataset wrapper class that converts a standardXYDatasetinto anIntervalXYDatasetsuitable for use in creating XY bar charts.classA collection ofXYIntervalSeriesobjects.classRepresents a collection ofXYSeriesobjects that can be used as a dataset.classA collection ofYIntervalSeriesobjects.Methods in org.jfree.data.xy that return XYDatasetModifier and TypeMethodDescriptionXYBarDataset.getUnderlyingDataset()Returns the underlying dataset that was specified via the constructor.Constructors in org.jfree.data.xy with parameters of type XYDatasetModifierConstructorDescriptionIntervalXYDelegate(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.