Skip to content

Commit f8ef115

Browse files
committed
custom graphs: Change default value for explicit range
CMK-33524 Change-Id: Id1e19640a9c07efce9e2088286b24570d551959f
1 parent 09a241f commit f8ef115

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cmk-frontend-vue/src/graph-designer/private/ExplicitVerticalRangeEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const props = defineProps<{
3030
const { lower, upper } = extractExplicitVerticalRangeBounds(
3131
props.graph_options?.explicit_vertical_range ?? 'auto'
3232
)
33-
const dataExplicitVerticalRangeLower = ref<number>(lower ?? 1.0)
34-
const dataExplicitVerticalRangeUpper = ref<number>(upper ?? 2.0)
33+
const dataExplicitVerticalRangeLower = ref<number>(lower ?? 0.0)
34+
const dataExplicitVerticalRangeUpper = ref<number>(upper ?? 1.0)
3535
3636
const dataExplicitVerticalRange = ref<string>(
3737
props.graph_options?.explicit_vertical_range === 'auto' ? 'auto' : 'explicit'

0 commit comments

Comments
 (0)