trait HorizontalAxesTrait (View source)

Methods

hAxes( array $hAxisConfigArray)

Specifies properties for individual horizontal axes, if the chart has multiple horizontal axes.

Details

at line 22
Chart hAxes( array $hAxisConfigArray)

Specifies properties for individual horizontal axes, if the chart has multiple horizontal axes.

Each child object is a hAxis object, and can contain all the properties supported by hAxis. These property values override any global settings for the same property. To specify a chart with multiple horizontal axes, first define a new axis using series.targetAxisIndex, then configure the axis using hAxes.

Parameters

array $hAxisConfigArray Array of HorizontalAxis configuration arrays

Return Value

Chart

Exceptions

InvalidConfigValue