trading-peter / chart-elements

Chart.js as Polymer Elements
https://robdodson.github.io/chart-elements
267 stars 70 forks source link

added chart-horizontal-bar for horizontal bar charts #51

Closed gkovacs closed 8 years ago

Stormsys commented 8 years ago

Is horizontal chart built into the charjs library? i cant find it on their documentation - i think its a third party library which you havn't reference in this commit?

trading-peter commented 8 years ago

@Stormsys I think he means:

var myBarChart = new Chart(ctx, {
    type: 'horizontalBar',
    data: data,
    options: options
});

Found in the bar chart section right before the data structure part.

Stormsys commented 8 years ago

Ah yes - okay looks good to me so il approve. Thanks for the contribution :)