Ng2-charts: How to create horizontal bar chart ?

Created on 27 Mar 2017  路  2Comments  路  Source: valor-software/ng2-charts

Is it possible to create horizontal bar chart ? If not, is it planned for future release?

Most helpful comment

Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.

<canvas baseChart
            [datasets]="data"
            [labels]="label"
            chartType="horizontalBar">
</canvas>

All 2 comments

Bar charts can be used by adjusting the "chartType" option within your baseChart canvas.

<canvas baseChart
            [datasets]="data"
            [labels]="label"
            chartType="horizontalBar">
</canvas>

Its working. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grahammutter picture grahammutter  路  4Comments

SteeledSlagle13 picture SteeledSlagle13  路  3Comments

shyamal890 picture shyamal890  路  4Comments

alexcastillo picture alexcastillo  路  5Comments

egervari picture egervari  路  4Comments