Vega-Lite: Background data rectangle border

307 views
Skip to first unread message

Mohit Chawla

unread,
Mar 2, 2020, 10:05:24 AM3/2/20
to vega-js
Hi all, 

Is it possible to remove the gray border around the default data rectangle? The border affects the effectiveness of a dot plot. Any suggestions welcome!


Thanks,
Mohit


Jan AERTS

unread,
Mar 2, 2020, 10:12:41 AM3/2/20
to vega-js
If you open the vega-lite example (_with_ frame) in the editor and choose the 'urbaninstitute' theme (in the 'config' tab) you'll see that the frame is gone. I suppose that that piece of json has the necessary information.

jan.

Jan AERTS

unread,
Mar 2, 2020, 10:13:49 AM3/2/20
to vega-js
It's this: `"view": {"stroke": "transparent"}`

jan.

On Monday, 2 March 2020 16:05:24 UTC+1, Mohit Chawla wrote:

Mohit Chawla

unread,
Mar 2, 2020, 10:20:00 AM3/2/20
to Jan AERTS, vega-js
Thanks Jan!

--
You received this message because you are subscribed to the Google Groups "vega-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vega-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vega-js/b8088a9f-14c4-4212-9007-8e84ddb207da%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages