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

Unable to render two y-axes associated with a single x-axis #6

Open
nielsbosma opened this issue Jan 19, 2021 · 0 comments
Open

Unable to render two y-axes associated with a single x-axis #6

nielsbosma opened this issue Jan 19, 2021 · 0 comments

Comments

@nielsbosma
Copy link

I'm not a plotly expert but I believe that in Plotly.Yaxis.Overlaying:

public static Box<IYaxisProperty> y(int anchorId)
{
	return Interop.mkYaxisAttr("overlaying", (anchorId > 1) ? $"y{anchorId}" : "");
}

anchorId > 1 needs to be anchor > 0.

To reproduce examples like: https://codepen.io/mdnasirfardoush/pen/WyMMdg?editors=1010

I had to give both yaxises and id > 1 to get it to work.

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

No branches or pull requests

1 participant