This question is locked. New answers and comments are not allowed.
I want to rotate the text of the X axis labels by 90 degrees
In the docs I've found :
$labels = new \Kendo\Dataviz\UI\ChartXAxisItemLabels();
$labels->rotation(90);
Which I added before
$chart = new \Kendo\Dataviz\UI\Chart('chart');$chart->title(array('text' => 'Bar chart'))
->legend(array('position' => 'top'))
->addSeriesItem($arr[0],$arr[1],$arr[2],$arr[3],$arr[4])
->addValueAxisItem($valueAxis)
->addCategoryAxisItem($cateogrySeriesAxis)
->addCategoryAxisItem($categoryLabelsAxis)
->tooltip($tooltip)
->chartArea(array('background' => 'transparent'))
->seriesDefaults(array('type' => 'column'));
echo $chart->render();
However, the changes are not applied.
I first thought I had to assign it to $chart (such as tooltip is done) but this leads to a blank page so I have no idea what I have to do with to make it work