createSegment method

  1. @override
LineSegment<T, D> createSegment()
override

Creates a segment for a data point in the series.

Implementation

@override
LineSegment<T, D> createSegment() {
  _hasNewSegmentAdded = true;
  return LineSegment<T, D>();
}