public class CartesianTimeSeriesAxis extends CartesianTimeAxis
Modifier | Constructor and Description |
---|---|
|
CartesianTimeSeriesAxis(IsChart chart)
Builds the object storing the chart instance.
|
|
CartesianTimeSeriesAxis(IsChart chart,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
|
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id)
Builds the object storing the chart instance.
|
|
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
protected |
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
|
CartesianTimeSeriesAxis(IsChart chart,
String id)
Builds the object storing the chart instance.
|
|
CartesianTimeSeriesAxis(IsChart chart,
String id,
AxisKind kind)
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.
|
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) |
String |
toJSON()
Returns the JSON representation of the object.
|
getAdapters, getMax, getMin, getTicks, getTime, setMax, setMin
getBounds, getGrid, getPosition, getStack, getStackWeight, getTitle, isOffset, isSingleStacked, isStacked, setBounds, setOffset, setPosition, setSingleStacked, setStack, setStacked, setStackWeight
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
public CartesianTimeSeriesAxis(IsChart chart)
chart
- chart instancepublic CartesianTimeSeriesAxis(IsChart chart, String id)
chart
- chart instanceid
- axis idpublic CartesianTimeSeriesAxis(IsChart chart, ScaleId id)
chart
- chart instanceid
- axis idpublic CartesianTimeSeriesAxis(IsChart chart, AxisKind kind)
chart
- chart instancekind
- axis kindpublic CartesianTimeSeriesAxis(IsChart chart, String id, AxisKind kind)
chart
- chart instanceid
- axis idkind
- axis kindpublic CartesianTimeSeriesAxis(IsChart chart, ScaleId id, AxisKind kind)
chart
- chart instanceid
- axis idkind
- axis kindprotected 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()