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

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

Added Charts

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