Skip to main content

Line Chart

This node renders a line chart from a dataset.

The Line Chart node visualizes data trends over time or sequence.

The Line Chart node takes an array of numbers and plots them as a line graph. It is perfect for tracking metrics like "Balance over time" or "RTP over 1000 spins".

Inputs​

Data​

DataDescription
DatasetAn array of numbers to plot.

Chart Settings​

DataDescription
Line ColorColor of the line.
Chart TitleTitle text.
X Axis LabelLabel for X axis.
Y Axis LabelLabel for Y axis.

Actions​

SignalDescription
DoTriggers a re-render.

Outputs​

This node is purely visual.

Usage​

Balance History​

  1. Use an Array State Manager to collect the player's Capital after every spin.
  2. Connect the resulting array to Dataset.
  3. The chart will show the player's balance journey.

Detailed Behavior​

  • Scaling: Automatically scales the Y-axis to fit the data range.
  • X-Axis: Assumes sequential indices (0, 1, 2...) for the X-axis.

Troubleshooting​

  • Flat Line: If all values are the same, the line will be flat.