Skip to content

Commit

Permalink
feat!: set default renderer to SVG
Browse files Browse the repository at this point in the history
fixes #411
  • Loading branch information
domoritz committed May 5, 2021
1 parent e6be7c0 commit 516de64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async function _embed(
const actions = isBoolean(opts.actions) ? opts.actions : mergeDeep<Actions>({}, DEFAULT_ACTIONS, opts.actions ?? {});
const i18n = {...I18N, ...opts.i18n};

const renderer = opts.renderer ?? 'canvas';
const renderer = opts.renderer ?? 'svg';
const logLevel = opts.logLevel ?? vega.Warn;
const downloadFileName = opts.downloadFileName ?? 'visualization';

Expand Down

0 comments on commit 516de64

Please sign in to comment.