SplineSeries<T, D> constructor

SplineSeries<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, double width, LinearGradient gradient, MarkerSettings markerSettings, SplineType splineType, double cardinalSplineTension, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, bool isVisible, bool enableTooltip, List<double> dashArray, double animationDuration, SelectionSettings selectionSettings, bool isVisibleInLegend, LegendIconType legendIconType, SortingOrder sortingOrder, String legendItemText, double opacity })

Implementation

SplineSeries(
    {@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,
    double width,
    LinearGradient gradient,
    MarkerSettings markerSettings,
    this.splineType,
    this.cardinalSplineTension,
    EmptyPointSettings emptyPointSettings,
    DataLabelSettings dataLabelSettings,
    bool isVisible,
    bool enableTooltip,
    List<double> dashArray,
    double animationDuration,
    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,
          gradient: gradient,
          markerSettings: markerSettings,
          dataLabelSettings: dataLabelSettings,
          emptyPointSettings: emptyPointSettings,
          enableTooltip: enableTooltip,
          isVisible: isVisible,
          dashArray: dashArray,
          animationDuration: animationDuration,
          selectionSettings: selectionSettings,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          opacity: opacity);