FuionChartsJava根据List生成Json
List
list = new ArrayList
(); Random rnd = new Random(); for (int i = 0; i < 100; i++) { Student student = new Student(); student.setCj(rnd.nextDouble()*100); student.setName("name"+i); list.add(student); } FusionChartFactory fcf = new FusionChartFactory();
用户评论