From 3a5c6fa5ed21294f307dd73b90d5c66270f07ead Mon Sep 17 00:00:00 2001 From: Max Wu Date: Thu, 27 Feb 2020 17:34:07 +0800 Subject: [PATCH] feat: use svg for vega-lite renderer Signed-off-by: Max Wu --- public/js/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/extra.js b/public/js/extra.js index 6f1455cf..f32e13c8 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -437,7 +437,7 @@ export function finishView (view) { const specText = $value.text() $value.unwrap() - window.vegaEmbed($ele[0], JSON.parse(specText)) + window.vegaEmbed($ele[0], JSON.parse(specText), { renderer: 'svg' }) .then(result => { $ele.addClass('vega') })