AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.4.0 version of this document. Switch to the 8.3.0 version to see the up to date information.

class anychart.core.radar.series.Line Improve this Doc

Extends: anychart.core.radar.series.ContinuousBase

Define Line series type.
Note: Better for use method anychart.charts.Radar#line.

Methods Overview

Miscellaneous
stroke()Getter for current stroke settings.

Methods Description

stroke

Getter for current stroke settings.

Returns:

anychart.graphics.vector.Stroke - Current stroke settings.
Setter for series stroke by function.

Params:

Name Type Default Description
fillFunction function
function() {
 return anychart.color.darken(this.sourceColor);
}
Function that looks like function(){ // this.index - series index. // this.sourceColor - color returned by stroke() getter. // this.iterator - series point iterator. return strokeValue; // type anychart.graphics.vector.Fill or anychart.graphics.vector.Stroke }.

Returns:

anychart.core.radar.series.Line - Self instance for method chaining.

Try it:

Setter for stroke settings.
Learn more about stroke settings: https://docs.anychart.com/__VERSION__/General_settings/Elements_Stroke

Params:

Name Type Default Description
strokeOrFill anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | function | null
Fill settings or 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.core.radar.series.Line - Self instance for method chaining.

Try it: