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 support for the role attibute #11

Open
jpminnovation opened this issue Dec 30, 2021 · 2 comments
Open

Add support for the role attibute #11

jpminnovation opened this issue Dec 30, 2021 · 2 comments

Comments

@jpminnovation
Copy link

Would it be possible to support a role attribute for the graphs, so that using CSS, we can customize some of its properties (such as alignment, width, etc ...) ?

Something such as :

class="chartjs"
@ggrossetie
Copy link
Member

We could add a default role but it should also be possible to define custom roles using the role attribute:

chart::sample-data.csv[line,engine="chartjs",role="sample,data,line-chart"]

@jpminnovation
Copy link
Author

Perfect

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