| Modifier and Type | Field and Description |
|---|---|
| private ParallelTransition |
| Access | Constructor and Description |
|---|---|
| public | BubbleChart(Axis<X>
The x axis to use xAxis, Axis<Y> The y axis to use yAxis)Construct a new BubbleChart with the given axis. |
| public | BubbleChart(Axis<X>
The x axis to use xAxis, Axis<Y> The y axis to use yAxis, ObservableList<XYChart.The data to use, this is the actual list used so any changes to it will be reflected in the chart dataConstruct a new BubbleChart with the given axis and data. |
| Modifier and Type | Method and Description |
|---|---|
| private Node | Returns: Node used for given data itemThe index of the series containing the item seriesIndex, final XYChart.The data item to create node for item,The index of the data item in the series itemIndex)Create a Bubble for a given data item if it doesn't already have a node |
| pack-priv Legend. | createLegendItemForSeries(XYChart.
Overrides javafx. Called by the updateLegend for each series in the chart in order to create new legend item |
| 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 | Returns: number converted to double or nullDefaultObject possibly a instance of Number number, double What value to return if the number object is null or not a Number nullDefault)Used to get a double value from a object that can be a Number object or null |
| 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 | seriesRemoved(final XYChart.
Implements abstract javafx. A series has been removed from the data model but it is still visible on the chart. |
| protected void | updateAxisRange()
Overrides javafx. This is called when the range has been invalidated and we need to update it. |
| parallelTransition | back to summary |
|---|---|
| private ParallelTransition parallelTransition | |
| BubbleChart | back to summary |
|---|---|
| public BubbleChart(Axis<X> xAxis, Axis<Y> yAxis) Construct a new BubbleChart with the given axis. BubbleChart does not use a Category Axis. Both X and Y axes should be of type NumberAxis. | |
| BubbleChart | back to summary |
|---|---|
| public BubbleChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart. Construct a new BubbleChart with the given axis and data. BubbleChart does not use a Category Axis. Both X and Y axes should be of type NumberAxis.
| |
| createBubble | back to summary |
|---|---|
| private Node createBubble(XYChart. Create a Bubble for a given data item if it doesn't already have a node | |
| 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
| |
| 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.
| |
| getDoubleValue | back to summary |
|---|---|
| private static double getDoubleValue(Object number, double nullDefault) Used to get a double value from a object that can be a Number object or null
| |
| 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.
| |
| 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.
| |
| updateAxisRange | back to summary |
|---|---|
| protected void updateAxisRange() Overrides 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.
| |