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

Add some documentation about chaarts usage #109

Open
nhoizey opened this issue Oct 30, 2023 · 0 comments
Open

Add some documentation about chaarts usage #109

nhoizey opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@nhoizey
Copy link

nhoizey commented Oct 30, 2023

Even if it's not yet usable as an installable library (#27), it currently requires a bit of digging to understand how to build graphs like on the demo site.

For example, for a bar chart:

  • load https://github.com/ffoodd/chaarts/blob/main/dist/chaarts.css , not just the CSS from the example
  • it looks like part (or all?) of the example styles are already inside chaarts.css
  • add a container element with class chaarts-container, <table class="chaarts bar"…> is not enough
  • add data-theme="dark" to the html element to get the dark theme (at least if there is no prefers-color-scheme management on the site?)
@ffoodd ffoodd self-assigned this Feb 4, 2024
@ffoodd ffoodd added the documentation Improvements or additions to documentation label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants