Skip to content

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.

2 participants