How to do a horizontal bar chart?

Dear All,

Scratching my head on this, but how do you create a horizontal bar chart? Looking at the documentation:-

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

But within Universal dashboard it does not like me using “horizontalBar” as the type of chart. Please can someone help me with a simple demo please.

Simply put, I don’t think that chart type is supported… yet! :disappointed:

Many thanks for the reply Jim.

@adam are horizontal bar charts on the roadmap? not a critical item but a nice to have.

@adegutis I dont think there is an issue on GitHub for it so if it’s something you guys want, feel free to open one!

1 Like