Skip to content
Snippets Groups Projects
Commit a7d616e9 authored by Daniel Cothran's avatar Daniel Cothran Committed by Daniel Cothran
Browse files

Issue #3391197 by andileco: Enable support for Candlestick and Boxplot charts

parent fc26ac2c
No related branches found
No related tags found
2 merge requests!113fixed the issue,!75Resolve #3391197 "Enable support for"
...@@ -8,11 +8,21 @@ bar: ...@@ -8,11 +8,21 @@ bar:
axis: 'xy' axis: 'xy'
axis_inverted: true axis_inverted: true
stacking: true stacking: true
boxplot:
label: 'Boxplot'
axis: 'xy'
axis_inverted: false
stacking: false
bubble: bubble:
label: 'Bubble' label: 'Bubble'
axis: 'xy' axis: 'xy'
axis_inverted: false axis_inverted: false
stacking: false stacking: false
candlestick:
label: 'Candlestick'
axis: 'xy'
axis_inverted: false
stacking: false
column: column:
label: 'Column' label: 'Column'
axis: 'xy' axis: 'xy'
......
...@@ -22,6 +22,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; ...@@ -22,6 +22,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* "area", * "area",
* "bar", * "bar",
* "bubble", * "bubble",
* "candlestick",
* "column", * "column",
* "donut", * "donut",
* "gauge", * "gauge",
...@@ -347,7 +348,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface { ...@@ -347,7 +348,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface {
array_shift($datum); array_shift($datum);
} }
$columns[$columns_key_start][] = array_map(function ($item) { $columns[$columns_key_start][] = array_map(function ($item) {
return isset($item) ? strip_tags($item) : NULL; return isset($item) ? (float) strip_tags($item) : NULL;
}, $datum); }, $datum);
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment