nit vega-lite

This commit is contained in:
Ruben Fiszel
2024-01-13 09:59:34 +01:00
parent 3d93b5456f
commit dfa5eae6f2

View File

@@ -45,7 +45,16 @@
w &&
vegaEmbed(
divEl,
{ ...result, ...{ width: w - 100 } },
{
...result,
...{
width: w - 100,
config: {
legend: { orient: 'bottom', ...(result?.['config']?.['legend'] ?? {}) },
...(result?.['config'] ?? {})
}
}
},
{
mode: 'vega-lite',
actions: false,