| Modifier and Type | Class and Description |
|---|---|
| public static enum | LineChart.
This enum defines a policy for |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ObjectProperty | axisSortingPolicy
Indicates whether the data passed to LineChart should be sorted by natural order of one of the axes. |
| private BooleanProperty | createSymbols
When true, CSS styleable symbols are created for any data items that don't have a symbol node specified. |
| private XYChart. | |
| private Timeline | |
| private FadeTransition | |
| private XYChart. | |
| private Timeline | |
| private Map | seriesYMultiplierMap
A multiplier for the Y values that we store for each series, it is used to animate in a new series |
| private Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | |
| private Timeline | |
| pack-priv Legend. | createLegendItemForSeries(XYChart.
Overrides javafx. Called by the updateLegend for each series in the chart in order to create new legend item |
| private Node | createSymbol(XYChart.
|
| public final BooleanProperty | |
| pack-priv void | dataBeingRemovedIsAdded(XYChart.
Overrides javafx. This method is called when there is an attempt to add a Data item that was set to be removed, and the removal might not have completed. |
| protected void | dataItemAdded(final XYChart.
Implements abstract javafx. Called when a data item has been added to a series. |
| protected void | dataItemChanged(XYChart.
Implements abstract javafx. Called when a data item has changed, ie its xValue, yValue or extraValue has changed. |
| protected void | dataItemRemoved(final XYChart.
Implements abstract javafx. Called when a data item has been removed from data model but it is still visible on the chart. |
| public final LineChart. | |
| public static List | Returns: theCssMetaDataHides javafx. Gets the |
| public final boolean | Returns: true if symbols for data points will be created and false otherwise.Indicates whether symbols for data points will be created or not. |
| public List | getCssMetaData()
Overrides javafx. Implements javafx. This method should delegate to |
| protected void | layoutPlotChildren()
Implements abstract javafx. Called to update and layout the plot children. |
| protected void | seriesAdded(XYChart.
Implements abstract javafx. A series has been added to the charts data model. |
| pack-priv void | seriesBeingRemovedIsAdded(XYChart.
Overrides javafx. This method is called when there is an attempt to add series that was set to be removed, and the removal might not have completed. |
| protected void | seriesChanged(ListChangeListener.
Overrides javafx. Called when each atomic change is made to the list of series for this chart |
| protected void | seriesRemoved(final XYChart.
Implements abstract javafx. A series has been removed from the data model but it is still visible on the chart. |
| public final void | |
| public final void | |
| protected void | updateAxisRange()
Overrides javafx. This is called when the range has been invalidated and we need to update it. |
| axisSortingPolicy | back to summary |
|---|---|
| private ObjectProperty<LineChart. Indicates whether the data passed to LineChart should be sorted by natural order of one of the axes.
If this is set to
| |
| createSymbols | back to summary |
|---|---|
| private BooleanProperty createSymbols When true, CSS styleable symbols are created for any data items that don't have a symbol node specified. | |
| dataItemBeingRemoved | back to summary |
|---|---|
| private XYChart. | |
| dataRemoveTimeline | back to summary |
|---|---|
| private Timeline dataRemoveTimeline | |
| fadeSymbolTransition | back to summary |
|---|---|
| private FadeTransition fadeSymbolTransition | |
| seriesOfDataRemoved | back to summary |
|---|---|
| private XYChart. | |
| seriesRemoveTimeline | back to summary |
|---|---|
| private Timeline seriesRemoveTimeline | |
| seriesYMultiplierMap | back to summary |
|---|---|
| private Map<XYChart. A multiplier for the Y values that we store for each series, it is used to animate in a new series | |
| XYValueMap | back to summary |
|---|---|
| private Map<XYChart. | |
| LineChart | back to summary |
|---|---|
| public LineChart(Axis<X> xAxis, Axis<Y> yAxis) Construct a new LineChart with the given axis. | |
| LineChart | back to summary |
|---|---|
| public LineChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart. Construct a new LineChart with the given axis and data.
| |
| axisSortingPolicyProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| createDataRemoveTimeline | back to summary |
|---|---|
| private Timeline createDataRemoveTimeline(final XYChart. | |
| createLegendItemForSeries | back to summary |
|---|---|
| pack-priv Legend. Overrides javafx. Doc from javafx. Called by the updateLegend for each series in the chart in order to create new legend item
| |
| createSymbol | back to summary |
|---|---|
| private Node createSymbol(XYChart. | |
| createSymbolsProperty | back to summary |
|---|---|
| public final BooleanProperty createSymbolsProperty() | |
| dataBeingRemovedIsAdded | back to summary |
|---|---|
| pack-priv void dataBeingRemovedIsAdded(XYChart. Overrides javafx. Doc from javafx. This method is called when there is an attempt to add a Data item that was set to be removed, and the removal might not have completed.
| |
| dataItemAdded | back to summary |
|---|---|
| protected void dataItemAdded(final XYChart. Implements abstract javafx. Doc from javafx. Called when a data item has been added to a series. This is where implementations of XYChart can create/add new nodes to getPlotChildren to represent this data item. They also may animate that data add with a fade in or similar if animated = true.
| |
| dataItemChanged | back to summary |
|---|---|
| protected void dataItemChanged(XYChart. Implements abstract javafx. Doc from javafx. Called when a data item has changed, ie its xValue, yValue or extraValue has changed.
| |
| dataItemRemoved | back to summary |
|---|---|
| protected void dataItemRemoved(final XYChart. Implements abstract javafx. Doc from javafx. Called when a data item has been removed from data model but it is still visible on the chart. Its still visible so that you can handle animation for removing it in this method. After you are done animating the data item you must call removeDataItemFromDisplay() to remove the items node from being displayed on the chart.
| |
| getAxisSortingPolicy | back to summary |
|---|---|
| public final LineChart. | |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Gets the
| |
| getCreateSymbols | back to summary |
|---|---|
| public final boolean getCreateSymbols() Indicates whether symbols for data points will be created or not.
| |
| getCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Implements javafx. Doc from javafx. This method should delegate to
| |
| layoutPlotChildren | back to summary |
|---|---|
| protected void layoutPlotChildren() Implements abstract javafx. Doc from javafx. Called to update and layout the plot children. This should include all work to updates nodes representing the plot on top of the axis and grid lines etc. The origin is the top left of the plot area, the plot area with can be got by getting the width of the x axis and its height from the height of the y axis.
| |
| seriesAdded | back to summary |
|---|---|
| protected void seriesAdded(XYChart. Implements abstract javafx. Doc from javafx. A series has been added to the charts data model. This is where implementations of XYChart can create/add new nodes to getPlotChildren to represent this series. Also you have to handle adding any data items that are already in the series. You may simply call dataItemAdded() for each one or provide some different animation for a whole series being added.
| |
| seriesBeingRemovedIsAdded | back to summary |
|---|---|
| pack-priv void seriesBeingRemovedIsAdded(XYChart. Overrides javafx. Doc from javafx. This method is called when there is an attempt to add series that was set to be removed, and the removal might not have completed.
| |
| seriesChanged | back to summary |
|---|---|
| protected void seriesChanged(ListChangeListener. Overrides javafx. Doc from javafx. Called when each atomic change is made to the list of series for this chart
| |
| seriesRemoved | back to summary |
|---|---|
| protected void seriesRemoved(final XYChart. Implements abstract javafx. Doc from javafx. A series has been removed from the data model but it is still visible on the chart. Its still visible so that you can handle animation for removing it in this method. After you are done animating the data item you must call removeSeriesFromDisplay() to remove the series from the display list.
| |
| setAxisSortingPolicy | back to summary |
|---|---|
| public final void setAxisSortingPolicy(LineChart. | |
| setCreateSymbols | back to summary |
|---|---|
| public final void setCreateSymbols(boolean value) | |
| updateAxisRange | back to summary |
|---|---|
| protected void updateAxisRange() Overrides javafx. Doc from javafx. This is called when the range has been invalidated and we need to update it. If the axis are auto ranging then we compile a list of all data that the given axis has to plot and call invalidateRange() on the axis passing it that data.
| |
LineChart#axisSortingPolicyProperty().
| Modifier and Type | Field and Description |
|---|---|
| public static final LineChart. | NONE
The data should be left in the order defined by the list in |
| public static final LineChart. | X_AXIS
The data is ordered by x axis. |
| public static final LineChart. | Y_AXIS
The data is ordered by y axis. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LineChart. | |
| public static LineChart. |
| NONE | back to summary |
|---|---|
| public static final LineChart. The data should be left in the order defined by the list in | |
| X_AXIS | back to summary |
|---|---|
| public static final LineChart. The data is ordered by x axis. | |
| Y_AXIS | back to summary |
|---|---|
| public static final LineChart. The data is ordered by y axis. | |
| SortingPolicy | back to summary |
|---|---|
| private SortingPolicy() | |
| valueOf | back to summary |
|---|---|
| public static LineChart. | |
| values | back to summary |
|---|---|
| public static LineChart. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| CREATE_SYMBOLS | back to summary |
|---|---|
| private static final CssMetaData<LineChart<?, ?>, Boolean> CREATE_SYMBOLS | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |