실시간 차트 보조지표 값 소수점 표시
This commit is contained in:
@@ -97,7 +97,12 @@ public class GcAppSettings {
|
||||
@Builder.Default
|
||||
private Boolean btShowPrice = true;
|
||||
|
||||
/** 보조지표 우측 가격축 라벨·설명·금액 하이라이트 (기본 true) */
|
||||
/** 캔들 영역(오버레이) 우측 가격축 라벨·설명·금액 하이라이트 (기본 true) */
|
||||
@Column(name = "chart_candle_area_price_labels", nullable = false)
|
||||
@Builder.Default
|
||||
private Boolean chartCandleAreaPriceLabels = true;
|
||||
|
||||
/** 하단 보조지표 pane 우측 가격축 라벨·설명·금액 하이라이트 (기본 true) */
|
||||
@Column(name = "chart_series_price_labels", nullable = false)
|
||||
@Builder.Default
|
||||
private Boolean chartSeriesPriceLabels = true;
|
||||
|
||||
@@ -90,6 +90,8 @@ public class AppSettingsService {
|
||||
Boolean.parseBoolean(d.get("btAutoPopup").toString()));
|
||||
if (d.containsKey("btShowPrice")) s.setBtShowPrice(
|
||||
Boolean.parseBoolean(d.get("btShowPrice").toString()));
|
||||
if (d.containsKey("chartCandleAreaPriceLabels")) s.setChartCandleAreaPriceLabels(
|
||||
Boolean.parseBoolean(d.get("chartCandleAreaPriceLabels").toString()));
|
||||
if (d.containsKey("chartSeriesPriceLabels")) s.setChartSeriesPriceLabels(
|
||||
Boolean.parseBoolean(d.get("chartSeriesPriceLabels").toString()));
|
||||
if (d.containsKey("chartVolumeVisible")) s.setChartVolumeVisible(
|
||||
@@ -198,6 +200,7 @@ public class AppSettingsService {
|
||||
m.put("syncOptions", parseJson(s.getSyncOptionsJson()));
|
||||
m.put("btAutoPopup", s.getBtAutoPopup() != null ? s.getBtAutoPopup() : true);
|
||||
m.put("btShowPrice", s.getBtShowPrice() != null ? s.getBtShowPrice() : true);
|
||||
m.put("chartCandleAreaPriceLabels", s.getChartCandleAreaPriceLabels() != null ? s.getChartCandleAreaPriceLabels() : true);
|
||||
m.put("chartSeriesPriceLabels", s.getChartSeriesPriceLabels() != null ? s.getChartSeriesPriceLabels() : true);
|
||||
m.put("chartVolumeVisible", s.getChartVolumeVisible() != null ? s.getChartVolumeVisible() : true);
|
||||
m.put("chartLiveReceiveHighlight", s.getChartLiveReceiveHighlight() != null ? s.getChartLiveReceiveHighlight() : true);
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
-- ============================================================
|
||||
-- V49: 캔들 차트 영역(오버레이 지표) 가격축 라벨·설명 — 보조지표 pane 과 분리
|
||||
-- chart_series_price_labels = 하단 보조지표 pane (기존)
|
||||
-- chart_candle_area_price_labels = 캔들·거래량 pane 위 오버레이 (pane 0~1)
|
||||
-- ============================================================
|
||||
|
||||
ALTER TABLE gc_app_settings
|
||||
ADD COLUMN chart_candle_area_price_labels TINYINT(1) NOT NULL DEFAULT 1
|
||||
COMMENT '캔들 영역 오버레이 지표 가격축 라벨·설명 (1=ON, 0=OFF)';
|
||||
|
||||
UPDATE gc_app_settings
|
||||
SET chart_candle_area_price_labels = chart_series_price_labels;
|
||||
Reference in New Issue
Block a user