Skip to content

docs: improve dashboard example content#5330

Open
sissbruecker wants to merge 9 commits intomainfrom
docs/improve-dashboard-example-content
Open

docs: improve dashboard example content#5330
sissbruecker wants to merge 9 commits intomainfrom
docs/improve-dashboard-example-content

Conversation

@sissbruecker
Copy link
Contributor

Replace the placeholders in the Dashboard examples with mock content that resembles an actual dashboard. Also improves the dynamic / data-driven dashboard examples to show how to actually switch between rendering different widget contents.

Bildschirmfoto 2026-03-06 um 12 13 43

conf.setTitle((String) null);
conf.getLegend().setEnabled(false);
conf.getyAxis().setTitle((String) null);
conf.getTooltip().setValueSuffix(" visitors");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The chart doesn't look ok on dark mode (Flow example only). Maybe add conf.getChart().setStyledMode(true);

Image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH, the red and green text colors are also problematic in dark mode (not enough contrast). Could use color-mix(in srgb, currentColor, green 85%) or light-dark().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants