public class AxisInfo extends java.lang.Object implements IAxisInfoUpdatable
IAxisInfoProvider.getAxisInfo()
Modifier and Type | Field and Description |
---|---|
AxisAlignment |
axisAlignment
The
AxisAlignment value |
java.lang.CharSequence |
axisFormattedDataValue
The data value formatted with
IAxisCore.getTextFormatting() string |
java.lang.String |
axisId
The axis id
|
java.lang.CharSequence |
axisTitle
The axis title
|
java.lang.CharSequence |
cursorFormattedDataValue
The data value formatted with
IAxisCore.getCursorTextFormatting() string |
java.lang.Comparable<?> |
dataValue
The data value
|
boolean |
isHorizontal
Flag indicating whether the associated axis is horizontal axis
|
boolean |
isXAxis
Flag indicating whether the associated axis is XAxis
|
Constructor and Description |
---|
AxisInfo(IAxis axis)
Creates a new instance of
AxisInfo class |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
IAxis |
getAxis()
Gets parent
IAxis which is used to update current IAxisInfoUpdatable instance |
static AxisInfo |
obtain(IAxis axis,
java.lang.Comparable<?> dataValue)
Helper method which creates and updates
AxisInfo instance with latest information provided by axis |
void |
update()
Updates this instance with latest value which does not depend on data value
|
void |
update(java.lang.Comparable dataValue)
Updates underlying
AxisInfo based on dataValue |
public java.lang.String axisId
public java.lang.CharSequence axisTitle
public AxisAlignment axisAlignment
AxisAlignment
valuepublic java.lang.Comparable<?> dataValue
public java.lang.CharSequence axisFormattedDataValue
IAxisCore.getTextFormatting()
stringpublic java.lang.CharSequence cursorFormattedDataValue
IAxisCore.getCursorTextFormatting()
stringpublic boolean isHorizontal
public boolean isXAxis
public void update(java.lang.Comparable dataValue)
AxisInfo
based on dataValue
update
in interface IAxisInfoUpdatable
dataValue
- The new data valuepublic void update()
public final IAxis getAxis()
IAxis
which is used to update current IAxisInfoUpdatable
instancegetAxis
in interface IAxisInfoUpdatable
public void clear()
clear
in interface com.scichart.core.framework.ICleanable