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.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Axis(List<Axis> axes) |
@Option public Boolean allowDecimals
@Option public String alternateGridColor
@Option public final List<String> categories
@Option public Double ceiling
@Option public final DateTimeFormatOptions dateTimeLabelFormats
DateTimeFormatOptions@Option public Boolean endOnTick
@Option public Double floor
@Option public String gridLineColor
@Option public DashStyle gridLineDashStyle
@Option public Integer gridLineWidth
@Option public AxisLabelOptions labels
@Option public String lineColor
@Option public Integer lineWidth
@Option public Integer linkedTo
@Option public Double max
@Option public Double maxPadding
@Option public Double min
@Option public Double minPadding
@Option public Double minRange
@Option public Double minTickInterval
@Option public String minorGridLineColor
@Option public DashStyle minorGridLineDashStyle
@Option public Integer minorGridLineWidth
@Option public String minorTickColor
@Option public Double minorTickInterval
@Option public Integer minorTickLength
@Option public String minorTickPosition
@Option public Integer minorTickWidth
@Option public Integer offset
@Option public Boolean opposite
@Option public final List<PlotBandOptions> plotBands
PlotBandOptions@Option public final List<PlotLineOptions> plotLines
PlotLineOptions@Option public Boolean reversed
@Option public Boolean showEmpty
@Option public Boolean showFirstLabel
@Option public Boolean showLastLabel
@Option public Integer startOfWeek
@Option public Boolean startOnTick
@Option public Double tickInterval
@Option public Integer tickLength
@Option public Integer tickPixelInterval
@Option public String tickPosition
@Option public String tickmarkPlacement
@Option public final AxisTitleOptions title
@Option public String type
Copyright © 2018 Fujion Framework. All rights reserved.