Skip to content

Commit

Permalink
Make init of Limit struct public (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
marekpridal authored Oct 22, 2020
1 parent 9aaa099 commit 6dbd901
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/BarChartKit/UIKit/Views/BarChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ public final class BarChartView: UIView {
public let color: UIColor
public let label: String?
public let value: Double

public init(color: UIColor, label: String?, value: Double) {
self.color = color
self.label = label
self.value = value
}
}

public let elements: [DataElement]
Expand Down

0 comments on commit 6dbd901

Please sign in to comment.