diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a8f4889..1155e91 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -475,6 +475,14 @@ function AppMainContent({ onChartCandleAreaPriceLabels={v => saveAppDef({ chartCandleAreaPriceLabels: v })} chartSeriesPriceLabels={appDefaults.chartSeriesPriceLabels ?? true} onChartSeriesPriceLabels={v => saveAppDef({ chartSeriesPriceLabels: v })} + chartCrosshairInfoVisible={appDefaults.chartCrosshairInfoVisible ?? true} + onChartCrosshairInfoVisible={v => saveAppDef({ chartCrosshairInfoVisible: v })} + chartCrosshairMarkersVisible={appDefaults.chartCrosshairMarkersVisible ?? true} + onChartCrosshairMarkersVisible={v => saveAppDef({ chartCrosshairMarkersVisible: v })} + chartLegendOptions={appDefaults.chartLegendOptions} + onChartLegendOptionsChange={patch => saveAppDef({ + chartLegendOptions: { ...appDefaults.chartLegendOptions, ...patch }, + })} /> )} diff --git a/frontend/src/components/SettingsPage.tsx b/frontend/src/components/SettingsPage.tsx index 779e1b2..1d381c2 100644 --- a/frontend/src/components/SettingsPage.tsx +++ b/frontend/src/components/SettingsPage.tsx @@ -1239,36 +1239,34 @@ const ChartPanel: React.FC = ({ )} - {chartLegendOptions && onChartLegendOptionsChange && ( - - - - - - - - - )} + + + + + + + + {chartLegendOptions && onChartLegendOptionsChange && (