Skip to content

UpdateOptions

Defined in: packages/pixi-charts/src/core/Chart.ts:27

Options accepted by Chart.update.

  • animate: false (default) — snap to the new data immediately. Correct default for streaming and for update() callers that want the cheapest path.
  • animate: true — tween from the previous state to the new state where the chart can do so without diffing. Supported on bar and pie when the category set is unchanged; ignored (snaps) on all other charts and on bar/pie when categories change. Animated updates with changing data shape genuinely need diffing — that’s a deferred session.

optional animate?: boolean

Defined in: packages/pixi-charts/src/core/Chart.ts:29

Tween from old to new where the chart supports it. Default false.