Skip to content

Issues with axes and gridlines #9836

Discussion options

You must be logged in to vote

You are mixing v2 and v3 syntax, for all changes please read the migration guide.

Scales are no arrays anymore but each scale is its own object where the key is the scale ID, also namespace gridLines has been changed to grid.

scales: {
  x: {},
  Gravity: {
    position: 'right',
    grid: {
      display: false
    }
  },
  Temperature: {
    // Same things for other axis
  }
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by youthfulIdealism
Comment options

You must be logged in to vote
0 replies
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