ChartIQMarkerOptions
public class ChartIQMarkerOptions : NSObject
Encapsulates parameters with additional information for Marker.
-
The ChartIQMarkerOptions markerType parameter.
Declaration
Swift
public var markerType: ChartIQSignalMarkerType
-
The ChartIQMarkerOptions color parameter. The color of the signal.
Declaration
Swift
public var color: UIColor?
-
The ChartIQMarkerOptions shape parameter. Shape of the signal marker on the chart.
Declaration
Swift
public var shape: ChartIQSignalShape
-
The ChartIQMarkerOptions label parameter. The string to display in the marker.
Declaration
Swift
public var label: String
-
The ChartIQMarkerOptions size parameter. Size of the signal marker on the chart. Possible values are S/M/L.
Declaration
Swift
public var size: ChartIQSignalSize
-
The ChartIQMarkerOptions position parameter. Where to display the signal as a marker in relation to the main plot.
Declaration
Swift
public var position: ChartIQSignalPosition
-
Init ChartIQMarkerOptions model with all parameters.
Declaration
Swift
public init(markerType: ChartIQSignalMarkerType, color: UIColor?, shape: ChartIQSignalShape, label: String, size: ChartIQSignalSize, position: ChartIQSignalPosition)
Parameters
markerType
The ChartIQSignalMarkerType model.
color
The UIColor Object.
shape
The ChartIQSignalShape model.
label
The String Object.
size
The ChartIQSignalSize model.
position
The ChartIQSignalPosition model.
-
Init ChartIQMarkerOptions model with dictionary.
Declaration
Swift
public init?(dictionary: [String : Any])
Parameters
dictionary
The dictionary with data for init MarkerOptions model.
-
Init ChartIQMarkerOptions model with default options.
Declaration
Swift
public static func defaultOptions() -> ChartIQMarkerOptions
-
Convert MarkerOptions model to dictionary.
Declaration
Swift
public func toDictionary() -> [String : String]
Return Value
The dictionary with MarkerOptions model parameters.