| Modifier and Type | Method and Description |
|---|---|
static void |
bindBounds(ValueAxis<?> axis,
ValueAxis<?> observable)
Binds lower and upper bound of given axis to the specified
observable axis. |
static boolean |
hasBoundedRange(Axis axis)
|
static boolean |
hasBoundedRange(ValueAxis<?> axis)
|
static boolean |
isCategoryAxis(Axis axis)
Returns
true if given axis is an instance of CategoryAxis. |
static void |
unbindBounds(ValueAxis<?> axis)
Unbinds lower and upper bound of given axis. |
public static void bindBounds(ValueAxis<?> axis, ValueAxis<?> observable)
observable axis.axis - axis whose lower/upper bound should be boundobservable - the target axisNullPointerException - if either axis is null TODO: found bug if axis and observable axis are
slightly different (e.g. one longer or shifted w.r.t. the other) This function the forces the axis of
observable (basechart) even if the 'axis' extends beyond thatpublic static boolean hasBoundedRange(Axis axis)
axis - the tested axistrue if either lower or upper bound is boundpublic static boolean hasBoundedRange(ValueAxis<?> axis)
axis - the tested axistrue if either lower or upper bound is boundpublic static boolean isCategoryAxis(Axis axis)
true if given axis is an instance of CategoryAxis.axis - the axis to testtrue if given axis is an instance of CategoryAxis.public static void unbindBounds(ValueAxis<?> axis)
Unbinds lower and upper bound of given axis.axis - axis whose lower and upper bound should be unboundNullPointerException - if the given axis is nullCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.