vue-vega icon indicating copy to clipboard operation
vue-vega copied to clipboard

autoResize option does not seem to work

Open knackjax opened this issue 6 years ago • 1 comments

documentation says that there is an autoResize option (link below)... however when using it, it doesn't seem to resize automatically. Adding autosize options along with it does not seem to work either. Is there something I am doing wrong?

<vega-lite :data="data" :mark="mark" :encoding="encoding" :autosize="{type:'pad', contains:'padding', resize:true}" autoResize/>

https://nesterone.github.io/vue-vega/#sub-vega-lite-component

knackjax avatar Jan 03 '19 19:01 knackjax

Same here! The are some parameters missing, in this case :autosize is missing.

Is this gonna be fixed soon @nesterone ? (since it's critical)

And by the way, both parameters need to be there autosize & autoResize

enrtama avatar May 15 '19 09:05 enrtama