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

Uneven category positioning #4461

Closed
nicolaskruchten opened this issue Jan 6, 2020 · 3 comments
Closed

Uneven category positioning #4461

nicolaskruchten opened this issue Jan 6, 2020 · 3 comments
Labels
feature something new

Comments

@nicolaskruchten
Copy link
Contributor

Right now with Cartesian category axes, the categories are mapped to 1, 2, 3 etc... is there a way to control this? I’d like a label to show up at, say, 10, and the next one at 30 and the next one at 35.

I can do this by playing with bar x and offset and tickvals and ticklabels but there's a lot of math involved...

Having this feature would basically allow for supporting #4019 and "cost abatement" charts pretty naturally.

@nicolaskruchten
Copy link
Contributor Author

Like this is doable, but the hoverlabels are numbers rather than categories:

image

@nicolaskruchten
Copy link
Contributor Author

Really just being able to pass in "category widths" or something would do :)

@nicolaskruchten nicolaskruchten added this to the v1.54.0 milestone Feb 17, 2020
@etpinard etpinard added the feature something new label Mar 12, 2020
@nicolaskruchten nicolaskruchten modified the milestones: v1.54.0, v1.55.0, v1.5x Mar 15, 2020
@nicolaskruchten nicolaskruchten modified the milestones: v1.55.0, v1.5x.0 Jun 10, 2020
@gvwilson
Copy link
Contributor

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

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

No branches or pull requests

3 participants