mirror of
https://github.com/mprojectscode/obsidian-bases-charts-plugin.git
synced 2026-07-22 06:43:19 +00:00
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.
52 B
52 B
| date | type | valY |
|---|---|---|
| 2018-11-07 | data-point | 142 |