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:
axis: 'xy'
axis_inverted: true
stacking: true
boxplot:
label: 'Boxplot'
axis: 'xy'
axis_inverted: false
stacking: false
bubble:
label: 'Bubble'
axis: 'xy'
axis_inverted: false
stacking: false
candlestick:
label: 'Candlestick'
axis: 'xy'
axis_inverted: false
stacking: false
column:
label: 'Column'
axis: 'xy'
......
......@@ -22,6 +22,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* "area",
* "bar",
* "bubble",
* "candlestick",
* "column",
* "donut",
* "gauge",
......@@ -347,7 +348,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface {
array_shift($datum);
}
$columns[$columns_key_start][] = array_map(function ($item) {
return isset($item) ? strip_tags($item) : NULL;
return isset($item) ? (float) strip_tags($item) : NULL;
}, $datum);
}
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