Skip to content

Graphical issue when there is only one PieSlice #12

Description

Hello,

When you have only one PieSlice displayed in your PieChart, it displayed a blank area at the top right. To avoid this graphical issue, edit your PieChart.java file at line 50 and change

float padding = 2

to

float padding = slices.size() > 1 ? 2 : 0;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions