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 classAxis.AutoRangeDetermines whether or not the range of this axis is computed in relation to the input data.static classAxis.AxisBuilderstatic classAxis.CategoryOrderstatic classAxis.ConstrainIf 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 classAxis.ConstrainTowardIf 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 classAxis.RangeModeIf "normal", the range is computed in relation to the extrema of the input data.static classAxis.ScaleAnchorIf set to another axis id (e.g.static classAxis.SideDetermines whether an x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area.static classAxis.Spikesstatic classAxis.TypeSets the axis type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasJavascript()static Axis.AxisBuilderbuilder()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:
asJavascriptin classComponent
-
getContext
protected Map<String,Object> getContext()
- Specified by:
getContextin classComponent
-
-