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
| Data | Description |
|---|---|
| Dataset | An array of numbers to plot. |
Chart Settings
| Data | Description |
|---|---|
| Line Color | Color of the line. |
| Chart Title | Title text. |
| X Axis Label | Label for X axis. |
| Y Axis Label | Label for Y axis. |
Actions
| Signal | Description |
|---|---|
| Do | Triggers a re-render. |
Outputs
This node is purely visual.
Usage
Balance History
- Use an Array State Manager to collect the player's
Capitalafter every spin. - Connect the resulting array to Dataset.
- 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.