Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set scatter chart marker size using coordinates #7384

Open
hcrocker-ansys opened this issue Mar 5, 2025 · 2 comments
Open

Set scatter chart marker size using coordinates #7384

hcrocker-ansys opened this issue Mar 5, 2025 · 2 comments
Labels
feature something new P3 backlog

Comments

@hcrocker-ansys
Copy link

I'd like to set the marker size in scatter charts using coordinates.

My suggestion to implement this would be to add x0, x1, y0, and y1 attributes for scatter chart points, if these attributes are set the marker would scale to fit inside those coordinates. When setting the size using coordinates, the existing marker size attribute could be used as a minimum size.

The purpose of this is to be able to have points which represent a range of data instead of just a singular coordinate. A range of values across only one axis should also be supported.

The existing layout shapes aren't fit for our purpose because they can't be interacted with, and are quite slow for large datasets.

Here is an example of the type of data I would like to present (made using the existing shapes)

There have been related requests for absolute marker sizes already #3682
And similar requests in plotly.py plotly/plotly.py#3535

@gvwilson
Copy link
Contributor

gvwilson commented Mar 7, 2025

Thanks for the feature request @hcrocker-ansys - I'll add it to our backlog, though I'm afraid it will be months at least before we can get to it. If anyone would like to submit a PR, I can prioritize review - thanks.

@gvwilson gvwilson added feature something new P3 backlog labels Mar 7, 2025
@alexcjohnson
Copy link
Collaborator

Also #4838

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants