Skip to content

When changing the maximum value on the axis, bars disappear. #11059

Answered by Udemology
Aaqu asked this question in Q&A
Discussion options

You must be logged in to vote

This was quite interesting that it changes automatically and makes it's own choice on how to display the scale.
The scale does as it pleases because you need to specify what you want. Add the code below on the scale and it will work.
If you want minutes specify the unit 'minutes' and indicate the min and max values and it will show all values.

      x: {
          type: "time",
          min: 1673604446000,
          max: 1673605226000,
          time: {
            unit: "minute"
          }
        },

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Aaqu
Comment options

Answer selected by Aaqu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants