-
public class StockDateTime extends VisualBase
Stock date time axis class.
-
-
Constructor Summary
Constructors Constructor Description StockDateTime(String jsChart)
-
Method Summary
Modifier and Type Method Description static StockDateTimeinstantiate()StringgetJsBase()Backgroundbackground()Getter for axis background settings. StockDateTimebackground(String settings)Setter for axis background settings. StockDateTimebackground(Boolean settings)Setter for axis background settings. voidenabled()Getter for the element state (enabled or disabled). StockDateTimeenabled(Boolean enabled)Setter for the element enabled state. voidheight()Getter for the axis height. StockDateTimeheight(Number height)Setter for the axis height. LabelsFactorylabels()Getter for axis labels settings. StockDateTimelabels(String settings)Setter for axis labels settings. StockDateTimelabels(Boolean settings)Setter for axis labels settings. LabelsFactoryminorLabels()Getter for minor labels settings. StockDateTimeminorLabels(String settings)Setter for minor labels settings. StockDateTimeminorLabels(Boolean settings)Setter for minor labels settings. TicksminorTicks()Getter for minor ticks. StockDateTimeminorTicks(String settings)Setter for the minor ticks. StockDateTimeminorTicks(Boolean settings)Setter for the minor ticks. voidoverlapMode()Getter for labels overlap mode. StockDateTimeoverlapMode(StockLabelsOverlapMode mode)Setter for labels overlap mode. StockDateTimeoverlapMode(String mode)Setter for labels overlap mode. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidremoveAllListeners(String type)Removes all listeners from an object. voidshowHelperLabel()Getter for the drawing helper label. StockDateTimeshowHelperLabel(Boolean settings)Setter for the drawing helper label. Ticksticks()Getter for axis ticks. StockDateTimeticks(String settings)Getter for axis ticks. StockDateTimeticks(Boolean settings)Getter for axis ticks. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). voidzIndex()Getter for the Z-index of the element. StockDateTimezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. StockDateTimecontainer(Layer element)Setter for the container. StockDateTimecontainer(Stage element)Setter for the container. StockDateTimecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. StockDateTimeparentBounds(Rect bounds)Setter for the parent bounds using single value. StockDateTimeparentBounds(String bounds)Setter for the parent bounds using single value. StockDateTimeparentBounds(Number bounds)Setter for the parent bounds using single value. StockDateTimeparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. -
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class com.anychart.core.Base
instantiate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StockDateTime
StockDateTime(String jsChart)
-
-
Method Detail
-
instantiate
static StockDateTime instantiate()
-
background
Background background()
Getter for axis background settings.
-
background
StockDateTime background(String settings)
Setter for axis background settings.
-
background
StockDateTime background(Boolean settings)
Setter for axis background settings.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
StockDateTime enabled(Boolean enabled)
Setter for the element enabled state.
-
height
void height()
Getter for the axis height.
-
height
StockDateTime height(Number height)
Setter for the axis height.
-
labels
LabelsFactory labels()
Getter for axis labels settings.
-
labels
StockDateTime labels(String settings)
Setter for axis labels settings.
-
labels
StockDateTime labels(Boolean settings)
Setter for axis labels settings.
-
minorLabels
LabelsFactory minorLabels()
Getter for minor labels settings.
-
minorLabels
StockDateTime minorLabels(String settings)
Setter for minor labels settings.
-
minorLabels
StockDateTime minorLabels(Boolean settings)
Setter for minor labels settings.
-
minorTicks
Ticks minorTicks()
Getter for minor ticks.
-
minorTicks
StockDateTime minorTicks(String settings)
Setter for the minor ticks.
-
minorTicks
StockDateTime minorTicks(Boolean settings)
Setter for the minor ticks.
-
overlapMode
void overlapMode()
Getter for labels overlap mode.
-
overlapMode
StockDateTime overlapMode(StockLabelsOverlapMode mode)
Setter for labels overlap mode. Whether to allow labels to overlap.
-
overlapMode
StockDateTime overlapMode(String mode)
Setter for labels overlap mode. Whether to allow labels to overlap.
-
print
void print(PaperSize paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
print
void print(String paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
showHelperLabel
void showHelperLabel()
Getter for the drawing helper label.
-
showHelperLabel
StockDateTime showHelperLabel(Boolean settings)
Setter for the drawing helper label. Whether to draw helper label (leftmost hanging label).
-
ticks
StockDateTime ticks(String settings)
Getter for axis ticks.
-
ticks
StockDateTime ticks(Boolean settings)
Getter for axis ticks.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
StockDateTime zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
StockDateTime container(Layer element)
Setter for the container.
-
container
StockDateTime container(Stage element)
Setter for the container.
-
container
StockDateTime container(String element)
Setter for the container.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
StockDateTime parentBounds(Rect bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
StockDateTime parentBounds(String bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
StockDateTime parentBounds(Number bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
StockDateTime parentBounds(Number left, Number top, Number width, Number height)
Setter for the parent bounds using several values. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
-
-
-