Skip to content

Function: preloadFillPrimitive() ​

ts
function preloadFillPrimitive(): Promise<void>;

Experimental

Start fetching the fill code without drawing anything, e.g. in parallel with loading data, so the first fill appears without the extra round trip. LazyFillPrimitive loads it on its own; charts without fills never load it.

Returns ​

Promise<void>

Released under the MIT License.