setCandleStyle method

void setCandleStyle(
  1. CandleStyle style
)

Changes the candle presentation style (Candles, Hollow, Heikin Ashi, Line, Area, Bars).

Implementation

void setCandleStyle(CandleStyle style) {
  if (_candleStyle == style) return;
  _candleStyle = style;
  notifyListeners();
  triggerAutoSave();
}