-
public class GanttRange extends VisualBase
Gantt range marker.
-
-
Constructor Summary
Constructors Constructor Description GanttRange(String jsChart)
-
Method Summary
Modifier and Type Method Description static GanttRangeinstantiate()StringgetJsBase()voidenabled()Getter for the element state (enabled or disabled). GanttRangeenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the range marker fill. GanttRangefill(Fill color)Setter for fill settings using an array or a string. GanttRangefill(String color, Number opacity)Fill color with opacity. GanttRangefill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. GanttRangefill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. GanttRangefill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. GanttRangefill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. GanttRangefill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. GanttRangefill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. GanttRangefill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. GanttRangefill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidfrom()Getter for the starting marker value. GanttRangefrom(Number fromValue)Setter for the starting marker value. GanttRangefrom(GanttDateTimeMarkers fromValue)Setter for the starting marker value. GanttRangefrom(String fromValue)Setter for the starting marker value. voidisHorizontal()Whether a range marker has horizontal layout. voidlayout()Getter for the Gantt chart range marker layout. GanttRangelayout(Layout layout)Setter for the Gantt chart range marker layout. GanttRangelayout(String layout)Setter for the Gantt chart range marker layout. 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. GanttDateTimescale()Getter for the Gantt chart range marker scale. GanttRangescale(GanttDateTime scale)Setter for the Gantt chart range marker scale. voidto()Getter for the ending marker value. GanttRangeto(Number toValue)Setter for the ending marker value. GanttRangeto(GanttDateTimeMarkers toValue)Setter for the ending marker value. GanttRangeto(String toValue)Setter for the ending marker value. 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. GanttRangezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. GanttRangecontainer(Layer element)Setter for the container. GanttRangecontainer(Stage element)Setter for the container. GanttRangecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. GanttRangeparentBounds(Rect bounds)Setter for the parent bounds using single value. GanttRangeparentBounds(String bounds)Setter for the parent bounds using single value. GanttRangeparentBounds(Number bounds)Setter for the parent bounds using single value. GanttRangeparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. GanttRangefill(String value)-
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
-
GanttRange
GanttRange(String jsChart)
-
-
Method Detail
-
instantiate
static GanttRange instantiate()
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
GanttRange enabled(Boolean enabled)
Setter for the element enabled state.
-
fill
void fill()
Getter for the range marker fill.
-
fill
GanttRange fill(Fill color)
Setter for fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
fill
GanttRange fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
GanttRange fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
from
void from()
Getter for the starting marker value.
-
from
GanttRange from(Number fromValue)
Setter for the starting marker value.
-
from
GanttRange from(GanttDateTimeMarkers fromValue)
Setter for the starting marker value.
-
from
GanttRange from(String fromValue)
Setter for the starting marker value.
-
isHorizontal
void isHorizontal()
Whether a range marker has horizontal layout.Note: Any type of Gantt diagram will return "false", because markers in Gantt charts can be only vertical. Layout is defined by layout method.
-
layout
void layout()
Getter for the Gantt chart range marker layout.
-
layout
GanttRange layout(Layout layout)
Setter for the Gantt chart range marker layout. Note: The layout method will not work here, only 'vertical' layout are available in Gantt Chart.
-
layout
GanttRange layout(String layout)
Setter for the Gantt chart range marker layout. Note: The layout method will not work here, only 'vertical' layout are available in Gantt Chart.
-
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.
-
scale
GanttDateTime scale()
Getter for the Gantt chart range marker scale.
-
scale
GanttRange scale(GanttDateTime scale)
Setter for the Gantt chart range marker scale. Note: The scale method will not work here, only "dateTime" scale are available in Gantt Chart. {docs:Gantt_Chart/Timeline#special_features}Learn more about scale.{docs}
-
to
void to()
Getter for the ending marker value.
-
to
GanttRange to(Number toValue)
Setter for the ending marker value.
-
to
GanttRange to(GanttDateTimeMarkers toValue)
Setter for the ending marker value.
-
to
GanttRange to(String toValue)
Setter for the ending marker value.
-
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
GanttRange zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
GanttRange container(Layer element)
Setter for the container.
-
container
GanttRange container(Stage element)
Setter for the container.
-
container
GanttRange 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
GanttRange 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
GanttRange 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
GanttRange 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
GanttRange 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.
-
fill
GanttRange fill(String value)
-
-
-
-