Gradient
public struct Gradient : EncodableNote
Used byGradientMarker.gradient, ScatterTernary<AData, BData,
CData>.GradientMarker.gradient, ScatterGeo<CoordinateData,
LocationsData>.GradientMarker.gradient, ScatterCarpet<AData, BData>.GradientMarker.gradient,
ScatterPolar<RData, ThetaData>.GradientMarker.gradient.
- 
                  
                  Sets the type of gradient used to fill the markers DeclarationSwift public var type: Type?
- 
                  
                  Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. DeclarationSwift public var coloring: Coloring?
- 
                  
                  Creates Gradientobject with specified properties.DeclarationSwift public init(type: Type? = nil, coloring: Coloring? = nil)ParameterstypeSets the type of gradient used to fill the markers coloringSets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. 
 View on GitHub
View on GitHub Install in Dash
Install in Dash Gradient Structure Reference
        Gradient Structure Reference