Module com.iamsoft.util.ui
Package com.iamsoft.util.ui.javafx.chart
Class MultiXYChart.XYChartLayer<X,Y>
java.lang.Object
com.iamsoft.util.ui.javafx.chart.MultiXYChart.XYChartLayer<X,Y>
- Type Parameters:
X
- Type of horizontal (X) axis.Y
- Type of vertical (Y) axis.
- Enclosing class:
- MultiXYChart<X,
Y>
To properly maintain Y-axis ranges between multiple Y-axes, proper lower/upper bounds
should be set for Y-axes before creating chart layers. For example, if we want to show
two Y-axes, first with range [0,100] and second with range [10,20] (i.e. 0 of first
chart maps to 10 of second chart, 50 to 15, 100 to 20, etc.), we should set 0 and 100
for lower and upper bounds for first chart and 10 and 20 for lower and upper bounds
for second chart. The specified lower/upper bounds at time of creation of layer are
stored as default min/max values, which are then used to properly maintain
proportionality of of Y-axes lower/upper bounds, when zooming, etc.
-
Constructor Summary
ConstructorsConstructorDescriptionXYChartLayer
(String pLabel, javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<X, Y>> pSeriesData, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis) XYChartLayer
(String pLabel, javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<X, Y>> pSeriesData, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis, boolean pAutoUpdateYAxisLabel) XYChartLayer
(String pLabel, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis) XYChartLayer
(String pLabel, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis, boolean pAutoUpdateYAxisLabel) XYChartLayer
(String pLabel, javafx.scene.chart.XYChart.Series<X, Y> pSeries, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis) XYChartLayer
(String pLabel, javafx.scene.chart.XYChart.Series<X, Y> pSeries, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis, boolean pAutoUpdateYAxisLabel) XYChartLayer
(javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<X, Y>> pSeriesData, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis) XYChartLayer
(javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<X, Y>> pSeriesData, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis, boolean pAutoUpdateYAxisLabel) XYChartLayer
(javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis) XYChartLayer
(javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis, boolean pAutoUpdateYAxisLabel) XYChartLayer
(javafx.scene.chart.XYChart.Series<X, Y> pSeries, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis) XYChartLayer
(javafx.scene.chart.XYChart.Series<X, Y> pSeries, javafx.scene.chart.Axis<? super X> pXAxis, javafx.scene.chart.Axis<Y> pYAxis, boolean pAutoUpdateYAxisLabel) -
Method Summary
-
Constructor Details
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
XYChartLayer
-
-
Method Details
-
getSeriesData
-
getXAxis
-
getYAxis
-