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

Fix scales option in example #9146

Merged
merged 1 commit into from May 21, 2021
Merged

Fix scales option in example #9146

merged 1 commit into from May 21, 2021

Conversation

sylhare
Copy link
Contributor

@sylhare sylhare commented May 21, 2021

Description

There's a typo for the scales attribute in the documentation.
The ] should not be there.

I tested it:

    options: {
        scales: {
            'left-y-axis': {
                type: 'linear',
                position: 'left'
            },
            'right-y-axis': {
                type: 'linear',
                position: 'right'
            } // if you add here `]` it fails
        }
    }

@etimberg etimberg added this to the Version 3.3 milestone May 21, 2021
@etimberg etimberg merged commit ee51960 into chartjs:master May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants