Skip to content

charton API


charton API / @chart-on/core / index / statsOverlay

Function: statsOverlay() ​

statsOverlay(): ChartPlugin

Defined in: packages/core/src/builtins.ts:158

Plugin that measures frames while the renderStats or renderStatsOverlay option is on (chart.frameStats, the frame:render event, GPU time included), and shows them on the chart with the latter. Without it both options collect nothing.

Returns ​

ChartPlugin