下面列出了怎么用javafx.scene.chart.ValueAxis的API类实例代码及写法,或者点击链接到github查看源代码。
private static <T> DoubleProperty getLowerBoundProperty( Axis<T> axis ) {
return axis instanceof ValueAxis ?
((ValueAxis<?>) axis).lowerBoundProperty() :
toDoubleProperty(axis, ChartZoomManager.<T>getProperty(axis, "lowerBoundProperty") );
}
private static <T> DoubleProperty getUpperBoundProperty( Axis<T> axis ) {
return axis instanceof ValueAxis ?
((ValueAxis<?>) axis).upperBoundProperty() :
toDoubleProperty(axis, ChartZoomManager.<T>getProperty(axis, "upperBoundProperty") );
}