Loading modules/charts_billboard/src/Plugin/chart/Library/Billboard.php +2 −2 Original line number Diff line number Diff line Loading @@ -298,7 +298,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface { * Return the chart definition. */ private function populateData(array &$element, array $chart_definition) { $type = $this->getType($element['#chart_type']); $type = $this->getType($element['#chart_type'], $element['#polar'] ?? FALSE); $types = []; $children = Element::children($element); $y_axes = []; Loading Loading @@ -326,7 +326,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface { } if (!in_array($type, ['pie', 'donut'])) { $series_title = strip_tags($child_element['#title']); $types[$series_title] = $child_element['#chart_type'] ? $this->getType($child_element['#chart_type']) : $type; $types[$series_title] = $child_element['#chart_type'] ? $this->getType($child_element['#chart_type'], $element['#polar'] ?? FALSE) : $type; if (!in_array($type, ['scatter', 'bubble'])) { $columns[$columns_key_start][] = $series_title; foreach ($child_element['#data'] as $datum) { Loading Loading
modules/charts_billboard/src/Plugin/chart/Library/Billboard.php +2 −2 Original line number Diff line number Diff line Loading @@ -298,7 +298,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface { * Return the chart definition. */ private function populateData(array &$element, array $chart_definition) { $type = $this->getType($element['#chart_type']); $type = $this->getType($element['#chart_type'], $element['#polar'] ?? FALSE); $types = []; $children = Element::children($element); $y_axes = []; Loading Loading @@ -326,7 +326,7 @@ class Billboard extends ChartBase implements ContainerFactoryPluginInterface { } if (!in_array($type, ['pie', 'donut'])) { $series_title = strip_tags($child_element['#title']); $types[$series_title] = $child_element['#chart_type'] ? $this->getType($child_element['#chart_type']) : $type; $types[$series_title] = $child_element['#chart_type'] ? $this->getType($child_element['#chart_type'], $element['#polar'] ?? FALSE) : $type; if (!in_array($type, ['scatter', 'bubble'])) { $columns[$columns_key_start][] = $series_title; foreach ($child_element['#data'] as $datum) { Loading