mprojectscode_obsidian-base.../exampleVault/penguins.base
emmekappa c68605e619 fix: remove bases-chart-view class on unload to avoid leaking flex layout into other views
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.
2026-05-10 23:14:24 +02:00

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