Sort the source query chronologically, then build Points with Label and numeric Value. List order determines the line order; this compact Block has no category or series join. Supply AccessibleLabel and SummaryText so the trend is understandable without its shape. Use ShowDataTable to show exact observations. Animation accepts Off, Once or Continuous; AnimationDuration is 1–60 seconds.
Create your own GetChartData Data Action or Server Action, authorize its query and return the typed Lists above. If an Aggregate returns entity records, map them explicitly into these public Structures using a For Each, Assign and ListAppend. Only bind a query result directly when its type already matches. The chart does not query your database.
Points · BluChartSparklinePoint List · sample records and mapping
Create a screen local Points of type BluChartSparklinePoint List. In your mapping action, use a temporary RowPoints of type BluChartSparklinePoint. Fill every field used by this chart before appending each row.
ListClear(List: Points)
For Each source record in your ordered query result:
Assign RowPoints fields from that record
ListAppend(List: Points, Element: RowPoints)
Example Assign values for the first sample row:
RowPoints.Label = "Day 1"
RowPoints.Value = 12
The loop describes your action flow, not code to paste into a JavaScript node. Replace the sample literals with your query fields. Reset optional fields on every iteration so values do not carry over from the previous row.
For a quick fixture, use JSON Deserialize with Data Type BluChartSparklinePoint List, then assign its Data output to Points. In the JSONString expression editor, wrap the copied JSON in a Text literal and double embedded quotes, or read it from a Text variable. The resulting Block input remains a typed List.
[
{
"Label": "Day 1",
"Value": 12
},
{
"Label": "Day 2",
"Value": 18
},
{
"Label": "Day 3",
"Value": 14
},
{
"Label": "Day 4",
"Value": 26
},
{
"Label": "Day 5",
"Value": 23
},
{
"Label": "Day 6",
"Value": 34
},
{
"Label": "Day 7",
"Value": 30
},
{
"Label": "Day 8",
"Value": 38
}
]