A 50ms delay on the RealTimeDomain adds some latency to ensure that new events enter the chart 'smoothly' from the right hand side. When data streams in at higher rates, the gap between points is less noticable.
Most users commonly add axis frames to provide context to the data. Read the ChartAxis documentation for more detail and configuration.
Plotting multiple lines
Plot an arbitrary number of signals on the same Chart by adding more <LineChart> children.
Each LineChart represents a draw call to the GPU under the hood.
To plot several different messages on the same Chart, you'll need to create a datasource per message ID.
If maxItems isn't big enough to buffer for the selected RealTimeDomain, then users will see data dropping off the end of the line.
Type: (eventData: any, time: number) => number
An accessor on the Events data to produce a column of data. If the event is produced by a MessageDataSource,
the eventData argument will be the payload of the message. This function must return a number
| string | number
The color of the line
DataSources may be transformed by the mutator functions, this specifies
if the function expects the 'original' reference or the transformed final DataSource.
A reference to a DataSource for event injestion.
The thickness of the line
The maximum number of events to store in the cache. Must be set statically.
By default it is 10,000