axisLabelComponent
Creates a TextComponent to be used for axis labels.
Parameters
the text color.
the text size.
an optional ShapeComponent to be displayed behind the text.
the text truncation behavior.
the line count.
the amount of top and bottom padding between the text and the background.
the amount of start and end padding between the text and the background.
the size of the top and bottom margins around the background.
the size of the start and end margins around the background.
the Typeface for the text.
the text alignment.
Deprecated
Instead of `textAlign`, use `textAlignment`.
Creates a TextComponent to be used for axis labels.
Parameters
the text color.
the text size.
an optional ShapeComponent to be displayed behind the text.
the text truncation behavior.
the line count.
the amount of top and bottom padding between the text and the background.
the amount of start and end padding between the text and the background.
the size of the top and bottom margins around the background.
the size of the start and end margins around the background.
the Typeface for the text.
the text alignment.