Skip to content

Commit

Permalink
Match argument type with Android (Fixed ChartsOrg#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed May 26, 2016
1 parent 8da4c9c commit 37e2b95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/ChartRendererBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class ChartRendererBase: NSObject
}

/// Calculates the minimum and maximum x-value the chart can currently display (with the given zoom level).
public func calcXBounds(chart chart: BarLineChartViewBase, xAxisModulus: Int)
public func calcXBounds(chart chart: BarLineScatterCandleBubbleChartDataProvider, xAxisModulus: Int)
{
let low = chart.lowestVisibleXIndex
let high = chart.highestVisibleXIndex
Expand Down
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/CombinedChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public class CombinedChartRenderer: ChartDataRendererBase
}
}

public override func calcXBounds(chart chart: BarLineChartViewBase, xAxisModulus: Int)
public override func calcXBounds(chart chart: BarLineScatterCandleBubbleChartDataProvider, xAxisModulus: Int)
{
for renderer in _renderers
{
Expand Down

0 comments on commit 37e2b95

Please sign in to comment.