Modifier and Type | Method and Description |
---|---|
Axis.AxisBuilder |
autoRange(Axis.AutoRange autoRange)
Determines whether or not the range of this axis is computed in relation to the input data.
|
Axis |
build() |
Axis.AxisBuilder |
categoryOrder(Axis.CategoryOrder categoryOrder) |
Axis.AxisBuilder |
color(String color) |
Axis.AxisBuilder |
constrain(Axis.Constrain constrain) |
Axis.AxisBuilder |
constrainToward(Axis.ConstrainToward constrainToward) |
Axis.AxisBuilder |
domain(float start,
float end) |
Axis.AxisBuilder |
fixedRange(boolean fixedRange)
Determines whether or not this axis is zoom-able.
|
Axis.AxisBuilder |
font(Font font) |
Axis.AxisBuilder |
gridColor(String color) |
Axis.AxisBuilder |
gridWidth(int width) |
Axis.AxisBuilder |
lineColor(String color) |
Axis.AxisBuilder |
lineWidth(int lineWidth) |
Axis.AxisBuilder |
overlaying(ScatterTrace.YAxis axisToOverlay)
Instructs plotly to overly the trace with this axis on top of a trace with another axis
|
Axis.AxisBuilder |
range(Object[] range)
Sets the range of this axis.
|
Axis.AxisBuilder |
range(Object low,
Object high)
Sets the range of this axis.
|
Axis.AxisBuilder |
rangeMode(Axis.RangeMode rangeMode)
If "normal", the range is computed in relation to the extrema of the input data.
|
Axis.AxisBuilder |
scaleRatio(double scaleRatio)
If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale
ratio.
|
Axis.AxisBuilder |
showGrid(boolean showGrid) |
Axis.AxisBuilder |
showLine(boolean showLine) |
Axis.AxisBuilder |
showZeroLine(boolean zeroLine) |
Axis.AxisBuilder |
side(Axis.Side side) |
Axis.AxisBuilder |
spikes(Axis.Spikes spikes) |
Axis.AxisBuilder |
tickSettings(TickSettings tickSettings)
Defines all the settings related to the display of tick marks on this axis
|
Axis.AxisBuilder |
title(String title) |
Axis.AxisBuilder |
titleFont(Font titleFont) |
Axis.AxisBuilder |
type(Axis.Type type) |
Axis.AxisBuilder |
visible(boolean visible) |
Axis.AxisBuilder |
zeroLineColor(String color) |
Axis.AxisBuilder |
zeroLineWidth(int zeroLineWidth) |
public Axis.AxisBuilder title(String title)
public Axis.AxisBuilder titleFont(Font titleFont)
public Axis.AxisBuilder type(Axis.Type type)
public Axis.AxisBuilder categoryOrder(Axis.CategoryOrder categoryOrder)
public Axis.AxisBuilder domain(float start, float end)
public Axis.AxisBuilder visible(boolean visible)
public Axis.AxisBuilder side(Axis.Side side)
public Axis.AxisBuilder overlaying(ScatterTrace.YAxis axisToOverlay)
axisToOverlay
- The axis we want to overlaypublic Axis.AxisBuilder fixedRange(boolean fixedRange)
public Axis.AxisBuilder color(String color)
public Axis.AxisBuilder font(Font font)
public Axis.AxisBuilder rangeMode(Axis.RangeMode rangeMode)
The default is normal.
public Axis.AxisBuilder spikes(Axis.Spikes spikes)
public Axis.AxisBuilder autoRange(Axis.AutoRange autoRange)
public Axis.AxisBuilder range(Object[] range)
If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
public Axis.AxisBuilder range(Object low, Object high)
If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis `type` is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.
public Axis.AxisBuilder constrain(Axis.Constrain constrain)
public Axis.AxisBuilder constrainToward(Axis.ConstrainToward constrainToward)
public Axis.AxisBuilder scaleRatio(double scaleRatio)
scaleRatio
- a number >= 1public Axis.AxisBuilder tickSettings(TickSettings tickSettings)
public Axis.AxisBuilder lineWidth(int lineWidth)
public Axis.AxisBuilder zeroLineWidth(int zeroLineWidth)
public Axis.AxisBuilder gridWidth(int width)
public Axis.AxisBuilder lineColor(String color)
public Axis.AxisBuilder gridColor(String color)
public Axis.AxisBuilder zeroLineColor(String color)
public Axis.AxisBuilder showLine(boolean showLine)
public Axis.AxisBuilder showGrid(boolean showGrid)
public Axis.AxisBuilder showZeroLine(boolean zeroLine)
public Axis build()
Copyright © 2019. All rights reserved.