ChartsOrg / ChartsOrg/Charts

BubbleChartRenderer colors from dataset issue (3.0.1)

Open
#2,047 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

The setting of the bubble color via dataset does not work as expected.
It looks lkie a bug to me:

In BubbleChartRenderer.swift on line 122 the code is:
**`let color = dataSet.color(atIndex: Int(entry.x))`**
I think it should be:
let color = dataSet.color(atIndex: Int(entry.x)):
**`let color = dataSet.color(atIndex: Int(j))`**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.