LineSeries<T>.test constructor
LineSeries<T>.test (
- ChartLineData d,
- int lineIndex
Implementation
factory LineSeries.test(ChartLineData d, int lineIndex) {
return LineSeries(
groupOrder: d.groupOrder,
groupCode: d.groupCode,
x: d.x as T,
xDisplay: d.xDisplay,
y: d.ys.isNotEmpty ? (d.ys[lineIndex].y) : d.y,
unit: d.ys.isNotEmpty ? d.ys[lineIndex].unit : '',
color: d.color,
fillColor: d.fillColor,
dashPattern: d.dashPattern,
yDisplay: d.yDisplay ?? d.ys[lineIndex].yDisplay);
}