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

option to set canvas margins missing #100

Open
schmitts opened this issue Mar 22, 2013 · 5 comments
Open

option to set canvas margins missing #100

schmitts opened this issue Mar 22, 2013 · 5 comments
Assignees

Comments

@schmitts
Copy link
Member

There should be an option to set the canvas margins, e.g. I have long x axis labels (alphanumeric) which get truncated.

@pwaller
Copy link
Member

pwaller commented Mar 22, 2013

Care to take a crack at this? I think the logical place to do it is inside RootRenderer.configure_canvas

The params dictionary is populated with the contents of the URL parameters, i.e, `?margin=..." at the end of the URL.

@ghost ghost assigned schmitts Mar 22, 2013
@schmitts
Copy link
Member Author

It seems not possible to just add e.g. ?logy=true to the URL, only the full !render/png/!resolution/100/?logy works. Can we transport parameters to the renderer without explicitly adding the renderer to the URL?

@pwaller
Copy link
Member

pwaller commented Mar 22, 2013

This is a general problem that I'm not sure how to solve consistently at the moment.

The problem is getting the URL parameters from the "view" page containing the HTML through to the plot. It's possible to do both client and server side but I'm not sure how to handle it.

@schmitts
Copy link
Member Author

Can we have a couple of input fields close to the "log x", "log y" buttons where margin can be changed by the user?

@pwaller
Copy link
Member

pwaller commented Mar 22, 2013

Those would be found here. At some point all of this needs revisiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants