Package tech.tablesaw.plotly.components
Class Axis
- java.lang.Object
-
- tech.tablesaw.plotly.components.Component
-
- tech.tablesaw.plotly.components.Axis
-
public class Axis extends Component
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Axis.AutoRange
Determines whether or not the range of this axis is computed in relation to the input data.static class
Axis.AxisBuilder
static class
Axis.CategoryOrder
static class
Axis.Constrain
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range" (default), or by decreasing the "domain".static class
Axis.ConstrainToward
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area.static class
Axis.RangeMode
If "normal", the range is computed in relation to the extrema of the input data.static class
Axis.ScaleAnchor
If set to another axis id (e.g.static class
Axis.Side
Determines whether an x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area.static class
Axis.Spikes
static class
Axis.Type
Sets the axis type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asJavascript()
static Axis.AxisBuilder
builder()
protected Map<String,Object>
getContext()
-
Methods inherited from class tech.tablesaw.plotly.components.Component
asJavascript, asJSON, getEngine, getJSONContext, toString
-
-
-
-
Method Detail
-
builder
public static Axis.AxisBuilder builder()
-
asJavascript
public String asJavascript()
- Specified by:
asJavascript
in classComponent
-
getContext
protected Map<String,Object> getContext()
- Specified by:
getContext
in classComponent
-
-