assignMissingStrokeWidths method

  1. @protected
void assignMissingStrokeWidths(
  1. Iterable<MutableSeries<D>> seriesList
)
inherited

Assigns missing stroke widths in case when strokeWidthPx accessor functions are not set.

Implementation

@protected
void assignMissingStrokeWidths(Iterable<MutableSeries<D>> seriesList) {
  for (final series in seriesList) {
    series.strokeWidthPxFn ??= (_) => config.strokeWidthPx;
  }
}