Skip to content

[$250] Chart should maintain aspect ratio when window/screen size changes #92147

Description

@melvin-bot

Problem

The chart does not maintain its aspect ratio when the window (or screen) size changes. Instead, it shrinks in an awkward, non-proportional way. The expected behavior is that the chart should scale uniformly — like any other image — so that the entire chart shrinks proportionally as the viewport shrinks.

This is a general issue on web, but critical on mobile where screen real estate is limited and non-uniform scaling can make the chart unusable.

Expected behavior

When the window or screen size changes, the chart should scale proportionally (maintaining its aspect ratio), similar to how a standard <img> element would respond to a responsive container.

Actual behavior

The chart shrinks in a disproportionate/unexpected way when the viewport is reduced, rather than scaling uniformly.

Platforms affected

  • Web
  • Mobile (iOS / Android) — high priority

Notes

Maintaining aspect ratio is a core UX concern on mobile given the limited screen size. A responsive, aspect-ratio-preserving layout is the correct behavior.

Upwork Automation - Do Not Edit

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsImprovementItem broken or needs improvement.mobile

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions