MDL-55146 core: Support custom labels on X axis

Note that this is still limited as the number of labels is locked
to the number of elements in the series.

Part of MDL-54987 epic.
This commit is contained in:
Frederic Massart
2016-07-25 10:43:14 +01:00
committed by Dan Poltawski
parent 2b01f9157a
commit cc8438d112
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ class chart_base implements JsonSerializable, renderable {
* axis preceding, we would effectively contain the axes in an associative array
* rather than a simple array, and that would have consequences on serialisation.
*
* @param string} $xy Accepts x or y.
* @param string $xy Accepts x or y.
* @param chart_axis $axis The axis to validate.
* @param index $index The index of the axis.
*/