Skip to content
Snippets Groups Projects
Commit 176faf85 authored by Nathan Haug's avatar Nathan Haug
Browse files

Fixing issue with non-rotated labels going missing.

parent 38b120ee
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ function _charts_google_populate_chart_axes($chart, $chart_definition) {
$axis['textStyle']['bold'] = $chart[$key]['#labels_font_weight'] === 'bold' ? TRUE : FALSE;
$axis['textStyle']['italic'] = $chart[$key]['#labels_font_style'] === 'italic' ? TRUE : FALSE;
$axis['textStyle']['fontSize'] = $chart[$key]['#labels_font_size'];
$axis['slantedText'] = isset($chart[$key]['#labels_rotation']) ? TRUE : NULL;
$axis['slantedText'] = !empty($chart[$key]['#labels_rotation']) ? TRUE : NULL;
$axis['slantedTextAngle'] = $chart[$key]['#labels_rotation'];
$axis['gridlines']['color'] = $chart[$key]['#grid_line_color'];
$axis['baselineColor'] = $chart[$key]['#base_line_color'];
......
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