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 new option : type and change data scope #24

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Metrakit
Copy link

In this version I have added the option 'type' for changed directly the type in the javascript. Because It's more convenient for have a dynamic content than html semantic.
So in the HTML now we can use data-chart="id" and data-type="pie" for customize the chart.

Add the setting "type", and change the scopes "data-pie-id", "data-bar-id", "data-line-id" by "data-chart" with "data-type"
Add type setting and new data scope : "data-chart". "data-chart" replace now "data-pie-id", "data-bar-id", "data-line-id" with "data-type". Example of usage : data-type: 'pie'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant