Skip to main content
A chart fed by a live source updates by receiving new data. Keep spec the same object across pushes: the provider compares it by reference, and a new one means a full compile, spec resolution included, where a data push alone reuses the resolved spec. This line uses the same second and reading columns as the example above. Each source message supplies a complete data object (columns and rows) containing the current rolling window.
Transitions are off here because a source that pushes faster than a spring settles has nothing for a spring to settle towards. Above maxAnimatedGeoms (1500 by default, set on animation) the graph plays no animation on its own, but that counts geoms, not points: a live bar chart past the ceiling needs no such setting, while a line is one geom however many points it draws and keeps transitioning until you turn them off.