drawInternal method

  1. @override
void drawInternal(
  1. List<MutableSeries<D>> seriesList, {
  2. bool? skipAnimation,
  3. bool? skipLayout,
})
override

Implementation

@override
void drawInternal(List<MutableSeries<D>> seriesList,
    {bool? skipAnimation, bool? skipLayout}) {
  if (seriesList.length > 1) {
    throw ArgumentError('PieChart can only render a single series');
  }
  super.drawInternal(seriesList,
      skipAnimation: skipAnimation, skipLayout: skipLayout);
}