Skip to content

Commit

Permalink
start log scale at 1
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Jan 16, 2025
1 parent 916536c commit af959cf
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,14 @@ export const useGraphOptions = ({
y: {
distr: widgetConfig.distribution,
range: (u, min, max) => {
return [u.data[0].length > 1 && min !== max ? min : 0, max]
return [
u.data[0].length > 1 && min !== max
? min
: widgetConfig.distribution !== 3
? 0
: 1,
max,
]
},
},
}
Expand Down

0 comments on commit af959cf

Please sign in to comment.