Skip to content

Commit

Permalink
Crediting feature added
Browse files Browse the repository at this point in the history
  • Loading branch information
avdaredevil committed Nov 11, 2015
1 parent 58651f0 commit 3f36f47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Attribute | Options | Default | Description
`label` | *string* | `Label`*`[for non numeric]`* | Alias for y-label
`data` | *array* | `[]` | Data for chart
`vsTime` | *boolean* | `false` | Set all options appropriate for a time chart
`credits` | *boolean* | `false` | Wish to thank/credit HighCharts?

### Methods

Expand Down
2 changes: 2 additions & 0 deletions highcharts-chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
yLabel: {type: String, value: "Y-Axis"},
label: {type: String, value: "Label"},
data: {type: Array, value: [], observer:"setData"},
credits: {type: Boolean, value: false, reflectToAttribute:true},
vsTime: {type: Boolean, value: false},
_chart: {type: Object, readOnly: true}},
ready: function() {
Expand All @@ -45,6 +46,7 @@
},
title: {text: this.title},
xAxis: xAxis,
credits: this.credits,
plotOptions: {
pie: {
allowPointSelect: true,
Expand Down

0 comments on commit 3f36f47

Please sign in to comment.