8000 feature #87 Chart.js: add horizontalBar type to chart model (duboiss) · symfony/ux@fa47c06 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa47c06

Browse files
committed
feature #87 Chart.js: add horizontalBar type to chart model (duboiss)
This PR was merged into the main branch. Discussion ---------- Chart.js: add horizontalBar type to chart model | Q | A | ------------- | --- | Bug fix? | yes | License | MIT You can close [https://github.com/symfony/ux-chartjs/pull/1](https://github.com/symfony/ux-chartjs/pull/1). [https://www.chartjs.org/docs/2.9.4/charts/bar.html#horizontal-bar-chart](https://www.chartjs.org/docs/2.9.4/charts/bar.html#horizontal-bar-chart ) Add missing horizontal bar type. Commits ------- 5cd5f4f Chart.js: add horizontalBar to chart model
2 parents 9e4a766 + 5cd5f4f commit fa47c06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Chartjs/Model/Chart.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Chart
2121
{
2222
public const TYPE_LINE = 'line';
2323
public const TYPE_BAR = 'bar';
24+
public const TYPE_BAR_HORIZONTAL = 'horizontalBar';
2425
public const TYPE_RADAR = 'radar';
2526
public const TYPE_PIE = 'pie';
2627
public const TYPE_DOUGHNUT = 'doughnut';

0 commit comments

Comments
 (0)
0