diff --git a/src/lib/core/Plot.svelte b/src/lib/core/Plot.svelte index 915f1837..01db56b6 100644 --- a/src/lib/core/Plot.svelte +++ b/src/lib/core/Plot.svelte @@ -519,7 +519,20 @@ {/if} - {#if overlay}
{@render overlay?.()}
{/if} + {#if overlay}
+ {@render overlay?.({ + width, + height, + options: plotOptions, + scales: plotState.scales, + mapXY, + hasProjection, + hasExplicitAxisX, + hasExplicitAxisY, + hasExplicitGridX, + hasExplicitGridY + })} +
{/if} {#if footer}