Class JsAxisDescriptor
java.lang.Object
io.deephaven.web.client.api.widget.plot.JsAxisDescriptor
A descriptor used to configure an axis when creating a figure from JS.
-
Field Summary
FieldsModifier and TypeFieldDescription@JsNullable StringThe axis color.@JsNullable StringThe format pattern used to render axis values.@jsinterop.annotations.JsNullable doubleThe gap between adjacent major ticks.@jsinterop.annotations.JsNullable booleanWhether to invert the axis.@jsinterop.annotations.JsNullable booleanWhether this axis should be treated as a time axis.@JsNullable StringThe axis label.@JsNullable StringThe font used to render the axis label.@jsinterop.annotations.JsNullable booleanWhether to use logarithmic scaling.@JsNullable elemental2.core.JsArray<Double> Explicit locations for major ticks.@jsinterop.annotations.JsNullable booleanWhether major ticks are visible.@jsinterop.annotations.JsNullable doubleThe maximum value for the axis range, orJsNumber.NaNto use the default.@jsinterop.annotations.JsNullable intThe number of minor ticks between adjacent major ticks.@jsinterop.annotations.JsNullable booleanWhether minor ticks are visible.@jsinterop.annotations.JsNullable doubleThe minimum value for the axis range, orJsNumber.NaNto use the default.@jsinterop.annotations.JsNullable doubleThe angle to render tick labels at.@JsNullable StringThe font used to render tick labels. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
formatType
-
type
-
position
-
log
public @jsinterop.annotations.JsNullable boolean logWhether to use logarithmic scaling. -
label
The axis label. -
labelFont
The font used to render the axis label. -
ticksFont
The font used to render tick labels. -
formatPattern
The format pattern used to render axis values. -
color
The axis color. -
minRange
public @jsinterop.annotations.JsNullable double minRangeThe minimum value for the axis range, orJsNumber.NaNto use the default. -
maxRange
public @jsinterop.annotations.JsNullable double maxRangeThe maximum value for the axis range, orJsNumber.NaNto use the default. -
minorTicksVisible
public @jsinterop.annotations.JsNullable boolean minorTicksVisibleWhether minor ticks are visible.Minor ticks are typically small, unlabeled tick marks drawn between major ticks.
-
majorTicksVisible
public @jsinterop.annotations.JsNullable boolean majorTicksVisibleWhether major ticks are visible.Major ticks are the primary tick marks on an axis. They typically determine the main tick spacing and are often the tick marks that are labeled.
-
minorTickCount
public @jsinterop.annotations.JsNullable int minorTickCountThe number of minor ticks between adjacent major ticks. -
gapBetweenMajorTicks
public @jsinterop.annotations.JsNullable double gapBetweenMajorTicksThe gap between adjacent major ticks. -
majorTickLocations
Explicit locations for major ticks.When specified, these values are used as the primary (major) tick positions instead of automatically choosing major ticks.
-
tickLabelAngle
public @jsinterop.annotations.JsNullable double tickLabelAngleThe angle to render tick labels at. -
invert
public @jsinterop.annotations.JsNullable boolean invertWhether to invert the axis. -
isTimeAxis
public @jsinterop.annotations.JsNullable boolean isTimeAxisWhether this axis should be treated as a time axis.
-
-
Constructor Details
-
JsAxisDescriptor
@JsConstructor public JsAxisDescriptor() -
JsAxisDescriptor
-