Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small bug fix #5091

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

small bug fix #5091

wants to merge 1 commit into from

Conversation

parthwaidya
Copy link

@parthwaidya parthwaidya commented Feb 7, 2021

should be entries instead of parties on line 125

PR Checklist:

  • I have tested this extensively and it does not break any existing behavior.
  • I have added/updated examples and tests for any new behavior.
  • If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]

PR Description

should be entries instead of parties on line 125
@@ -123,7 +123,7 @@ private void setData(int count, float range) {
// the chart.
for (int i = 0; i < count ; i++) {
entries.add(new PieEntry((float) ((Math.random() * range) + range / 5),
parties[i % parties.length],
entries[i % entries.length],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parties is actually the right one to use here. It is defined in DemoBase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants