phibr0 / obsidian-charts

Charts - Obsidian Plugin | Create editable, interactive and animated Charts in Obsidian via Chart.js
https://charts.phib.ro/
GNU Affero General Public License v3.0
568 stars 26 forks source link

Can Chart from Table select more Columns or Rows? #72

Open zhifzhang opened 1 year ago

zhifzhang commented 1 year ago

Describe the feature

type: line
id: table
layout: columns
select: [row1]

Chart from Table, Can select two and more Columns or Rows? It seems the select functioncan select only one Columns or Rows.

Does this fix a problem? If so, specify.

no

Did you consider other alternatives?

No response

Screenshots and recordings

No response

garcon commented 1 year ago

It looks select: [] works fine. I have this chart made from only two columns of the table:

Rok Studená (kumulativně) Studená (přírůstky) Teplá (kumulativně) Teplá (přírůstky)
2017 1443 69 569 26
2018 1512 71 595 27
2019 1583 104 622 27
2020 1687 70 649 16
2021 null 70 nul 17
2022 1827 61 682 9
2023 1888 null 691 null

^water

type: bar
id: water
select: ["Studená (přírůstky)","Teplá (přírůstky)"]