Package org.pepstock.charba.client.geo
Class Graticule
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.geo.Graticule
-
public final class Graticule extends NativeObjectContainer
The network of intersecting lines of latitude and longitude is called the graticule.
It is imaginary on the earth, of course, but is drawn on globes and maps for reference.
The graticule of latitude and longitude lines is an angular measurement system.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description Graticule()
Creates a graticule object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>
getStepMajor()
Returns the graticule lines distances in degrees.List<Double>
getStepMinor()
Returns the graticule lines distances in degrees.void
setStepMajor(double start, double end)
Sets the graticule lines distances in degrees.void
setStepMinor(double start, double end)
Sets the graticule lines distances in degrees.-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Method Detail
-
setStepMajor
public void setStepMajor(double start, double end)
Sets the graticule lines distances in degrees.- Parameters:
start
- the start graticule line distance in degreesend
- the end graticule line distance in degrees
-
getStepMajor
public List<Double> getStepMajor()
Returns the graticule lines distances in degrees. Only 2 values are allowed.- Returns:
- the graticule lines distances in degrees
-
setStepMinor
public void setStepMinor(double start, double end)
Sets the graticule lines distances in degrees. Only 2 values are allowed.- Parameters:
start
- the start graticule line distance in degreesend
- the end graticule line distance in degrees
-
-