diff --git a/web/src/components/dashboards/addPanel/ConfigPanel.vue b/web/src/components/dashboards/addPanel/ConfigPanel.vue index e6d59b5337..ce40a67dc4 100644 --- a/web/src/components/dashboards/addPanel/ConfigPanel.vue +++ b/web/src/components/dashboards/addPanel/ConfigPanel.vue @@ -1626,8 +1626,9 @@ export default defineComponent({ } // by default, set show_symbol as false - if (!dashboardPanelData.data.config.show_symbol) { - dashboardPanelData.data.config.show_symbol = false; + if (dashboardPanelData.data.config.show_symbol === undefined) { + const isNewPanel = !dashboardPanelData.data.id; + dashboardPanelData.data.config.show_symbol = isNewPanel; } // by default, set line interpolation as smooth diff --git a/web/src/composables/useDashboardPanel.ts b/web/src/composables/useDashboardPanel.ts index 6f26759093..1310eab533 100644 --- a/web/src/composables/useDashboardPanel.ts +++ b/web/src/composables/useDashboardPanel.ts @@ -66,7 +66,7 @@ const getDefaultDashboardPanelData: any = () => ({ position: null, rotate: 0, }, - show_symbol: false, + show_symbol: true, line_interpolation: "smooth", legend_width: { value: null,