Skip to content

Commit 140a0aa

Browse files
committed
Always start the y-axis at 0
1 parent b79a23c commit 140a0aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)