실시간 차트 스크롤시 날짜 동기화 문제

This commit is contained in:
Macbook
2026-05-29 21:30:34 +09:00
parent 6556741f83
commit ab5c11fa14
14 changed files with 263 additions and 73 deletions
@@ -112,6 +112,11 @@ public class GcAppSettings {
@Builder.Default
private Boolean chartLiveReceiveHighlight = true;
/** 크로스헤어 이동 시 OHLC·보조지표 수치 표시 (기본 true) */
@Column(name = "chart_crosshair_info_visible", nullable = false)
@Builder.Default
private Boolean chartCrosshairInfoVisible = true;
/** 차트 상단 범례(tv-legend) 항목별 표시 옵션 JSON */
@Column(name = "chart_legend_options_json", columnDefinition = "JSON")
@JdbcTypeCode(SqlTypes.JSON)
@@ -96,6 +96,8 @@ public class AppSettingsService {
Boolean.parseBoolean(d.get("chartVolumeVisible").toString()));
if (d.containsKey("chartLiveReceiveHighlight")) s.setChartLiveReceiveHighlight(
Boolean.parseBoolean(d.get("chartLiveReceiveHighlight").toString()));
if (d.containsKey("chartCrosshairInfoVisible")) s.setChartCrosshairInfoVisible(
Boolean.parseBoolean(d.get("chartCrosshairInfoVisible").toString()));
if (d.containsKey("chartLegendOptions")) s.setChartLegendOptionsJson(toJson(d.get("chartLegendOptions")));
if (d.containsKey("chartPaneSeparator")) s.setChartPaneSeparatorJson(toJson(d.get("chartPaneSeparator")));
if (d.containsKey("tradeAlertPopup")) s.setTradeAlertPopup(
@@ -199,6 +201,7 @@ public class AppSettingsService {
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);
m.put("chartCrosshairInfoVisible", s.getChartCrosshairInfoVisible() != null ? s.getChartCrosshairInfoVisible() : true);
m.put("chartLegendOptions", parseJson(s.getChartLegendOptionsJson()));
m.put("chartPaneSeparator", parseJson(s.getChartPaneSeparatorJson()));
m.put("tradeAlertPopup", s.getTradeAlertPopup() != null ? s.getTradeAlertPopup() : true);
@@ -0,0 +1,3 @@
ALTER TABLE gc_app_settings
ADD COLUMN chart_crosshair_info_visible BOOLEAN NOT NULL DEFAULT TRUE
COMMENT '크로스헤어 이동 시 OHLC·보조지표 수치 표시';