Change from Chart.js to Plotly.js graph library#16
Merged
chrisdone-artificial merged 3 commits intomainfrom Jan 5, 2026
Merged
Change from Chart.js to Plotly.js graph library#16chrisdone-artificial merged 3 commits intomainfrom
chrisdone-artificial merged 3 commits intomainfrom
Conversation
| hpack = hp.hpack; | ||
| webook = pkgs.webhook; | ||
| hell = hell.packages.${system}.default; | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Just added this because it is a language server for nix and my editor was complaining I didnt have one but can remove
Contributor
|
Cool, thanks! |
Contributor
|
Deploying. |
Contributor
|
Deployed. 🥳 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plotly has the zoom feature in both axes built-in alongside some other niceties and I was able to quite easily move the legend into the graph itself so it doesn't squash the graph into a tiny space when the legend gets big.
The legend itself is made slightly transparent so that the underlying graph can still be seen (also easier to pan and zoom with plotly to see what you want to despite the legend)
The config adapting from Chart.js to Plotly.js format was done by Claude but produces graphs that look right to me and nothing looks weird from my own review of it.
With some dummy data a playthrough of what this looks like:
https://github.com/user-attachments/assets/b4c1f1e4-77f2-4a89-bb9d-b60cb1ff047f