FlowFuse / FlowFuse/node-red-dashboard

Support for Equal X-Y Axis Scaling

Open
#1,724 2 comments 0 reactions 0 assignees View on GitHub
needs-triage type:feature
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Description

Hi, thanks for making this project open source, it's been very helpful!
I'm using ui-chart to plot x-y positions in meters and would like to keep the x and y axes equally scaled, similar to Matlab's `axis equal`. This is important for visual accuracy when displaying spatial data.
I know it's possible to manually set axis limits (min/max), but that doesn't enforce equal visual scaling, especially when the chart aspect ratio changes.
Is there a way to lock the aspect ratio so both axes scale equally? I couldn’t find anything in the docs or existing issues. I've attached an image showing the scaling problem.
Thanks again! Alberto.

![Image](https://github.com/user-attachments/assets/2dcbb64a-ca59-4080-a0f6-ce9b5f3666a8)

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.