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 | 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 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 |
---|---|
protected ObjectProperty<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.
|
protected void |
AreaChart.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 |
BubbleChart.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 |
ScatterChart.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 |
StackedBarChart.dataItemAdded(XYChart.Series<X,Y> series,
int itemIndex,
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 |
AreaChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
BarChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
BubbleChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
LineChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
ScatterChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
StackedAreaChart.dataItemChanged(XYChart.Data<X,Y> item) |
protected void |
StackedBarChart.dataItemChanged(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 |
AreaChart.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 |
BubbleChart.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 |
ScatterChart.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 |
StackedBarChart.dataItemRemoved(XYChart.Data<X,Y> item,
XYChart.Series<X,Y> series) |
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 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.
|
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.
|
protected void |
XYChart.setCurrentDisplayedExtraValue(XYChart.Data<X,Y> item,
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.
|
Modifier and Type | Method and Description |
---|---|
void |
XYChart.Series.setData(ObservableList<XYChart.Data<X,Y>> value)
Sets the value of the property data.
|
Constructor and Description |
---|
Series(ObservableList<XYChart.Data<X,Y>> data)
Constructs a Series and populates it with the given
ObservableList data. |
Series(String name,
ObservableList<XYChart.Data<X,Y>> data)
Constructs a named Series and populates it with the given
ObservableList data. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.