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

Collapsible legend #229

Open
joshmutus opened this issue Jul 13, 2016 · 5 comments
Open

Collapsible legend #229

joshmutus opened this issue Jul 13, 2016 · 5 comments
Milestone

Comments

@joshmutus
Copy link
Contributor

For multiple 1D traces it would be great to have a lengend to know which trace is which. It would be also great if it were collapsable to it didn't always take up valuable real-estate on the screen. Having it enabled through the URL would be nice too.

@joshmutus joshmutus added this to the v2.1 milestone Jul 13, 2016
@adamcw
Copy link
Contributor

adamcw commented Jul 13, 2016

I agree, the line graphs are frustrating without a legend in my opinion.

A HTML implementation would be trivial, but if we're aiming to ever resolve issue #184 then it would have to be implemented in WebGL.

@joshmutus
Copy link
Contributor Author

Yes good point. So integrating WebGL and DOM elements into the same canvas or something is basically impossible?

@adamcw
Copy link
Contributor

adamcw commented Jul 13, 2016

I am currently investigating it as a solution to the Zoom Box issues in the WebGL branch. I don't think we can do DOM, but inserting SVG might be possible.

@adamcw
Copy link
Contributor

adamcw commented Jul 20, 2016

Just an update given the previous comments. It looks like if there is a short-term screenshot solution it will render SVG and WebGL into a single canvas and then screenshot that. That means any implementation of a feature that we desire to screenshot should be either WebGL or SVG.

HTML/DOM elements can technically be rendered into SVG and then merged, but I think this is already a fairly complex mash of technologies, I'd like to avoid it spiraling further by going down that path.

@zchen088
Copy link

zchen088 commented Oct 1, 2016

+1 Not having a legend makes interpreting the 1D traces really difficult.

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

3 participants