Skip to content

Commit

Permalink
Add fixRightEdge and minBarSpacing options to TimeScaleOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
KungFooBar committed Aug 6, 2021
1 parent 370a5cb commit 33fed06
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ public struct TimeScaleOptions {

public var rightOffset: Double?
public var barSpacing: Double?
public var minBarSpacing: Double?
public var fixLeftEdge: Bool?
public var fixRightEdge: Bool?
public var lockVisibleTimeRangeOnResize: Bool?
public var rightBarStaysOnScroll: Bool?
public var borderVisible: Bool?
Expand All @@ -26,7 +28,9 @@ public struct TimeScaleOptions {

public init(rightOffset: Double? = nil,
barSpacing: Double? = nil,
minBarSpacing: Double? = nil,
fixLeftEdge: Bool? = nil,
fixRightEdge: Bool? = nil,
lockVisibleTimeRangeOnResize: Bool? = nil,
rightBarStaysOnScroll: Bool? = nil,
borderVisible: Bool? = nil,
Expand All @@ -38,7 +42,9 @@ public struct TimeScaleOptions {
tickMarkFormatter: JavaScriptMethod<TickMarkFormatterParameters, String>? = nil) {
self.rightOffset = rightOffset
self.barSpacing = barSpacing
self.minBarSpacing = minBarSpacing
self.fixLeftEdge = fixLeftEdge
self.fixRightEdge = fixLeftEdge
self.lockVisibleTimeRangeOnResize = lockVisibleTimeRangeOnResize
self.rightBarStaysOnScroll = rightBarStaysOnScroll
self.borderVisible = borderVisible
Expand Down

0 comments on commit 33fed06

Please sign in to comment.