Skip to content

Commit

Permalink
Default spaceMin/max for xAxis in candlestick charts (Closes #1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Oct 18, 2016
1 parent c661973 commit d276f55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Charts/Charts/CandleStickChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ open class CandleStickChartView: BarLineChartViewBase, CandleChartDataProvider
super.initialize()

renderer = CandleStickChartRenderer(dataProvider: self, animator: _animator, viewPortHandler: _viewPortHandler)

self.xAxis.spaceMin = 0.5
self.xAxis.spaceMax = 0.5
}

// MARK: - CandleChartDataProvider
Expand Down

0 comments on commit d276f55

Please sign in to comment.