James Moger
2014-05-15 7b835f5a9bb54de4997ea16dc48971aa20b1bbbf
src/main/java/com/gitblit/wicket/charting/Flotr2PieChart.java
@@ -47,13 +47,13 @@
         if(i > 0){
            sb.append(",");
         }
         line(sb, MessageFormat.format("'{'data : [ [0, {0}] ], label : ''{1}'', color: ''{2}'' '}'", Float.toString(value.value), value.name, StringUtils.getColor(value.name)));
         line(sb, MessageFormat.format("'{'data : [ [0, {0}] ], label : \"{1}\", color: ''{2}'' '}'", Float.toString(value.value), value.name, StringUtils.getColor(value.name)));
      }
      line(sb, "]");
      
      // Add the options
      line(sb, ", {");
      line(sb, MessageFormat.format("title : ''{0}'',", title));
      line(sb, MessageFormat.format("title : \"{0}\",", title));
      line(sb, "fontSize : 2,");
      line(sb, "pie : {");
      line(sb, "  show : true,");