bodyRight property
double
get
bodyRight
The right edge of the panes and their axes: the graph's, less a legend beside them.
Implementation
double get bodyRight => math.max(0, size.width - (legend?.right ?? 0));