Polar
public final class Polar : Encodable, SubplotAxis
Undocumented
-
Unique identifier of the axis.
Declaration
Swift
public var uid: UInt -
Undocumented
Declaration
Swift
public var domain: Domain? -
Sets angular span of this polar subplot with two angles (in degrees).
Sector are assumed to be spanned in the counterclockwise direction with 0 corresponding to rightmost limit of the polar subplot.
Declaration
Swift
public var sector: InfoArray? -
Sets the fraction of the radius to cut out of the polar subplot.
Declaration
Swift
public var hole: Double? -
Set the background color of the subplot
Declaration
Swift
public var backgroundColor: Color? -
Undocumented
See moreDeclaration
Swift
public struct RadialAxis : Encodable -
Undocumented
Declaration
Swift
public var radialAxis: RadialAxis? -
Undocumented
See moreDeclaration
Swift
public struct AngularAxis : Encodable -
Undocumented
Declaration
Swift
public var angularAxis: AngularAxis? -
Determines if the radial axis grid lines and angular axis line are drawn as circular sectors or as linear (polygon) sectors.
Has an effect only when the angular axis has
See moretypecategory. Note thatradialaxis.angleis snapped to the angle of the closest vertex whengridshapeis circular (so that radial axis scale is the same as the data scale).Declaration
Swift
public enum GridShape : String, Encodable -
Determines if the radial axis grid lines and angular axis line are drawn as circular sectors or as linear (polygon) sectors.
Has an effect only when the angular axis has
typecategory. Note thatradialaxis.angleis snapped to the angle of the closest vertex whengridshapeis circular (so that radial axis scale is the same as the data scale).Declaration
Swift
public var gridShape: GridShape? -
Controls persistence of user-driven changes in axis attributes, if not overridden in the individual axes.
Defaults to
layout.uirevision.Declaration
Swift
public var uiRevision: Anything? -
Shared and preset default axis reference used to initialize layout and all traces.
Declaration
Swift
public static let preset: Polar -
Creates
Polarobject with specified properties.Declaration
Swift
public init(uid: UInt = UInt.random(in: 2...UInt.max), domain: Domain? = nil, sector: InfoArray? = nil, hole: Double? = nil, backgroundColor: Color? = nil, radialAxis: RadialAxis? = nil, angularAxis: AngularAxis? = nil, gridShape: GridShape? = nil, uiRevision: Anything? = nil)Parameters
uidUnique identifier of the axis.
domainsectorSets angular span of this polar subplot with two angles (in degrees).
holeSets the fraction of the radius to cut out of the polar subplot.
backgroundColorSet the background color of the subplot
radialAxisangularAxisgridShapeDetermines if the radial axis grid lines and angular axis line are drawn as circular sectors or as linear (polygon) sectors.
uiRevisionControls persistence of user-driven changes in axis attributes, if not overridden in the individual axes.
View on GitHub
Install in Dash
Polar Class Reference