Skip to content

Commit

Permalink
Merge pull request #3202 from jjatie/3.1/#2047
Browse files Browse the repository at this point in the history
BubbleChart uses correct colour for index now.
  • Loading branch information
liuxuan30 authored Jan 26, 2018
2 parents 056e0e5 + d45049e commit 9789320
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 9789320

Please sign in to comment.