feat(market): line/candle toggle + ~50% taller chart
- Add a chart-style toggle (line vs candlestick) next to the interval buttons, shown only when the selected range has per-exchange candles (the aggregate / Live view is line-only). It flips s_mkt.chartStyle; candles draw when OHLC exists AND the user hasn't switched to the line. Icon reflects the current style; tooltip says what a click switches to. Two i18n keys across 8 languages. - Make the price chart ~50% taller: scale the height floor / desired / viewport cap (110->165, x1.5 desired, 0.22->0.33 of available) for a roomier plot. Verified via a forced-OHLC render: the taller chart, the toggle button, and candles with a correct week/day x-axis. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -548,6 +548,8 @@
|
||||
"market_price_loading": "Загрузка данных о ценах...",
|
||||
"market_price_unavailable": "Данные о ценах недоступны",
|
||||
"market_refresh_price": "Обновить данные о ценах",
|
||||
"market_style_candle": "Переключить на свечи",
|
||||
"market_style_line": "Переключить на линейный график",
|
||||
"market_trade_on": "Торговать на %s",
|
||||
"market_updated": "\\xc2\\xb7 Обновлено %s",
|
||||
"market_vol_short": "Объём",
|
||||
|
||||
Reference in New Issue
Block a user