Package | Description |
---|---|
javafx.scene.chart |
The JavaFX User Interface provides a set of chart components that
are a very convenient way for data visualization.
|
Modifier and Type | Field and Description |
---|---|
(package private) XYChart.Data<X,Y> |
XYChart.Series.begin |
(package private) XYChart.Data<X,Y> |
StackedAreaChart.DataPointInfo.dataItem |
private XYChart.Data<X,Y> |
LineChart.dataItemBeingRemoved |
private XYChart.Data<X,Y> |
BarChart.dataItemBeingRemoved |
protected XYChart.Data<X,Y> |
XYChart.Data.next
Next pointer for the next data item.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<ObservableList<XYChart.Data<X,Y>>> |
XYChart.Series.data
ObservableList of data items that make up this series
|
private ListChangeListener<XYChart.Data<X,Y>> |
XYChart.Series.dataChangeListener |
private java.util.Map<XYChart.Series,java.util.Map<java.lang.String,XYChart.Data<X,Y>>> |
StackedBarChart.seriesCategoryMap |
private java.util.Map<XYChart.Series,java.util.Map<java.lang.String,XYChart.Data<X,Y>>> |
BarChart.seriesCategoryMap |
Modifier and Type | Method and Description |
---|---|
private XYChart.Data<X,Y> |
StackedBarChart.getDataItem(XYChart.Series<X,Y> series,
int seriesIndex,
int itemIndex,
java.lang.String category) |
private XYChart.Data<X,Y> |
BarChart.getDataItem(XYChart.Series<X,Y> series,
int seriesIndex,
int itemIndex,
java.lang.String category) |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<ObservableList<XYChart.Data<X,Y>>> |
XYChart.Series.dataProperty()
ObservableList of data items that make up this series
|
ObservableList<XYChart.Data<X,Y>> |
XYChart.Series.getData()
Gets the value of the property data.
|
protected java.util.Iterator<XYChart.Data<X,Y>> |
XYChart.getDisplayedDataIterator(XYChart.Series<X,Y> series)
XYChart maintains a list of all items currently displayed this includes all current data + any data items
recently deleted that are in the process of being faded out.
|
Modifier and Type | Method and Description |
---|---|
private void |
StackedBarChart.animateDataAdd(XYChart.Data<X,Y> item,
Node bar) |
private void |
BarChart.animateDataAdd(XYChart.Data<X,Y> item,
Node bar) |
private Node |
StackedBarChart.createBar(XYChart.Series series,
int seriesIndex,
XYChart.Data item,
int itemIndex) |
private Node |
BarChart.createBar(XYChart.Series series,
int seriesIndex,
XYChart.Data item,
int itemIndex) |
private Node |
BubbleChart.createBubble(XYChart.Series<X,Y> series,
int seriesIndex,
XYChart.Data item,
int itemIndex)
Create a Bubble for a given data item if it doesn't already have a node
|
private Timeline |
StackedBarChart.createDataRemoveTimeline(XYChart.Data<X,Y> item,
Node bar,
XYChart.Series<X,Y> series) |
private Timeline |
LineChart.createDataRemoveTimeline(XYChart.Data<X,Y> item,
Node symbol,
XYChart.Series<X,Y> series) |
private Timeline |
BarChart.createDataRemoveTimeline(XYChart.Data<X,Y> item,
Node bar,
XYChart.Series<X,Y> series) |
private Node |
LineChart.createSymbol(XYChart.Series<X,Y> series,
int seriesIndex,
XYChart.Data item,
int itemIndex) |
private Node |
StackedAreaChart.createSymbol(XYChart.Series series,
int seriesIndex,
XYChart.Data item,
int itemIndex) |
private Node |
AreaChart.createSymbol(XYChart.Series series,
int seriesIndex,
XYChart.Data item,
int itemIndex) |
protected ObjectProperty<java.lang.Object> |
XYChart.currentDisplayedExtraValueProperty(XYChart.Data<X,Y> item)
The current displayed extra value property.
|
protected ObjectProperty<X> |
XYChart.currentDisplayedXValueProperty(XYChart.Data<X,Y> item)
The current displayed data value property that is plotted on X axis.
|
protected ObjectProperty<Y> |
XYChart.currentDisplayedYValueProperty(XYChart.Data<X,Y> item)
The current displayed data value property that is plotted on Y axis.
|
private void |
XYChart.dataExtraValueChanged(XYChart.Data<X,Y> item) |
protected abstract void |
XYChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item)
Called when a data item has been added to a series.
|
protected void |
StackedBarChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected void |
StackedAreaChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected void |
ScatterChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected void |
LineChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected void |
BubbleChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected void |
BarChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected void |
AreaChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
XYChart.Data<X,Y> item) |
protected abstract void |
XYChart.dataItemChanged(XYChart.Data<X,Y> item)
Called when a data item has changed, ie its xValue, yValue or extraValue has changed.
|
protected void |
StackedBarChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
StackedAreaChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
ScatterChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
LineChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
BubbleChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
BarChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
AreaChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected abstract void |
XYChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series)
Called when a data item has been removed from data model but it is still visible on the chart.
|
protected void |
StackedBarChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
protected void |
StackedAreaChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
protected void |
ScatterChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
protected void |
LineChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
protected void |
BubbleChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
protected void |
BarChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
protected void |
AreaChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
private void |
XYChart.dataXValueChanged(XYChart.Data<X,Y> item) |
private void |
XYChart.dataYValueChanged(XYChart.Data<X,Y> item) |
protected java.lang.Object |
XYChart.getCurrentDisplayedExtraValue(XYChart.Data<X,Y> item)
The current displayed data extra value.
|
protected X |
XYChart.getCurrentDisplayedXValue(XYChart.Data<X,Y> item)
The current displayed data value plotted on the X axis.
|
protected Y |
XYChart.getCurrentDisplayedYValue(XYChart.Data<X,Y> item)
The current displayed data value plotted on the Y axis.
|
(package private) int |
XYChart.Series.getItemIndex(XYChart.Data<X,Y> item) |
protected void |
XYChart.removeDataItemFromDisplay(XYChart.Series<X,Y> series,
XYChart.Data<X,Y> item)
This should be called from dataItemRemoved() when you are finished with any animation for deleting the item from the
chart.
|
private void |
XYChart.Series.removeDataItemRef(XYChart.Data<X,Y> item) |
protected void |
XYChart.setCurrentDisplayedExtraValue(XYChart.Data<X,Y> item,
java.lang.Object value)
Set the current displayed data extra value.
|
protected void |
XYChart.setCurrentDisplayedXValue(XYChart.Data<X,Y> item,
X value)
Set the current displayed data value plotted on X axis.
|
protected void |
XYChart.setCurrentDisplayedYValue(XYChart.Data<X,Y> item,
Y value)
Set the current displayed data value plotted on Y axis.
|
(package private) void |
StackedAreaChart.DataPointInfo.setValues(XYChart.Data<X,Y> item,
X x,
Y y,
double dx,
double dy,
StackedAreaChart.PartOf partOf,
boolean skipSymbol,
boolean lineTo) |
Modifier and Type | Method and Description |
---|---|
private void |
XYChart.dataItemsChanged(XYChart.Series<X,Y> series,
java.util.List<XYChart.Data<X,Y>> removed,
int addedFrom,
int addedTo,
boolean permutation) |
void |
XYChart.Series.setData(ObservableList<XYChart.Data<X,Y>> value)
Sets the value of the property data.
|
Constructor and Description |
---|
StackedAreaChart.DataPointInfo(XYChart.Data<X,Y> item,
X x,
Y y,
StackedAreaChart.PartOf partOf) |
Constructor and Description |
---|
XYChart.Series(ObservableList<XYChart.Data<X,Y>> data)
Constructs a Series and populates it with the given
ObservableList data. |
XYChart.Series(java.lang.String name,
ObservableList<XYChart.Data<X,Y>> data)
Constructs a named Series and populates it with the given
ObservableList data. |
Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.