ScatterSeries<T, D> constructor

ScatterSeries<T, D>({@required List<T> dataSource, @required ChartValueMapper<T, D> xValueMapper, @required ChartValueMapper<T, num> yValueMapper, ChartValueMapper<T, dynamic> sortFieldValueMapper, ChartValueMapper<T, Color> pointColorMapper, ChartValueMapper<T, String> dataLabelMapper, String xAxisName, String yAxisName, String name, Color color, MarkerSettings markerSettings, EmptyPointSettings emptyPointSettings, bool isVisible, double width, DataLabelSettings dataLabelSettings, bool enableTooltip, double animationDuration, Color borderColor, double borderWidth, LinearGradient gradient, SelectionSettings selectionSettings, bool isVisibleInLegend, LegendIconType legendIconType, SortingOrder sortingOrder, String legendItemText, double opacity })

Implementation

ScatterSeries(
    {@required List<T> dataSource,
    @required ChartValueMapper<T, D> xValueMapper,
    @required ChartValueMapper<T, num> yValueMapper,
    ChartValueMapper<T, dynamic> sortFieldValueMapper,
    ChartValueMapper<T, Color> pointColorMapper,
    ChartValueMapper<T, String> dataLabelMapper,
    String xAxisName,
    String yAxisName,
    String name,
    Color color,
    MarkerSettings markerSettings,
    EmptyPointSettings emptyPointSettings,
    bool isVisible,
    double width,
    DataLabelSettings dataLabelSettings,
    bool enableTooltip,
    double animationDuration,
    Color borderColor,
    double borderWidth,
    LinearGradient gradient,
    SelectionSettings selectionSettings,
    bool isVisibleInLegend,
    LegendIconType legendIconType,
    SortingOrder sortingOrder,
    String legendItemText,
    double opacity})
    : super(
          xValueMapper: xValueMapper,
          yValueMapper: yValueMapper,
          sortFieldValueMapper: sortFieldValueMapper,
          pointColorMapper: pointColorMapper,
          dataLabelMapper: dataLabelMapper,
          dataSource: dataSource,
          xAxisName: xAxisName,
          yAxisName: yAxisName,
          name: name,
          color: color,
          width: width ?? 2,
          markerSettings: markerSettings,
          dataLabelSettings: dataLabelSettings,
          emptyPointSettings: emptyPointSettings,
          enableTooltip: enableTooltip,
          isVisible: isVisible,
          animationDuration: animationDuration,
          borderColor: borderColor,
          borderWidth: borderWidth,
          gradient: gradient,
          selectionSettings: selectionSettings,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          opacity: opacity);