Skip to content

[aura] adding theme attribute on vaadin-charts changes for size #11318

@jouni

Description

@jouni

Description

The font size of chart labels changes when adding the theme attribute on the <vaadin-chart> element.

Without attribute:

Image

With attribute:

Image

Expected outcome

Font sizes stay the same, unless one of the size variants is used (i.e., theme=small, etc.)

Minimal reproducible example

http://localhost:8000/dev/charts/area.html

Steps to reproduce

  • Add an empty theme attribute on the chart element

Environment

Vaadin version(s):
OS:

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions