getRadius method

  1. @override
double getRadius()
override

Returns the radius of the chart in pixels.

@return

Implementation

@override
double getRadius() {
    return min(_circleBox.width / 2.0, _circleBox.height / 2.0);
}