vega-lite: how to make title and subtitle responsive?

50 views
Skip to first unread message

Andrea Borruso

unread,
Apr 14, 2020, 5:09:49 AM4/14/20
to vega-js
Hi,
in this gist  (the previews is here) I have created an example chart. In the HTML I have included bootstrap, I have set a div width, in the spec I have "width": "container", and the chart is responsive.

But how to make also title and subtitle responsive (auto word wrapping or other)? 

In the image below and example of not responsive subtitle.

Thank you



2020-04-14_11h03_21.png


Roy I

unread,
Apr 17, 2020, 10:28:12 AM4/17/20
to vega-js
The current versions of  Vega (v 5.10.1) and VegaLite (v4.10.4) do not support text wrapping. See: 
Reply all
Reply to author
Forward
0 new messages