-
Declaration
Swift
public var barWidth: CGFloat
-
Declaration
Swift
public var cornerRadius: CornerRadius
-
Declaration
Swift
public var colourFrom: ColourFrom
-
Declaration
Swift
public var colour: ColourStyle
-
Bar Chart with single colour
Declaration
Swift
public init( barWidth: CGFloat = 1, cornerRadius: CornerRadius = CornerRadius(top: 5.0, bottom: 0.0), colourFrom: ColourFrom = .barStyle, colour: ColourStyle = ColourStyle(colour: .red) )
Parameters
barWidth
How much of the available width to use. 0…1
cornerRadius
Corner radius of the bar shape.
colourFrom
Where to get the colour data from.
colour
Set up colour styling.