diff --git a/src/widgets/views/Graph/GraphChartComp.tsx b/src/widgets/views/Graph/GraphChartComp.tsx index ba77cac91..7e94a8288 100644 --- a/src/widgets/views/Graph/GraphChartComp.tsx +++ b/src/widgets/views/Graph/GraphChartComp.tsx @@ -197,5 +197,10 @@ function getGraphProps(props: GetGraphPropsType) { max: maxValue + margin, }; } + if (type === "line" && ooui.y_range === "slider") { + graphProps.slider = { + y: { labelFormatter: "~s" }, + }; + } return graphProps; }