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

Data transformations in native charts #2

Open
alexmojaki opened this issue Dec 13, 2023 · 1 comment
Open

Data transformations in native charts #2

alexmojaki opened this issue Dec 13, 2023 · 1 comment

Comments

@alexmojaki
Copy link
Collaborator

Native Grist charts do a few extra data transformations that may be good to port here. See these functions in particular:

  • sortByXValues
  • trimNonNumericData
  • consolidateValues

Note that since custom charts are much more flexible, these may create undesirable tradeoffs.

@dsagal
Copy link
Member

dsagal commented Dec 13, 2023

I believe now that consolidateValues is not needed, because plotly supports equivalent behavior by using Layout option {xaxis: {categoryarray: xvalues, categoryorder: 'array'}}.

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

2 participants