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.
9 lines
145 B
Text
9 lines
145 B
Text
views:
|
|
- type: chart-line
|
|
name: line-chart
|
|
filters:
|
|
and:
|
|
- type == "data-point"
|
|
order:
|
|
- valY
|
|
x: note.Date
|