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

Chart Improvements #81

Open
anaisconce opened this issue Sep 10, 2021 · 5 comments
Open

Chart Improvements #81

anaisconce opened this issue Sep 10, 2021 · 5 comments

Comments

@anaisconce
Copy link
Contributor

Improve Chart UI to present more configuration options; add new chart types such as gauge, donut, radar (aka spider or web), and stacked bar chart.

@anaisconce anaisconce created this issue from a note in Roadmap for Grist (We're Working On It) Sep 10, 2021
@anaisconce
Copy link
Contributor Author

Request to add data labels to charts (not just on hover)

@anaisconce anaisconce moved this from We're Working On It to Researching in Roadmap for Grist Feb 2, 2022
@briantegridy
Copy link

Would be great to choose colors as well.

@Eisfunke
Copy link

Eisfunke commented Feb 1, 2023

Hi Grist team, it might be worth to consider integrating something like Vega Lite. Vega (Lite) is a JSON-based format to specify various graphs. It's very powerful and can output charts and graphs of a lot of types with a lot of customization options. From the code Vega generates interactive HTML graphs from that specification which should integrate well into Grist's web UI.

Integrating something like that, with access to the corresponding spreadsheet's data, would immediately give you access to all kinds of charts and features with a lot of customization options supported by Vega, without implementing them all yourself one-by-one. You would also gain integration with the other features of that ecosystem, e.g. SVG/PNG export. For the more basic features, you could still provide GUI elements, so it shouldn't be an UX downgrade, but more advanced users could code custom charts to their liking.

@paulfitz
Copy link
Member

paulfitz commented Feb 1, 2023

@Eisfunke good idea. Reminds me a bit of this custom widget gristlabs/grist-widget#37 to let you do arbitrary plotly charts. (The widget never got landed but a preview is available using custom widget url https://deploy-preview-37--boisterous-sunburst-a5c941.netlify.app/custom-plotly-chart). I think someone could do a Vega Lite version as a custom widget - it would have all the live data immediately, all that is needed is to render it. A full integrated feature would be even nicer, but significantly more work. Notes on how to make custom widgets are here https://support.getgrist.com/widget-custom/

@anaisconce anaisconce moved this from Researching to We're Working On It in Roadmap for Grist Oct 23, 2023
@anaisconce anaisconce moved this from We're Working On It to Recently Shipped in Roadmap for Grist Nov 6, 2023
@anaisconce
Copy link
Contributor Author

We now have a widget for advanced charts: https://github.com/gristlabs/custom-charts-widget/blob/main/USAGE.md 📈

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

No branches or pull requests

4 participants