Skip to content

A platform for community discussion. Free, open, simple.

FIX: Remove `stepSize: 1` from admin chart y-axis ticks (#40668)

Alan Guo Xiang Tan75d3f6de2121
diff --git a/frontend/discourse/admin/components/admin-report-chart.gjs b/frontend/discourse/admin/components/admin-report-chart.gjs
index 61d68fc1a97..da420a17c19 100644
--- a/frontend/discourse/admin/components/admin-report-chart.gjs
+++ b/frontend/discourse/admin/components/admin-report-chart.gjs
@@ -176,7 +176,6 @@ export default class AdminReportChart extends Component {
sampleSize: 5,
maxRotation: 25,
minRotation: 0,
- stepSize: 1,
precision: 0,
},
},
diff --git a/frontend/discourse/admin/components/admin-report-stacked-chart.gjs b/frontend/discourse/admin/components/admin-report-stacked-chart.gjs
index 090f55fe760..9253245b6da 100644
--- a/frontend/discourse/admin/components/admin-report-stacked-chart.gjs
+++ b/frontend/discourse/admin/components/admin-report-stacked-chart.gjs
@@ -216,7 +216,6 @@ export default class AdminReportStackedChart extends Component {
sampleSize: 5,
maxRotation: 25,
minRotation: 0,
- stepSize: 1,
},
},
x: {