-
public class Axis.SizeConstraintDefines how an Axis is to size itself.
For VerticalAxis, this defines the width.
For HorizontalAxis, this defines the height.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAxis.SizeConstraint.AutoThe axis will measure itself and use as much space as it needs, but no less than minSizeDp, and no more than maxSizeDp.
public final classAxis.SizeConstraint.ExactThe axis size will be exactly sizeDp.
public final classAxis.SizeConstraint.FractionThe axis will use a fraction of the available space.
public final classAxis.SizeConstraint.TextWidthThe axis will measure the width of its label component (label) for the given String (text), and it will use this width as its size. In the case of VerticalAxis, the width of the axis line and the tick length will also be considered.
-