public class Axis extends Options
| Modifier and Type | Field and Description |
|---|---|
Boolean |
allowDecimals
Whether to allow decimals in this axis' ticks.
|
String |
alternateGridColor
When using an alternate grid color, a band is painted across the plot area between every
other grid line.
|
List<String> |
categories
If categories are present for the x-axis, names are used instead of numbers for that axis.
|
Double |
ceiling
The highest allowed value for automatically computed axis extremes.
|
DateTimeFormatOptions |
dateTimeLabelFormats
For a date/time axis, the scale will automatically adjust to the appropriate unit.
|
Boolean |
endOnTick
Whether to force the axis to end on a tick.
|
Double |
floor
The lowest allowed value for automatically computed axis extremes.
|
String |
gridLineColor
Color of the grid lines extending the ticks across the plot area.
|
DashStyle |
gridLineDashStyle
The dash or dot style of the grid lines.
|
Integer |
gridLineWidth
The width of the grid lines extending the ticks across the plot area.
|
String |
id
An id for the axis.
|
int |
index
Index of the axis within the chart.
|
AxisLabelOptions |
labels
The axis labels show the number or category for each tick.
|
String |
lineColor
The color of the line marking the axis itself.
|
Integer |
lineWidth
The width of the line marking the axis itself.
|
Integer |
linkedTo
Index of another axis that this axis is linked to.
|
Double |
max
The maximum value of the axis.
|
Double |
maxPadding
Padding of the max value relative to the length of the axis.
|
Double |
min
The minimum value of the axis.
|
String |
minorGridLineColor
Color of the minor, secondary grid lines.
|
DashStyle |
minorGridLineDashStyle
The dash or dot style of the minor grid lines.
|
Integer |
minorGridLineWidth
Width of the minor, secondary grid lines.
|
String |
minorTickColor
Color for the minor tick marks.
|
Double |
minorTickInterval
Tick interval in scale units for the minor ticks.
|
Integer |
minorTickLength
The pixel length of the minor tick marks.
|
String |
minorTickPosition
The position of the minor tick marks relative to the axis line.
|
Integer |
minorTickWidth
The pixel width of the minor tick mark.
|
Double |
minPadding
Padding of the min value relative to the length of the axis.
|
Double |
minRange
The minimum range to display on this axis.
|
Double |
minTickInterval
The minimum tick interval allowed in axis values.
|
Integer |
offset
The distance in pixels from the plot area to the axis line.
|
Boolean |
opposite
Whether to display the axis on the opposite side of the normal.
|
List<PlotBandOptions> |
plotBands
A colored band stretching across the plot area marking an interval on the axis.
|
List<PlotLineOptions> |
plotLines
A line stretching across the plot area, marking a specific value on one of the axes.
|
Boolean |
reversed
Whether to reverse the axis so that the highest number is closest to origin.
|
Boolean |
showEmpty
Whether to show the axis line and title when the axis has no data.
|
Boolean |
showFirstLabel
Whether to show the first tick label.
|
Boolean |
showLastLabel
Whether to show the last tick label.
|
Integer |
startOfWeek
For datetime axes, this decides where to put the tick between weeks.
|
Boolean |
startOnTick
Whether to force the axis to start on a tick.
|
String |
tickColor
Color for the main tick marks.
|
Double |
tickInterval
The interval of the tick marks in axis units.
|
Integer |
tickLength
The pixel length of the main tick marks.
|
String |
tickmarkPlacement
For categorized axes only.
|
Integer |
tickPixelInterval
If tickInterval is null this option sets the approximate pixel interval of the tick marks.
|
String |
tickPosition
The position of the major tick marks relative to the axis line.
|
Integer |
tickWidth
The pixel width of the major tick marks.
|
AxisTitleOptions |
title
The axis title, showing next to the axis line.
|
String |
type
The type of axis.
|
public Boolean allowDecimals
public String alternateGridColor
public final List<String> categories
public Double ceiling
public final DateTimeFormatOptions dateTimeLabelFormats
DateTimeFormatOptionspublic Boolean endOnTick
public Double floor
public String gridLineColor
public DashStyle gridLineDashStyle
public Integer gridLineWidth
public String id
public AxisLabelOptions labels
public String lineColor
public Integer lineWidth
public Integer linkedTo
public Double max
public Double maxPadding
public Double min
public Double minPadding
public Double minRange
public Double minTickInterval
public String minorGridLineColor
public DashStyle minorGridLineDashStyle
public Integer minorGridLineWidth
public String minorTickColor
public Double minorTickInterval
public Integer minorTickLength
public String minorTickPosition
public Integer minorTickWidth
public Integer offset
public Boolean opposite
public final List<PlotBandOptions> plotBands
PlotBandOptionspublic final List<PlotLineOptions> plotLines
PlotLineOptionspublic Boolean reversed
public Boolean showEmpty
public Boolean showFirstLabel
public Boolean showLastLabel
public Integer startOfWeek
public Boolean startOnTick
public String tickColor
public Double tickInterval
public Integer tickLength
public Integer tickPixelInterval
public String tickPosition
public Integer tickWidth
public String tickmarkPlacement
public final AxisTitleOptions title
public String type
public final transient int index
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.