-
public class GanttLine extends VisualBase
Gantt line marker.
-
-
Method Summary
Modifier and Type Method Description static GanttLineinstantiate()StringgetJsBase()voidenabled()Getter for the element state (enabled or disabled). GanttLineenabled(Boolean enabled)Setter for the element enabled state. voidisHorizontal()Whether a line marker has horizontal layout. voidlayout()Getter for the Gantt chart line marker layout. GanttLinelayout(Layout layout)Setter for the Gantt chart line marker layout. GanttLinelayout(String layout)Setter for the Gantt chart line 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 line marker scale. GanttLinescale(GanttDateTime scale)Setter for the Gantt chart line marker scale. voidstroke()Getter for the Gantt chart line marker stroke. GanttLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the Gantt chart line marker stroke. GanttLinestroke(String settings)Setter for price indicator stroke settings using an object. 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(). voidvalue()Getter for the Gantt chart line marker value. GanttLinevalue(Number value)Setter for the Gantt chart line marker value. GanttLinevalue(GanttDateTimeMarkers value)Setter for the Gantt chart line marker value. GanttLinevalue(String value)Setter for the Gantt chart line marker value. voidzIndex()Getter for the Z-index of the element. GanttLinezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. GanttLinecontainer(Layer element)Setter for the container. GanttLinecontainer(Stage element)Setter for the container. GanttLinecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. GanttLineparentBounds(Rect bounds)Setter for the parent bounds using single value. GanttLineparentBounds(String bounds)Setter for the parent bounds using single value. GanttLineparentBounds(Number bounds)Setter for the parent bounds using single value. GanttLineparentBounds(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
-
GanttLine
GanttLine(String jsChart)
-
-
Method Detail
-
instantiate
static GanttLine instantiate()
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
isHorizontal
void isHorizontal()
Whether a line 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 line marker layout.
-
layout
GanttLine layout(Layout layout)
Setter for the Gantt chart line marker layout.Note: The layout method will not work here, only 'vertical' layout are available in Gantt Chart.
-
layout
GanttLine layout(String layout)
Setter for the Gantt chart line 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 line marker scale.
-
scale
GanttLine scale(GanttDateTime scale)
Setter for the Gantt chart line 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}
-
stroke
void stroke()
Getter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the Gantt chart line marker stroke.
-
stroke
GanttLine stroke(String settings)
Setter for price indicator stroke settings using an object.
-
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().
-
value
void value()
Getter for the Gantt chart line marker value.
-
value
GanttLine value(GanttDateTimeMarkers value)
Setter for the Gantt chart line marker value.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
GanttLine 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
GanttLine 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
GanttLine 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.
-
-
-
-