Skip to content

Commit

Permalink
BubbleChart uses correct colour for index now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatie authored and Konstantin Zyrianov committed Feb 20, 2018
1 parent d765c0e commit 1f77b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Renderers/BubbleChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ open class BubbleChartRenderer: BarLineScatterCandleBubbleRenderer

guard viewPortHandler.isInBoundsRight(_pointBuffer.x - shapeHalf) else { break }

let color = dataSet.color(atIndex: Int(entry.x))
let color = dataSet.color(atIndex: j)

let rect = CGRect(
x: _pointBuffer.x - shapeHalf,
Expand Down

0 comments on commit 1f77b00

Please sign in to comment.