lux-widget icon indicating copy to clipboard operation
lux-widget copied to clipboard

Add interaction to open visualizations in full view

Open dorisjlee opened this issue 3 years ago • 0 comments

Currently, Lux forces the size of all the charts to be 160x150, so that the visualization cards are aligned. As a result, sometimes, the axis labels are abbreviated, bars are cut off, etc. For example:

Sometimes, it is helpful to view a visualization in more detail without the summarizations. We can add an "Open in full view" button that expands the visualization into a popup window with the full view.

Considerations:

  • Possibel Font Icon for expanding.
  • For the expanded window, it might make sense to have the code editor and expanded vis side-by-side to allow interactive editing and save this back to the widget.
  • One simple alternative is to rely on Vega Embed's option panel, which opens the vis into a separate Vega-Lite Editor.

dorisjlee avatar Sep 22 '20 07:09 dorisjlee