Skip to content

The PieChart sector color 2 bugs #2394

@joker-fu

Description

@joker-fu

1 . ArrayList list = new ArrayList<>();
list.add(new PieEntry(0, "sector1"));
list.add(new PieEntry(0, "sector2"));
list.add(new PieEntry(2, "sector3"));
list.add(new PieEntry(0, "sector4"));
list.add(new PieEntry(1, "sector5"));
setData(list);

bug1: Sector 5 without color, after touching can be displayed.

  1. ArrayList<PieEntry> list = new ArrayList<>();
    list.add(new PieEntry(0, "sector1"));
    list.add(new PieEntry(0, "sector2"));
    list.add(new PieEntry(53565, "sector3"));
    list.add(new PieEntry(0, "sector4"));
    list.add(new PieEntry(66, "sector5"));
    setData(list);
    

bug2: Sector 5 color filled the pie chart.

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