customizeSegment method
Changes the series color, border color, and border width.
Implementation
@override
void customizeSegment(ChartSegment _segment) {
_hiloOpenCloseSeries = _series as HiloOpenCloseSeries<dynamic, dynamic>;
_segment._color = _segment._seriesRenderer._seriesColor;
_segment._strokeColor = _segment is HiloOpenCloseSegment && _segment._isBull
? _hiloOpenCloseSeries.bullColor
: _hiloOpenCloseSeries.bearColor;
_segment._strokeWidth = _segment._series.borderWidth;
}