public final class SizeLogarithmicAxis extends CartesianLogarithmicAxis
| Constructor and Description |
|---|
SizeLogarithmicAxis(IsChart chart)
Builds the object storing the chart instance and axis type.
|
| Modifier and Type | Method and Description |
|---|---|
IsChart |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
default Legend |
getLegend()
Returns the legend configuration.
|
org.pepstock.charba.client.geo.SizeAxisMapper |
getMapper()
Returns the size axis mapper.
|
default double |
getMissingRadius()
Returns the radius to render for missing values.
|
default Mode |
getMode()
Returns the operation modes for the scale, area means that the area is linearly increasing whereas radius the radius is.
|
default List<Integer> |
getRange()
Returns the radius range in pixel, the minimal data value will be mapped to the first entry, the maximal one to the second and a linear interpolation for all values in
between.
|
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. |
protected void |
setConfiguration(T configuration) |
default void |
setMissingRadius(double missingRadius)
Sets the radius to render for missing values.
|
default void |
setMode(Mode mode)
Sets the operation modes for the scale, area means that the area is linearly increasing whereas radius the radius is.
|
default void |
setRange(int min,
int max)
Sets the radius range in pixel, the minimal data value will be mapped to the first entry, the maximal one to the second and a linear interpolation for all values in between.
|
String |
toJSON()
Returns the JSON representation of the object.
|
getAxisElement, getTicksgetBounds, getGrid, getPosition, getStack, getStackWeight, getTitle, isOffset, isSingleStacked, isStacked, setBounds, setOffset, setPosition, setSingleStacked, setStack, setStacked, setStackWeightgetAxis, 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, setWeightclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMax, getMin, getSuggestedMax, getSuggestedMin, setMax, setMin, setSuggestedMax, setSuggestedMinpublic static final AxisType TYPE
public SizeLogarithmicAxis(IsChart chart)
chart - chart instancepublic org.pepstock.charba.client.geo.SizeAxisMapper getMapper()
public void setMissingRadius(double missingRadius)
missingRadius - the radius to render for missing valuespublic double getMissingRadius()
public void setMode(Mode mode)
mode - the operation modes for the scale, area means that the area is linearly increasing whereas radius the radius ispublic Mode getMode()
public void setRange(int min,
int max)
min - minimum range in pixelmax - maximum range in pixelpublic List<Integer> getRange()
public Legend getLegend()
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()