mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
feat: dashboard set show_symbol bydefault as true (#6193)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -66,7 +66,7 @@ const getDefaultDashboardPanelData: any = () => ({
|
||||
position: null,
|
||||
rotate: 0,
|
||||
},
|
||||
show_symbol: false,
|
||||
show_symbol: true,
|
||||
line_interpolation: "smooth",
|
||||
legend_width: {
|
||||
value: null,
|
||||
|
||||
Reference in New Issue
Block a user