James Moger
2013-11-22 3daba4304dba818d54eb9b74d8d35df5aab8fee5
src/main/java/com/gitblit/wicket/charting/GooglePieChart.java
@@ -24,9 +24,9 @@
/**
 * Builds an interactive pie chart using the Visualization API.
 *
 *
 * @author James Moger
 *
 *
 */
public class GooglePieChart extends GoogleChart {
@@ -47,15 +47,15 @@
      Collections.sort(values);
      List<ChartValue> list = new ArrayList<ChartValue>();
      int maxSlices = 10;
      if (values.size() > maxSlices) {
         list.addAll(values.subList(0,  maxSlices));
      } else {
         list.addAll(values);
      }
      StringBuilder colors = new StringBuilder("colors:[");
      for (int i = 0; i < list.size(); i++) {
         ChartValue value = list.get(i);