public class RadialAxis extends Axis implements IsLinearAxis
Modifier | Constructor and Description |
---|---|
|
RadialAxis(IsChart chart)
Builds the object storing the chart instance.
|
protected |
RadialAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
Modifier and Type | Method and Description |
---|---|
RadialAngleLines |
getAngleLines()
Returns the angle lines element.
|
Axis |
getAxisElement()
Returns the axis instance.
|
IsChart |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
Grid |
getGrid()
Returns the grid element.
|
RadialPointLabels |
getPointLabels()
Returns the point labels element.
|
double |
getStartAngle()
Returns the starting angle to draw arcs for the first item in a data set.
|
RadialLinearTick |
getTicks()
Returns the ticks element.
|
boolean |
isAnimate()
Returns whether to animate scaling the chart from the center.
|
ChartEnvelop<NativeObject> |
loadNativeObject(ChartEnvelop<NativeObject> envelop)
Returns the native object instance inside an envelop.
It can be called only from org.pepstock.charba.client package. |
void |
merge(NativeObjectContainer source,
String property)
Merge a native object in the this one with a specific property name.
This is used by plugins implementation (native java script ones) when they are not using the standard way to add plugin configuration in the options of chart. |
void |
setAnimate(boolean animate)
Sets whether to animate scaling the chart from the center.
|
protected void |
setConfiguration(T configuration) |
void |
setStartAngle(double startAngle)
Sets the starting angle to draw arcs for the first item in a data set.
|
String |
toJSON()
Returns the JSON representation of the object.
|
getAxis, getAxisBuildTicksCallback, getAxisCalculateLabelRotationCallback, getAxisDataLimitsCallback, getAxisDimensionsCallback, getAxisFitCallback, getAxisTickToLabelConversionCallback, getAxisUpdateCallback, getBackgroundColor, getBackgroundColorAsString, getCharbaId, getDisplay, getId, getType, getWeight, isAlignToPixels, isReverse, setAlignToPixels, setAxisBuildTicksCallback, setAxisCalculateLabelRotationCallback, setAxisDataLimitsCallback, setAxisDimensionsCallback, setAxisFitCallback, setAxisTickToLabelConversionCallback, setAxisUpdateCallback, setBackgroundColor, setBackgroundColor, setDisplay, setDisplay, setReverse, setWeight
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isBeginAtZero, setBeginAtZero
getMax, getMin, getSuggestedMax, getSuggestedMin, setMax, setMin, setSuggestedMax, setSuggestedMin
public RadialAxis(IsChart chart)
chart
- chart instancepublic Axis getAxisElement()
IsNumericAxis
getAxisElement
in interface IsNumericAxis
public RadialLinearTick getTicks()
public Grid getGrid()
public RadialAngleLines getAngleLines()
public RadialPointLabels getPointLabels()
public void setAnimate(boolean animate)
animate
- whether to animate scaling the chart from the center.public boolean isAnimate()
public void setStartAngle(double startAngle)
startAngle
- starting angle to draw arcs for the first item in a data set.public double getStartAngle()
protected final void setConfiguration(T configuration)
configuration
- the configuration to setprotected final T getConfiguration()
public final void merge(NativeObjectContainer source, String property)
source
- native object container to addproperty
- property namepublic final String toJSON()
public final ChartEnvelop<NativeObject> loadNativeObject(ChartEnvelop<NativeObject> envelop)
org.pepstock.charba.client
package.envelop
- envelop instance which will contain the native objectpublic final IsChart getChart()