Top
You are looking at an outdated 7.5.0 version of this document. Switch to the 7.14.3 version to see the up to date information.

class anychart.core.axes.Polar Improve this Doc

Extends: anychart.core.VisualBase

Radar axis class.

Methods Overview

Miscellaneous
getRemainingBounds()Returns remaining parent bounds to use elsewhere.
labels()Getter for axis labels.
minorLabels()Getter for axis minor labels.
minorTicks()Getter for minor axis ticks.
overlapMode()Getter for overlap mode for labels.
scale()Getter for axis scale.
stroke()Getter for axis stroke settings.
ticks()Getter for axis ticks.

Methods Description

getRemainingBounds

Returns remaining parent bounds to use elsewhere.

Returns:

anychart.math.Rect - Parent bounds without the space used by the title.

Try it:

labels

Getter for axis labels.

Returns:

anychart.core.ui.LabelsFactory - Axis labels instance.

Try it:

Setter for axis labels.

Params:

Name Type Description
value Object | boolean | null Axis labels.

Returns:

anychart.core.axes.Polar - Self instance for method chaining.

minorLabels

Getter for axis minor labels.

Returns:

anychart.core.ui.LabelsFactory - Axis labels instance.

Try it:

Setter for axis minor labels.

Params:

Name Type Description
value Object | boolean | null Axis labels.

Returns:

anychart.core.axes.Polar - Self instance for method chaining.

minorTicks

Getter for minor axis ticks.

Returns:

anychart.core.axes.RadialTicks - Axis ticks.

Try it:

Setter for minor axis ticks.

Params:

Name Type Description
value Object | boolean | null Axis ticks.

Returns:

anychart.core.axes.Polar - Self instance for method chaining.

overlapMode

Getter for overlap mode for labels.

Returns:

anychart.enums.LabelsOverlapMode string - Overlap mode flag.
Setter for overlap mode for labels.

Params:

Name Type Default Description
value anychart.enums.LabelsOverlapMode | string
'noOverlap'
Value to set.

Returns:

anychart.core.axes.Polar - Self instance for method chaining.

Try it:

scale

Getter for axis scale.

Returns:

anychart.scales.ScatterBase - Axis scale.
Setter for axis scale.

Params:

Name Type Description
value anychart.scales.ScatterBase Value to set.

Returns:

anychart.core.axes.Polar - Self instance for method chaining.

Try it:

stroke

Getter for axis stroke settings.

Returns:

anychart.graphics.vector.Stroke - Axis line stroke settings.
Setter for axis stroke settings. Learn more about stroke settings.

Params:

Name Type Default Description
value anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
'#C0C0C0'
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.axes.Polar - Self instance for method chaining.

Try it:

ticks

Getter for axis ticks.

Returns:

anychart.core.axes.RadialTicks - Axis ticks.

Try it:

Setter for axis ticks.

Params:

Name Type Description
value Object | boolean | null Axis ticks.

Returns:

anychart.core.axes.Polar - Self instance for method chaining.