StepLineSeries<T, D> constructor
StepLineSeries<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, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, bool isVisible, bool enableTooltip, List<double> dashArray, double animationDuration, SelectionSettings selectionSettings, SortingOrder sortingOrder, bool isVisibleInLegend, LegendIconType legendIconType, String legendItemText, double opacity })
Implementation
StepLineSeries(
{@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,
EmptyPointSettings emptyPointSettings,
DataLabelSettings dataLabelSettings,
bool isVisible,
bool enableTooltip,
List<double> dashArray,
double animationDuration,
SelectionSettings selectionSettings,
SortingOrder sortingOrder,
bool isVisibleInLegend,
LegendIconType legendIconType,
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,
dashArray: dashArray,
isVisible: isVisible,
animationDuration: animationDuration,
selectionSettings: selectionSettings,
legendItemText: legendItemText,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
opacity: opacity);