Kitware / candela

Visualization components for the web
https://candela.readthedocs.io
Apache License 2.0
116 stars 29 forks source link

Add `calculateSize` option to VegaView #543

Closed waxlamp closed 6 years ago

waxlamp commented 6 years ago

This prevents by default VegaView's behavior of rerendering multiple times to figure out what the correct size should be for small multiple views. The behavior is still available for use when needed (e.g., with ScatterPlotMatrix).

waxlamp commented 6 years ago

@jeffbaumes, the tests are passing now, but I rebased this branch on #544, so both branches will need a review approval before I can merge them.

Thanks!