trait OrientationTrait (View source)

Methods

orientation( boolean $orientation)

Sets the orientation of the chart.

Details

at line 17
Chart orientation( boolean $orientation)

Sets the orientation of the chart.

When set to 'vertical', rotates the axes of the chart so that (for instance) a column chart becomes a bar chart, and an area chart grows rightward instead of up

Parameters

boolean $orientation

Return Value

Chart

Exceptions

InvalidConfigValue