Line | |
---|
1 | package org.expeditee.items.widgets.charts;
|
---|
2 |
|
---|
3 | import org.expeditee.items.Text;
|
---|
4 | import org.jfree.chart.ChartFactory;
|
---|
5 | import org.jfree.chart.JFreeChart;
|
---|
6 | import org.jfree.chart.plot.PlotOrientation;
|
---|
7 |
|
---|
8 | public class Line3D extends AbstractCategory {
|
---|
9 |
|
---|
10 | public Line3D(Text source, String[] args) {
|
---|
11 | super(source, args);
|
---|
12 | }
|
---|
13 |
|
---|
14 | @Override
|
---|
15 | protected JFreeChart createNewChart() {
|
---|
16 | return ChartFactory.createLineChart3D(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.