public final class ColorLogarithmicAxis extends CartesianLogarithmicAxis
| Modifier and Type | Field and Description |
|---|---|
static AxisType |
TYPE
Projection axis type.
|
| Constructor and Description |
|---|
ColorLogarithmicAxis(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 Interpolate |
getInterpolate()
Returns the color interpolation of the scale.
|
default InterpolateCallback |
getInterpolateCallback()
Returns the color interpolation callback of the scale.
|
default Legend |
getLegend()
Returns the legend configuration.
|
org.pepstock.charba.client.geo.ColorAxisMapper |
getMapper()
Returns the color axis mapper.
|
default IsColor |
getMissingColor()
Returns the missing color.
|
default String |
getMissingColorAsString()
Returns the missing color.
|
default int |
getQuantize()
Returns the amount of pieces to allow to split the color scale in N quantized equal bins.
|
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 |
setInterpolate(Interpolate interpolate)
Sets the color interpolation of the scale.
|
default void |
setInterpolate(InterpolateCallback interpolateCallback)
Sets the color interpolation callback of the scale.
|
default void |
setMissingColor(IsColor missingColor)
Sets the missing color.
|
default void |
setMissingColor(String missingColor)
Sets the missing color.
|
default void |
setQuantize(int quantize)
Sets the amount of pieces to allow to split the color scale in N quantized equal bins.
|
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 ColorLogarithmicAxis(IsChart chart)
chart - chart instancepublic org.pepstock.charba.client.geo.ColorAxisMapper getMapper()
public void setMissingColor(IsColor missingColor)
missingColor - the missing color.public void setMissingColor(String missingColor)
missingColor - the missing color.public String getMissingColorAsString()
public IsColor getMissingColor()
public void setQuantize(int quantize)
quantize - the amount of pieces to allow to split the color scale in N quantized equal binspublic int getQuantize()
public void setInterpolate(Interpolate interpolate)
interpolate - the color interpolation of the scalepublic Interpolate getInterpolate()
public void setInterpolate(InterpolateCallback interpolateCallback)
interpolateCallback - the color interpolation callback of the scalepublic InterpolateCallback getInterpolateCallback()
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()