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

_prepareYAxis changes and Axis related documentation updates #1416

Closed
wants to merge 2 commits into from
Closed

_prepareYAxis changes and Axis related documentation updates #1416

wants to merge 2 commits into from

Conversation

kum-deepak
Copy link
Collaborator

Fixes part of #1398.

_yAxis is initially null and gets initialized when first needed based on whether it will left or right axis. Also added a warning in case axis orientation changes after y axis was initialized.

Several corrections in documentation of axes.

'You might get unexpected yAxis behavior. ' +
'Make calls to useRightYAxis sooner in your chart creation process.');
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@gordonwoodhull
Copy link
Contributor

Looks good - I have a feeling this still may bite people, but I think we're doing the best we can with defaults and warnings. We'll soon see!

Thanks @kum-deepak! Merged for 3.0 alpha 10

@kum-deepak kum-deepak deleted the prepareYAxis branch April 28, 2018 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants