CartesianSeries<T, D> constructor
CartesianSeries<T, D>({ChartIndexedValueMapper<D> xValueMapper, ChartIndexedValueMapper<num> yValueMapper, ChartIndexedValueMapper<String> dataLabelMapper, String name, List<T> dataSource, String xAxisName, String yAxisName, ChartIndexedValueMapper<num> sizeValueMapper, ChartIndexedValueMapper<Color> pointColorMapper, Color color, String legendItemText, ChartIndexedValueMapper sortFieldValueMapper, LinearGradient gradient, double width, MarkerSettings markerSettings, bool isVisible, bool enableTooltip, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, double animationDuration, List<double> dashArray, Color borderColor, double borderWidth, SelectionSettings selectionSettings, bool isVisibleInLegend, LegendIconType legendIconType, double opacity, List<ChartSegment> segments, SortingOrder sortingOrder })
Implementation
CartesianSeries(
{this.xValueMapper,
this.yValueMapper,
this.dataLabelMapper,
this.name,
this.dataSource,
this.xAxisName,
this.yAxisName,
this.sizeValueMapper,
this.pointColorMapper,
this.color,
this.legendItemText,
this.sortFieldValueMapper,
this.gradient,
this.width,
MarkerSettings markerSettings,
bool isVisible,
bool enableTooltip,
EmptyPointSettings emptyPointSettings,
DataLabelSettings dataLabelSettings,
double animationDuration,
List<double> dashArray,
Color borderColor,
double borderWidth,
SelectionSettings selectionSettings,
bool isVisibleInLegend,
LegendIconType legendIconType,
double opacity,
List<ChartSegment> segments,
SortingOrder sortingOrder})
: isVisible = isVisible ?? true,
markerSettings = markerSettings ?? MarkerSettings(),
dataLabelSettings = dataLabelSettings ?? DataLabelSettings(),
enableTooltip = enableTooltip ?? true,
emptyPointSettings = emptyPointSettings ?? EmptyPointSettings(),
dashArray = dashArray ?? <double>[0, 0],
animationDuration = animationDuration ?? 1500,
borderColor = borderColor ?? Colors.transparent,
selectionSettings = selectionSettings ?? SelectionSettings(),
legendIconType = legendIconType ?? LegendIconType.seriesType,
isVisibleInLegend = isVisibleInLegend ?? true,
borderWidth = borderWidth ?? 0,
opacity = opacity ?? 1,
sortingOrder = sortingOrder ?? SortingOrder.none,
segments = segments ?? <ChartSegment>[],
super(
name: name,
xValueMapper: xValueMapper,
yValueMapper: yValueMapper,
sortFieldValueMapper: sortFieldValueMapper,
pointColorMapper: pointColorMapper,
dataLabelMapper: dataLabelMapper,
dataSource: dataSource,
emptyPointSettings: emptyPointSettings,
dataLabelSettings: dataLabelSettings,
enableTooltip: enableTooltip,
animationDuration: animationDuration,
selectionSettings: selectionSettings,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
opacity: opacity);