Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing 'z' property in GridLineOptions #9548

Closed
1 of 3 tasks
KarolDunajski opened this issue Aug 14, 2021 · 1 comment · Fixed by #9550
Closed
1 of 3 tasks

Missing 'z' property in GridLineOptions #9548

KarolDunajski opened this issue Aug 14, 2021 · 1 comment · Fixed by #9550
Labels
type: documentation type: types Typescript type changes
Milestone

Comments

@KarolDunajski
Copy link

Documentation Is:

  • Missing or needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

It lack of one property z: number in GridLineOptions - https://www.chartjs.org/docs/latest/api/interfaces/GridLineOptions.html

I could find z property in https://www.chartjs.org/docs/latest/axes/styling.html
image
also it is use in the code

const gz = valueOrDefault(opts.grid && opts.grid.z, -1);
but it is missing in api docs

Your Proposal for Changes

Please add it to api docs

Example

@kurkle
Copy link
Member

kurkle commented Aug 14, 2021

The api docs are generated from typings, so it is missing from the type definitions. We'd be happy to have a PR for this, if you are able.

@kurkle kurkle added the type: types Typescript type changes label Aug 14, 2021
@etimberg etimberg added this to the Version 3.5.1 milestone Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation type: types Typescript type changes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants