ChartSeries<T, D> constructor
const
ChartSeries<T, D> ({
- ChartIndexedValueMapper<
D> ? xValueMapper, - ChartIndexedValueMapper? yValueMapper,
- ChartIndexedValueMapper<
String> ? dataLabelMapper, - String? name,
- List<
T> ? dataSource, - ChartIndexedValueMapper<
Color> ? pointColorMapper, - ChartIndexedValueMapper? sortFieldValueMapper,
- bool? enableTooltip,
- EmptyPointSettings? emptyPointSettings,
- DataLabelSettings? dataLabelSettings,
- double? animationDuration,
- Color? borderColor,
- double? borderWidth,
- SelectionBehavior? selectionBehavior,
- String? legendItemText,
- LegendIconType? legendIconType,
- double? opacity,
- SortingOrder? sortingOrder,
- double? animationDelay,
- bool? isVisible,
Creating an argument constructor of ChartSeries class.
Implementation
const ChartSeries(
{this.xValueMapper,
this.yValueMapper,
this.dataLabelMapper,
this.name,
this.dataSource,
this.pointColorMapper,
this.sortFieldValueMapper,
bool? enableTooltip,
this.emptyPointSettings,
this.dataLabelSettings,
this.animationDuration,
this.borderColor,
this.borderWidth,
this.selectionBehavior,
this.legendItemText,
this.legendIconType,
this.opacity,
this.sortingOrder,
this.animationDelay,
this.isVisible})
: enableTooltip = enableTooltip ?? true;