You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Follow-up to #2, which enables urth-viz-vega to resize based on its container
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?
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.
Yes, I've seen the problem with other widgets such as the globe.
Should overflow be hidden or scroll?
Only if there is a use case where the explorer is expected to be used with the query in dashboard view. This also raises the question of whether the expand/JSON buttons should be displayed in dashboard view.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Follow-up to #2, which enables
urth-viz-vega
to resize based on its containerurth-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?urth-viz-explorer
and alsourth-viz-query
independently.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#1497The text was updated successfully, but these errors were encountered: