Skip to content

Commit fcd2ce5

Browse files
committed
Always start the y-axis at 0
1 parent d3a2bd1 commit fcd2ce5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/webapp/app/components/code/QueryResultsChart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ export const QueryResultsChart = memo(function QueryResultsChart({
828828

829829
const yAxisProps = {
830830
tickFormatter: yAxisFormatter,
831+
domain: [0, "auto"] as [number, string],
831832
};
832833

833834
const showLegend = series.length > 0;

0 commit comments

Comments
 (0)