mprojectscode_obsidian-base.../exampleVault/data-points.base
emmekappa c4370effb3 fix line chart point ordering
Sort points by x within each group in sortDataByGroup. groupedData
from BasesQueryResult is not guaranteed to be presorted, and
svelteplot's Line draws the polyline in array order, so without an
x-sort the line could connect points out of chronological order.

Adds an example data-points base/dataset to reproduce.
2026-05-10 23:03:38 +02:00

9 lines
145 B
Text

views:
- type: chart-line
name: line-chart
filters:
and:
- type == "data-point"
order:
- valY
x: note.Date