Skip to content

axes type Date and Category options #68

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

Closed
bpostlethwaite opened this issue Nov 15, 2017 · 3 comments
Closed

axes type Date and Category options #68

bpostlethwaite opened this issue Nov 15, 2017 · 3 comments

Comments

@bpostlethwaite
Copy link
Member

Right now DefaultEditor only support Linear and Log. These could be extra options in a settings panel.

@alexcjohnson
Copy link
Collaborator

Right now in WS2 I think we only show the linear/log setting if the type is already linear or log. This is pretty limiting, as for example you can't change numeric to category (ran into this myself trying to use plotly with my mom, she had numeric data but they were just codes she wanted interpreted as categories so they'd be evenly spaced).

But the current behavior does point to the fact that there are really two questions from the user's perspective, which axis.type merges into one setting:

  • What kind of data does this axis represent (numeric, date, categorical)
  • If numeric, how should that data be mapped to the screen?

Right now we only allow the user to specify the second one, and we use only the automatic answer for the first, inferred from the data. Ideally we'd keep those two questions distinct in the UI even as we add the ability for the user to override the data type.

@nicolaskruchten
Copy link
Contributor

See also #103 and #361

@nicolaskruchten
Copy link
Contributor

I would personally feel fine with a "Type: linear/log/date/categorical" option, at least in the short run :)

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

No branches or pull requests

3 participants