The function to debounce.
Delay in milliseconds. Set to 0 in CreateChartOptions
to disable debouncing and call chart.resize() on every observation.
A debounced version of fn with the same signature.
Each call resets the timer. The wrapped function only executes after
the calls stop for at least ms milliseconds.
Used internally by createChart to debounce ResizeObserver
callbacks - prevents excessive chart.resize() calls during continuous
container size changes.
Creates a debounced version of
fnthat delays execution untilmsmilliseconds have elapsed since the last call.