source: trunk/src/org/expeditee/items/widgets/charts/Ring.java@ 284

Last change on this file since 284 was 213, checked in by ra33, 16 years ago

Added Charts

File size: 454 bytes
Line 
1package org.expeditee.items.widgets.charts;
2
3import org.expeditee.items.Text;
4import org.jfree.chart.ChartFactory;
5import org.jfree.chart.JFreeChart;
6
7public class Ring extends AbstractPie {
8
9 public Ring(Text source, String[] args) {
10 super(source, args);
11 }
12
13 @Override
14 protected JFreeChart createNewChart() {
15 return ChartFactory.createRingChart(DEFAULT_TITLE, getChartData(), true, // legend?
16 true, // tooltips?
17 false // URLs?
18 );
19 }
20}
Note: See TracBrowser for help on using the repository browser.