horizontalTextAlignment property

TextAnchor horizontalTextAlignment
final

Horizontal text alignment of the plot band text

Defaults to TextAnchor.middle

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(
            plotBands: <PlotBand>[
               PlotBand(
                   isVisible:true,
                   horizontalTextAlignment: TextAnchor.end
               )
             ]
          )
       ));
}

Implementation

final TextAnchor horizontalTextAlignment;