Skip to content

Image-Chart range component ignores configured height attribute and CSS #3265

Description

@Patrykb0802

In Scada-LTS v2.7.8.1, the chart-range component does not appear to respect the configured height.

The issue occurs regardless of whether the height is set using:

the height attribute (height="400"),
inline CSS (style="height:400px;"),
or a parent container with a fixed height.

As a result, the chart always renders with its internally defined height, making it difficult to customize layouts and integrate the component into dashboards with specific size requirements.

Issue based on discussion: #3258

Environment:

Scada-LTS: v2.7.8.1 (build 14176899126)
Browser: Chrome
OS: Ubuntu 24.04.3 LTS

Expected behavior:
The chart should respect the height specified via component attributes or CSS.

Actual behavior:
The chart keeps its default/internal height regardless of external configuration.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions