CircularSeries<T, D> constructor

CircularSeries<T, D>({List<T> dataSource, ChartIndexedValueMapper<D> xValueMapper, ChartIndexedValueMapper<num> yValueMapper, ChartIndexedValueMapper<Color> pointColorMapper, ChartIndexedValueMapper<String> pointRadiusMapper, ChartIndexedValueMapper<String> dataLabelMapper, ChartIndexedValueMapper sortFieldValueMapper, int startAngle, int endAngle, String radius, String innerRadius, bool explode, bool explodeAll, int explodeIndex, ActivationMode explodeGesture, String explodeOffset, double groupTo, CircularChartGroupMode groupMode, String gap, double opacity, double maximumValue, EmptyPointSettings emptyPointSettings, Color borderColor, double borderWidth, DataLabelSettings dataLabelSettings, bool enableTooltip, bool enableSmartLabels, String name, double animationDuration, SelectionSettings selectionSettings, SortingOrder sortingOrder, LegendIconType legendIconType, CornerStyle cornerStyle })

Implementation

CircularSeries(
    {this.dataSource,
    this.xValueMapper,
    this.yValueMapper,
    this.pointColorMapper,
    this.pointRadiusMapper,
    this.dataLabelMapper,
    this.sortFieldValueMapper,
    int startAngle,
    int endAngle,
    String radius,
    String innerRadius,
    bool explode,
    bool explodeAll,
    this.explodeIndex,
    ActivationMode explodeGesture,
    String explodeOffset,
    this.groupTo,
    this.groupMode,
    String gap,
    double opacity,
    this.maximumValue,
    EmptyPointSettings emptyPointSettings,
    Color borderColor,
    double borderWidth,
    DataLabelSettings dataLabelSettings,
    bool enableTooltip,
    bool enableSmartLabels,
    this.name,
    double animationDuration,
    SelectionSettings selectionSettings,
    SortingOrder sortingOrder,
    LegendIconType legendIconType,
    CornerStyle cornerStyle})
    : startAngle = startAngle ?? 0,
      animationDuration = animationDuration ?? 1500,
      endAngle = endAngle ?? 360,
      radius = radius ?? '80%',
      innerRadius = innerRadius ?? '50%',
      explode = explode ?? false,
      explodeAll = explodeAll ?? false,
      explodeOffset = explodeOffset ?? '10%',
      explodeGesture = explodeGesture ?? ActivationMode.singleTap,
      gap = gap ?? '1%',
      cornerStyle = cornerStyle ?? CornerStyle.bothFlat,
      dataLabelSettings = dataLabelSettings ?? DataLabelSettings(),
      emptyPointSettings = emptyPointSettings ?? EmptyPointSettings(),
      selectionSettings = selectionSettings ?? SelectionSettings(),
      borderColor = borderColor ?? Colors.transparent,
      borderWidth = borderWidth ?? 0.0,
      opacity = opacity ?? 1,
      enableTooltip = enableTooltip ?? true,
      sortingOrder = sortingOrder ?? SortingOrder.none,
      legendIconType = legendIconType ?? LegendIconType.seriesType,
      enableSmartLabels = enableSmartLabels ?? true,
      super(name: name) {
  _needsRepaint = true;
  _renderer = _ChartSeriesRender();
}