Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AltmannPeter authored Jul 28, 2023
1 parent 49fe704 commit b9c016a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ function generateGraph() {
options: {
responsive: true,
scales: {
x: {
type: "linear", // Use linear scale for the x-axis
min: 0, // Set the minimum value of the x-axis to 0
max: maxBias, // Set the maximum value of the x-axis to the maximum bias value
ticks: {
stepSize: 0.1, // Set the step size to 1 to show all integer values on the x-axis
},
},
y: {
beginAtZero: true,
},
Expand Down

0 comments on commit b9c016a

Please sign in to comment.