class anychart.standalones.ResourceTimeline Improve this Doc
Extends: anychart.core.ui.Timeline
Methods Overview
| Axes and Scales | |
| lineMarker() | Line marker settings. |
| rangeMarker() | Range marker settings. |
| textMarker() | Text marker settings. |
| Coloring | |
| backgroundFill() | Background fill settings. |
| baseFill() | Base fill settings. |
| baseStroke() | Base stroke settings. |
| baselineFill() | Baseline fill settings. |
| baselineStroke() | Baseline stroke settings. |
| columnStroke() | Column stroke settings. |
| connectorFill() | Connector fill settings. |
| connectorPreviewStroke() | Connector preview stroke settings. |
| connectorStroke() | Connector stroke settings. |
| editConnectorThumbFill() | Edit connector thumb fill settings. |
| editConnectorThumbStroke() | Edit connector thumb stroke settings. |
| editIntervalThumbFill() | Edit interval preview fill settings. |
| editIntervalThumbStroke() | Edit interval thumb stroke settings. |
| editPreviewFill() | Edit preview fill settings. |
| editPreviewStroke() | Edit preview stroke settings. |
| editProgressFill() | Edit progress preview fill settings. |
| editProgressStroke() | Edit progress preview stroke settings. |
| editStructurePreviewDashStroke() | Connector preview stroke settings. |
| editStructurePreviewFill() | Edit structure fill settings. |
| editStructurePreviewStroke() | Connector preview stroke settings. |
| milestoneFill() | Milestone fill settings. |
| milestoneStroke() | Milestone stroke settings. |
| parentFill() | Parent fill settings. |
| parentStroke() | Parent stroke settings. |
| progressFill() | Progress bar fill settings. |
| progressStroke() | Progress stroke settings. |
| rowEvenFill() | Row even settings. |
| rowFill() | Row fill settings. |
| rowHoverFill() | Row settings on hover fill. |
| rowOddFill() | Row odd fill settings. |
| rowSelectedFill() | Row settings in selected mode. |
| selectedElementFill() | Fill settings for selected element. |
| selectedElementStroke() | Stroke settings for selected element. |
| Interactivity | |
| editing() | Live edit mode. |
| tooltip() | Tooltip settings. |
| Point Elements | |
| labels() | Labels settings. |
| markers() | Markers settings. |
| Size and Position | |
| baselineAbove() | Displaying of the baseline bar above an time bar. |
| defaultRowHeight() | Default row height settings. |
Methods Description
backgroundFill
Returns:
anychart.graphics.vector.Fill | string - Current background fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "none" | Color as an array or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "none" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
baseFill
Returns:
anychart.graphics.vector.Fill | string - The current base fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "none" | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "none" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
baseStroke
Returns:
anychart.graphics.vector.Stroke | string - The current base stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | '#0C3F5F' | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
baselineAbove
Returns:
boolean - The current boolean value.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | boolean | false | Value to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
baselineFill
Returns:
anychart.graphics.vector.Fill | string - The current baseline fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {keys: Array["#E1E1E1", "#A1A1A1"], angle: -90, mode: false, opacity: 1} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | '#ccd7e1' | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
baselineStroke
Returns:
anychart.graphics.vector.Stroke | string - The current baseline stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | '#0C3F5F' | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line join style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
columnStroke
Returns:
string | anychart.graphics.vector.Stroke - The current column stroke.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | string | {color: "#ccd7e1", thickness: 1} | Value to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
connectorFill
Returns:
anychart.graphics.vector.Fill | string - The current baseline fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | !Array.<(anychart.graphics.vector.GradientKey|string)> | null | "#000090" | Fill settings. |
| cx | number | X ratio of center radial gradient. | |
| cy | number | Y ratio of center radial gradient. | |
| opacityOrMode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. | |
| opacity | number | Opacity. | |
| fx | number | X ratio of focal point. | |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
connectorPreviewStroke
Returns:
anychart.graphics.vector.Stroke | string - The current connector preview stroke.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | {color: "#0000ff",
opacity: 0.6, dash: "3 3"} | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
connectorStroke
Returns:
anychart.graphics.vector.Stroke | string - The current connector stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000090" | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line join style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
defaultRowHeight
Returns:
number - Default row height.var rowHeight = currentTimeLine.defaultRowHeight();
Params:
| Name | Type | Description |
|---|---|---|
| value | number | Default row height to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editConnectorThumbFill
Returns:
anychart.graphics.vector.Fill | string - The current edit connector thumb fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#fff" | Color as an array or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "#fff" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editConnectorThumbStroke
Returns:
anychart.graphics.vector.Stroke | string - The current edit connector thumb stroke.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000" | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editIntervalThumbFill
Returns:
anychart.graphics.vector.Fill | string - The current edit interval fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#fff" | Color as an array or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "#fff" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editIntervalThumbStroke
Returns:
anychart.graphics.vector.Stroke | string - The current edit interval thumb stroke.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000" | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editPreviewFill
Returns:
anychart.graphics.vector.Fill | string - The current edit preview fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {color: "#fff", opacity: 0.00001} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "none" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editPreviewStroke
Returns:
anychart.graphics.vector.Stroke | string - The current edit preview stroke.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | {color: "#aaa",
dash: "3 3"} | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editProgressFill
Returns:
anychart.graphics.vector.Fill | string - The current edit progress fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#fff" | Color as an array or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "#fff" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editProgressStroke
Returns:
anychart.graphics.vector.Stroke | string - The current edit progress stroke.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000" | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editStructurePreviewDashStroke
Returns:
anychart.graphics.vector.Stroke | string - The current preview dash stroke when editing structureTry it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | {color: "#4285F4", dash: "4 4"} | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editStructurePreviewFill
Returns:
anychart.graphics.vector.Fill | string - The current preview fill when editing structure.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {color: "#4285F4", opacity: 0.2} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | "none" | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editStructurePreviewStroke
Returns:
anychart.graphics.vector.Stroke | string - The current preview stroke when editing structureTry it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#545f69" | Stroke settings. |
| thickness | number | Line thickness. | |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editing
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | boolean | false | Value to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
labels
Returns:
anychart.core.ui.LabelsFactory - The current labels factoryTry it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | Object | true | Value to be set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
lineMarker
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| index | number | 0 | Line marker index. If not set - creates a new instance and adds it to the end of array. |
Returns:
anychart.core.axisMarkers.GanttLine - Line marker instance by index.Try it:
- null/boolean - disable or enable line marker.
- object - sets line marker settings.
Params:
| Name | Type | Description |
|---|---|---|
| value | Object | boolean | null | Line marker settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.- null/boolean - disable or enable line marker by index.
- object - sets line marker settings by index.
Params:
| Name | Type | Description |
|---|---|---|
| index | number | Line marker index. |
| value | Object | boolean | null | anychart.enums.GanttDateTimeMarkers | Line marker settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.markers
Returns:
anychart.core.ui.MarkersFactory - The current markers factory.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| value | Object | Value to be set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
milestoneFill
Returns:
anychart.graphics.vector.Fill | string - The current milestone fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {keys: Array["#FAE096", "#EB8344"], angle: -90, mode: false, opacity: 1} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | '#ccd7e1' | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
milestoneStroke
Returns:
anychart.graphics.vector.Stroke | string - The current milestone stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000000" | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line join style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
parentFill
Returns:
anychart.graphics.vector.Fill | string - The current parent fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {keys: Array["#646464", "#282828"], angle: -90, mode: false, opacity: 1} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | '#ccd7e1' | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
parentStroke
Returns:
anychart.graphics.vector.Stroke | string - The current parent stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000000" | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line join style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
progressFill
Returns:
anychart.graphics.vector.Fill | string - The current progress bar fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {keys: Array["#63FF78", "#3DC351", "#188E2D"], angle: -90, mode: false, opacity: 1} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | '#ccd7e1' | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
progressStroke
Returns:
anychart.graphics.vector.Stroke | string - The current progress stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#006616" | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line join style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
rangeMarker
Params:
| Name | Type | Description |
|---|---|---|
| index | number | Range marker index. |
Returns:
anychart.core.axisMarkers.GanttRange - Range marker instance by index.Try it:
- null/boolean - disable or enable range marker.
- object - sets range marker settings.
Params:
| Name | Type | Description |
|---|---|---|
| value | Object | boolean | null | Range marker settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.- null/boolean - disable or enable range marker by index.
- object - sets range marker settings by index.
Params:
| Name | Type | Description |
|---|---|---|
| index | number | Range marker index. |
| value | Object | boolean | null | anychart.enums.GanttDateTimeMarkers | Range marker settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.rowEvenFill
Returns:
anychart.graphics.vector.Fill | string - Current value row even fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#fff" | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| color | string | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
rowFill
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#fff" | Color as an array or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| color | string | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
rowHoverFill
Returns:
anychart.graphics.vector.Fill | string - Current value row hover fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#edf8ff" | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| color | string | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
rowOddFill
Returns:
anychart.graphics.vector.Fill | string - Current value row odd fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | "#fff" | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| color | string | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
rowSelectedFill
Returns:
anychart.graphics.vector.Fill | string - Current value row fill in selected mode.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| color | string | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
selectedElementFill
Returns:
anychart.graphics.vector.Fill | string - The current selected element fill.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Fill | {keys: Array["#f1b8b9", "#f07578"], angle: -90, mode: false, opacity: 1} | Color as an object or a string. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | '#ccd7e1' | Color as a string. |
| opacity | number | Color opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Gradient keys. |
| angle | number | Gradient angle. |
| mode | boolean | anychart.graphics.vector.Rect | Object | Gradient mode. |
| opacity | number | Gradient opacity. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| keys | Array.<(anychart.graphics.vector.GradientKey|string)> | Color-stop gradient keys. |
| cx | number | X ratio of center radial gradient. |
| cy | number | Y ratio of center radial gradient. |
| mode | anychart.graphics.math.Rect | If defined then userSpaceOnUse mode, else objectBoundingBox. |
| opacity | number | Opacity of the gradient. |
| fx | number | X ratio of focal point. |
| fy | number | Y ratio of focal point. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
Params:
| Name | Type | Description |
|---|---|---|
| imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
selectedElementStroke
Returns:
anychart.graphics.vector.Stroke | string - The current connector stroke settings.Try it:
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | "#000090" | Stroke settings. |
| thickness | number | 1 | Line thickness. |
| dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
| lineJoin | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
| lineCap | anychart.graphics.vector.StrokeLineCap | Line join style. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
textMarker
Params:
| Name | Type | Description |
|---|---|---|
| index | number | Text marker index. |
Returns:
anychart.core.axisMarkers.GanttText - Text marker instance by index.Try it:
- null/boolean - disable or enable text marker.
- object - sets text marker settings.
Params:
| Name | Type | Description |
|---|---|---|
| value | Object | boolean | null | Text marker settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.- null/boolean - disable or enable text marker by index.
- object - sets text marker settings by index.
Params:
| Name | Type | Description |
|---|---|---|
| index | number | Text marker index. |
| value | Object | boolean | null | anychart.enums.GanttDateTimeMarkers | Text marker settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.tooltip
- null/boolean - disable or enable tooltip.
- object - sets tooltip settings.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | Object | boolean | null | true | Tooltip settings. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.