getCalculatedMinWidth method

  1. @override
double getCalculatedMinWidth()
override

Gets the calculated minimum width of the graph.

Implementation

@override
double getCalculatedMinWidth() {
  if (minWidthOverride) {
    return minWidth;
  }

  return max(getLabelCountX() * (max(maxLabelWidthX, getBarWidth()) + barSetMargin), minWidth);
}