mirror of
https://github.com/mprojectscode/obsidian-bases-charts-plugin.git
synced 2026-07-22 06:43:19 +00:00
When switching from a chart view to another view (e.g. table) of the same Base, Obsidian reuses the same scrollEl. The plugin was adding the `bases-chart-view` class on load but never removing it, so the `display: flex` rule from styles.css kept being applied to the table container, causing rows to overlap the header. Also adds a Table view to the penguins example base so this regression is easy to reproduce in exampleVault.
32 lines
637 B
Text
32 lines
637 B
Text
formulas:
|
|
group: species
|
|
views:
|
|
- type: chart-scatter
|
|
name: Chart
|
|
filters:
|
|
and:
|
|
- file.folder == "penguins"
|
|
groupBy:
|
|
property: species
|
|
direction: ASC
|
|
order:
|
|
- culmen_depth_mm
|
|
- flipper_length_mm
|
|
x: note.culmen_length_mm
|
|
multi-chart-mode: Separate by property
|
|
sync-y-axes: false
|
|
- type: table
|
|
name: Table
|
|
filters:
|
|
and:
|
|
- file.folder == "penguins"
|
|
order:
|
|
- file.name
|
|
- species
|
|
- sex
|
|
- island
|
|
- culmen_depth_mm
|
|
- culmen_length_mm
|
|
- flipper_length_mm
|
|
columnSize:
|
|
note.flipper_length_mm: 195
|