PieGraph:when only have one PieSlice(100%),it don't show anything

Issue #49 resolved
kai wang created an issue

No description provided.

Comments (4)

  1. Felipe Duarte

    Same here .. there is an ugly hack:

        if (pieGraph.getSlices().size() == 1) {
            slice = new PieSlice();
            slice.setColor(Color.parseColor("#ffffff"));
            slice.setValue(0.001f);
            pieGraph.addSlice(slice);
        }
    
  2. Log in to comment