Skip to content

Add new option : type and change data scope#24

Open
Metrakit wants to merge 8 commits intozurb:masterfrom
Metrakit:master
Open

Add new option : type and change data scope#24
Metrakit wants to merge 8 commits intozurb:masterfrom
Metrakit:master

Conversation

@Metrakit
Copy link
Copy Markdown

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.

Metrakit added 8 commits June 16, 2014 20:54
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