class anychart.standalones.ResourceTimeline Improve this Doc
Extends: anychart.core.ui.Timeline
The ResourceTimeline class contains methods for configuring standalones resource timeline.
Methods Overview
Specific settings | |
markers() | Markers settings. |
Axes and Scales | |
lineMarker() | Line marker settings. |
rangeMarker() | Range marker settings. |
textMarker() | Text marker settings. |
Chart Coloring | |
palette() | Palette settings. |
Coloring | |
backgroundFill() | Background fill settings. |
columnStroke() | Column stroke settings. |
connectorPreviewStroke() | Connector preview 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. |
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. |
Interactivity | |
editing() | Live edit mode. |
tooltip() | Tooltip settings. |
Labels | |
labels() | Labels settings. |
Size and Position | |
defaultRowHeight() | Default row height settings. |
Methods Description
backgroundFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "none" |
Color as an array or a string. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
columnStroke
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Stroke | string | {color: "#ccd7e1", thickness: 1} |
Value to set. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
connectorPreviewStroke
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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
defaultRowHeight
Returns:
number - Default row height.var rowHeight = timeLine.defaultRowHeight();
Params:
Name | Type | Description |
---|---|---|
value | number | Default row height to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.Try it:
editConnectorThumbFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#fff" |
Color as an array or a string. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editConnectorThumbStroke
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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editIntervalThumbFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#fff" |
Color as an array or a string. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editIntervalThumbStroke
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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editPreviewFill
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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editPreviewStroke
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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editProgressFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#fff" |
Color as an array or a string. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editProgressStroke
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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editStructurePreviewDashStroke
Try it:
editStructurePreviewDashStroke(value, thickness, dashpattern, lineJoin, lineCap) Since version 7.9.0
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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editStructurePreviewFill
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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editStructurePreviewStroke
Try 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 | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
editing
Params:
Name | Type | Default | Description |
---|---|---|---|
value | boolean | false |
Value to set. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
labels
Params:
Name | Type | Default | Description |
---|---|---|---|
value | Object | true |
Value to be set. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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 | string | Line marker settings to set. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.markers
Params:
Name | Type | Description |
---|---|---|
value | Object | Value to be set. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
palette
var palette = timeline.palette();
Params:
Name | Type | Description |
---|---|---|
paletteSettings | anychart.palettes.RangeColors | anychart.palettes.DistinctColors | Object | Array.<string> | Timeline colors palette settings to set. |
Returns:
anychart.standalones.ResourceTimeline - Self instance for method chaining.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.core.ui.Timeline - 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 | string | Range marker settings to set. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.rowEvenFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#fff" |
Color as an object or a string. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
color | string | Color as a string. |
opacity | number | Color opacity. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
rowFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#fff" |
Color as an array or a string. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
color | string | Color as a string. |
opacity | number | Color opacity. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
rowHoverFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#edf8ff" |
Color as an object or a string. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
color | string | Color as a string. |
opacity | number | Color opacity. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
rowOddFill
Try it:
Params:
Name | Type | Default | Description |
---|---|---|---|
value | anychart.graphics.vector.Fill | "#fff" |
Color as an object or a string. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
color | string | Color as a string. |
opacity | number | Color opacity. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
rowSelectedFill
Try it:
Params:
Name | Type | Description |
---|---|---|
value | anychart.graphics.vector.Fill | Color as an object or a string. |
Returns:
anychart.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
color | string | Color as a string. |
opacity | number | Color opacity. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it:
Params:
Name | Type | Description |
---|---|---|
imageSettings | anychart.graphics.vector.Fill | Object with settings. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - 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 | string | Text marker settings to set. |
Returns:
anychart.core.ui.Timeline - 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.core.ui.Timeline - Self instance for method chaining.Try it: