cyclePriceScaleMode method
void
cyclePriceScaleMode()
Cycles the price scale mode: Normal → Log → Percent → Normal.
Implementation
void cyclePriceScaleMode() {
_priceScaleMode = PriceScaleMode
.values[(_priceScaleMode.index + 1) % PriceScaleMode.values.length];
notifyListeners();
}