com.github.highcharts4gwt.model.highcharts.object.api.Axis Maven / Gradle / Ivy
Show all versions of highcharts Show documentation
package com.github.highcharts4gwt.model.highcharts.object.api;
/**
* A chart can have from 0 axes (pie chart) to multiples. In a normal, single series cartesian chart, there is one X axis and one Y axis.
The X axis or axes are referenced by chart.xAxis
, which is an array of Axis objects. If there is only one axis, it can be referenced through chart.xAxis[0]
, and multiple axes have increasing indices. The same pattern goes for Y axes.
If you need to get the axes from a series object, use the series.xAxis
andseries.yAxis
properties. These are not arrays, as one series can only be associated to one X and one Y axis.
A third way to reference the axis programmatically is by id. Add an id in the axis configuration options, and get the axis by chart.get(id)
.
Configuration options for the axes are given in options.xAxis and options.yAxis.
*
*/
public interface Axis {
}