In short:
Question: How can I "save" a static snapshot...?
You can't yet.
Question: If so, can I then ...recreate the pie chart?
No, not yet.
Overall, these are features that we definitely want and we are working towards them. Questions remain for me, if I understand your original questions, about these two features.
Re: saving a visualization to a history:
- What is the final use of the 'hardcopy' (png or pdf) of the visualization? In other words, is it for: publication or exposition, summary/overview info, a jumping off point for exploring the data, or something else?
- Isn't this an artifact (a view or byproduct) of the analysis and not actually a dataset itself?
- Do you want a static version or, if possible, easier access to a pre-configured interactive visualization?
- Would a saved visualization (of the type you find under 'Visualizations->Saved Visualizations' menu) work in a png or pdf's place?
In any event, I think more flexible conversion of visualizations to hardcopies is doable with some added backend technology like ImageMagick to render SVG to PNG, etc. If also wrapped in a tool, this would let us add these to the history.
Re: generating a visualization from a workflow:
- Would a saved visualization work here as well?
I think the main problem here is translation of what may be a more complex visualization UI (to control the configuration) to something that can be more simply rendered in a workflow page (as tool configurations are now). At least some of the configuration could be handled this way, at any rate - things like Chart's chart type, and data columns, etc.
There are ways to pass visualization configurations directly over the url, so this may be easier than I think too.
These are good ideas. Thanks, Peter.