| Modifier and Type | Field and Description |
|---|---|
private org.jfree.chart.axis.Axis |
axis |
private boolean |
domain |
private int |
index |
private com.zavtech.morpheus.util.Bounds<?> |
range |
| Modifier | Constructor and Description |
|---|---|
private |
AxisAdapter(org.jfree.chart.axis.Axis axis,
int index,
boolean domain)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
XyAxis |
asDateScale()
Marks this axis as a linear date axis
|
XyAxis |
asLinearScale()
Marks this axis as a linear numeric axis
|
XyAxis |
asLogScale()
Marks this axis as a log scale axis
|
ChartFormat |
format()
Returns the format for this axis
|
ChartLabel |
label()
Returns the label for this axis
|
ChartTextStyle |
ticks()
Returns the style interface for this axis
|
private long |
toEpochMillis(Object value)
Converts some argument into epoch millis if it can
|
XyAxis |
withRange(com.zavtech.morpheus.util.Bounds<?> range)
Sets the upper and lower bounds for the range of this axis
|
private org.jfree.chart.axis.Axis axis
private int index
private boolean domain
private com.zavtech.morpheus.util.Bounds<?> range
private AxisAdapter(org.jfree.chart.axis.Axis axis,
int index,
boolean domain)
axis - the axis referenceindex - the index for this axisdomain - true if adapter is for domain axispublic ChartLabel label()
XyAxispublic ChartFormat format()
XyAxispublic ChartTextStyle ticks()
XyAxispublic XyAxis asLogScale()
XyAxisasLogScale in interface XyAxispublic XyAxis asLinearScale()
XyAxisasLinearScale in interface XyAxispublic XyAxis asDateScale()
XyAxisasDateScale in interface XyAxispublic XyAxis withRange(com.zavtech.morpheus.util.Bounds<?> range)
XyAxisprivate long toEpochMillis(Object value)
value - the value to convertCopyright 2014-2017, Xavier Witdouck