Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ <h2>Chart gallery</h2>
rows='[["Jan", 31],["Feb", 28],["Mar", 31],["Apr", 30],["May", 31],["Jun", 30]]'>
</google-chart>

<p>And here is the material bar chart:</p>

<google-chart
type="md-bar"
options='{"title": "Days in a month"}'
cols='[{"label": "Month", "type": "string"},{"label": "Days", "type": "number"}]'
rows='[["Jan", 31],["Feb", 28],["Mar", 31],["Apr", 30],["May", 31],["Jun", 30]]'></google-chart>

<p>Here's a bubble chart:</p>

<google-chart
Expand Down
4 changes: 4 additions & 0 deletions google-chart-loader.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
'bar': {
ctor: 'BarChart',
},
'md-bar': {
ctor: 'Bar',
pkg: 'bar',

@ebidel ebidel Jul 19, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkg: 'bar'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm, I see others are like this already.

},
'bubble': {
ctor: 'BubbleChart',
},
Expand Down