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
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

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, this will not work. There is is no PieEntry() constructor, which will take a PieEntry as second parameter

hannesa2 added a commit to AppDevNext/AndroidChart that referenced this pull request Jan 1, 2026
hannesa2 added a commit to AppDevNext/AndroidChart that referenced this pull request Jan 2, 2026
@hannesa2
Copy link
Contributor

hannesa2 commented Jan 2, 2026

This doesn't work. Here is the evidence AppDevNext#635

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.

3 participants