Skip to content

Commit d5d828b

Browse files
committed
add comments
1 parent 46a7c39 commit d5d828b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/AxisContribution/Model/ACConstant.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public enum ACAxisMode: Equatable {
3333
case vertical
3434
}
3535

36+
/// Defines the label type of level label below the grid view.
3637
public enum ACLevelLavel: Equatable {
3738
case moreOrLess
3839
case number
@@ -62,6 +63,7 @@ public struct ACConstant: Equatable {
6263
/// Whether the level label below the grid view is visible
6364
public var showLevelView: Bool
6465

66+
/// The label type of the level label.
6567
public var levelLabel: ACLevelLavel
6668

6769
/// Initializes `ACConstant`
@@ -73,6 +75,7 @@ public struct ACConstant: Equatable {
7375
/// - axisMode: The axis mode of the component. The default value is `.horizontal`.
7476
/// - font: The font used for text. The default value is `.system(size: 9)`.
7577
/// - showLevelView: Whether the level label below the grid view is visible. The default value is `true`.
78+
/// - levelLabel: The label type of the level label. The default value is `.moreOrLess`.
7679
public init(from fromDate: Date? = nil,
7780
to toDate: Date? = nil,
7881
spacing: CGFloat = 4,

0 commit comments

Comments
 (0)