charton API / @chart-on/core / testing / describeScene
Function: describeScene()
describeScene(
chart):SceneDescription
Defined in: packages/core/src/testing/kit.ts:245
A stable, JSON-serialisable summary of what the chart shows, for snapshot tests without pixels. Numbers are rounded to 6 significant digits, so tiny floating-point differences between machines do not change it. Run the frames first (flushFrames) so ranges are fitted.