BarChartRodLabel
A text label drawn past the tip of a BarChartRod.
Properties
angle- The rotation of the label, in degrees.offset- The position of the label relative to the tip of the rod, in logical pixels.text- The text of the label.text_style- The text style of the label.
Properties
offsetclass-attributeinstance-attribute
The position of the label relative to the tip of the rod, in logical pixels.
x moves the label sideways, and y moves it away from the rod.
textclass-attributeinstance-attribute
text: str = ''The text of the label.
If empty, no label is drawn.
text_styleclass-attributeinstance-attribute
text_style: TextStyle | None = NoneThe text style of the label.
Defaults to the theme's TextTheme.body_medium.