RadialBarSeries<T, D> constructor
RadialBarSeries<T, D>({List<T> dataSource, ChartValueMapper<T, D> xValueMapper, ChartValueMapper<T, num> yValueMapper, ChartValueMapper<T, Color> pointColorMapper, ChartValueMapper<T, String> pointRadiusMapper, ChartValueMapper<T, String> dataLabelMapper, ChartValueMapper<T, String> sortFieldValueMapper, Color trackColor: const Color.fromRGBO(234, 236, 239, 1.0), double trackBorderWidth: 0.0, double trackOpacity: 1, bool useSeriesColor: false, Color trackBorderColor: Colors.transparent, DataLabelSettings dataLabelSettings, String radius, String innerRadius, String gap, double maximumValue, double strokeWidth, double opacity, Color strokeColor, bool enableTooltip, bool enableSmartLabels, String name, double animationDuration, SelectionSettings selectionSettings, SortingOrder sortingOrder, LegendIconType legendIconType, CornerStyle cornerStyle })
Implementation
RadialBarSeries(
{List<T> dataSource,
ChartValueMapper<T, D> xValueMapper,
ChartValueMapper<T, num> yValueMapper,
ChartValueMapper<T, Color> pointColorMapper,
ChartValueMapper<T, String> pointRadiusMapper,
ChartValueMapper<T, String> dataLabelMapper,
ChartValueMapper<T, String> sortFieldValueMapper,
this.trackColor = const Color.fromRGBO(234, 236, 239, 1.0),
this.trackBorderWidth = 0.0,
this.trackOpacity = 1,
this.useSeriesColor = false,
this.trackBorderColor = Colors.transparent,
DataLabelSettings dataLabelSettings,
String radius,
String innerRadius,
String gap,
double maximumValue,
double strokeWidth,
double opacity,
Color strokeColor,
bool enableTooltip,
bool enableSmartLabels,
String name,
double animationDuration,
SelectionSettings selectionSettings,
SortingOrder sortingOrder,
LegendIconType legendIconType,
CornerStyle cornerStyle})
: super(
dataSource: dataSource,
animationDuration: animationDuration,
xValueMapper: (int index) => xValueMapper(dataSource[index], index),
yValueMapper: (int index) => yValueMapper(dataSource[index], index),
pointColorMapper: (int index) => pointColorMapper != null
? pointColorMapper(dataSource[index], index)
: null,
pointRadiusMapper: (int index) => pointRadiusMapper != null
? pointRadiusMapper(dataSource[index], index)
: null,
dataLabelMapper: (int index) => dataLabelMapper != null
? dataLabelMapper(dataSource[index], index)
: null,
sortFieldValueMapper: sortFieldValueMapper != null
? (int index) => sortFieldValueMapper(dataSource[index], index)
: null,
radius: radius,
innerRadius: innerRadius,
gap: gap,
maximumValue: maximumValue,
borderColor: strokeColor,
borderWidth: strokeWidth,
opacity: opacity,
enableTooltip: enableTooltip,
dataLabelSettings: dataLabelSettings,
name: name,
selectionSettings: selectionSettings,
sortingOrder: sortingOrder,
legendIconType: legendIconType,
enableSmartLabels: enableSmartLabels,
cornerStyle: cornerStyle);