Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Resize issues with urth-viz-explorer #59

Description

@peller

Follow-up to #2, which enables urth-viz-vega to resize based on its container

  1. urth-viz-explorer expands to fit the width of the notebook, but in dashboard mode, where the height of the cell changes, the explorer does not expand. This is because the notebook's output divs have no explicit sizing. We could look up the DOM to the div.cell and set the size to match that. All other widgets must have the same problem?
  2. Also, the collapsible cards may overlap with the cell in dashboard mode. Should overflow be hidden or scroll? Potentially needs to be set both for uses of urth-viz-explorer and also urth-viz-query independently.
  3. (actually an urth-viz-vega issue) The resize behavior of vega-lite currently assumes width and height are the size of the plot area and does not account for axes or labels. We've worked around this with a padding fudge factor of 150px. See Support top-level padding / autosize property vega/vega-lite#1496, Document about setting width and height via Vega's View Component API vega/vega-lite#1497

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions