| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private BooleanProperty | createSymbols
When true, CSS styleable symbols are created for any data items that don't have a symbol node specified. |
| 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 Timeline |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 | |
| protected void | dataItemAdded(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. |
| private static double | |
| private static double | |
| 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. |
| pack-priv static <X, Y> void | |
| 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 | |
| protected void | updateAxisRange()
Overrides javafx. This is called when the range has been invalidated and we need to update it. |
| 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.
| |
| 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 | |
| timeline | back to summary |
|---|---|
| private Timeline timeline | |
| AreaChart | back to summary |
|---|---|
| public AreaChart(Axis<X> xAxis, Axis<Y> yAxis) Construct a new Area Chart with the given axis | |
| AreaChart | back to summary |
|---|---|
| public AreaChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart. Construct a new Area Chart with the given axis and data
| |
| 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() | |
| dataItemAdded | back to summary |
|---|---|
| protected void dataItemAdded(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.
| |
| doubleValue | back to summary |
|---|---|
| private static double doubleValue(Number number) | |
| doubleValue | back to summary |
|---|---|
| private static double doubleValue(Number number, double nullDefault) | |
| 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.
| |
| makePaths | back to summary |
|---|---|
| pack-priv static <X, Y> void makePaths(XYChart<X, Y> chart, XYChart. | |
| 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.
| |
| 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.
| |
| 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<AreaChart<?, ?>, Boolean> CREATE_SYMBOLS | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |