Search found 14 matches
- Wed Sep 26, 2007 7:06 pm
- Forum: JFreeChart
- Topic: Stacked XY Bar Chart Possible
- Replies: 2
- Views: 2520
- Wed Sep 26, 2007 3:40 am
- Forum: JFreeChart
- Topic: Stacked XY Bar Chart Possible
- Replies: 2
- Views: 2520
Stacked XY Bar Chart Possible
Is this possible with a TimePeriodValuesCollection and a DateAxis? I'm guessing not since that dataset does not allow duplicate values?
- Fri Sep 21, 2007 8:38 pm
- Forum: JFreeChart
- Topic: Create barchart from a TimePeriodValuesCollection
- Replies: 5
- Views: 5190
What value are you passing for the third argument? 1260 * @param dateAxis make the domain axis display dates? 1271 public static JFreeChart createXYBarChart(String title, 1272 String xAxisLabel, 1273 boolean dateAxis, 1274 String yAxisLabel, 1275 IntervalXYDataset dataset, 1276 PlotOrientation orie...
- Fri Sep 21, 2007 8:02 pm
- Forum: JFreeChart
- Topic: Create barchart from a TimePeriodValuesCollection
- Replies: 5
- Views: 5190
If I create a TimePeriodValuesCollection and use it in the ChartFactory.createXYBarChart method to create a chart, I recieve a NumberAxis object returned from the getDomainAxis() method of the Plot class recieved from the created Chart object. Am I doing something wrong. I have the JFreeChart manual...
- Fri Sep 21, 2007 4:05 am
- Forum: JFreeChart
- Topic: Create barchart from a TimePeriodValuesCollection
- Replies: 5
- Views: 5190
- Mon May 07, 2007 3:34 pm
- Forum: JFreeChart
- Topic: Create barchart from a TimePeriodValuesCollection
- Replies: 5
- Views: 5190
Create barchart from a TimePeriodValuesCollection
Hi, right now I have created an XYBarChart using a TimePeriodValuesCollection. My data is spaced out quite a bit since the time between data is large. Sometimes this results in a chart that has very small, almost indistinguishable, bars. My thought is to do away with the time aspect of the data. Wha...
- Thu May 04, 2006 3:58 pm
- Forum: JFreeChart
- Topic: TimeSeries , problem getting the name
- Replies: 2
- Views: 2787
TreeLocation activePeriod = (TreeLocation) nodeInfo; RegularTimePeriod start; RegularTimePeriod end; start = RegularTimePeriod.createInstance(FixedMillisecond.class, new Date(activePeriod.getStart()), TimeZone.getDefault()); end = RegularTimePeriod.createInstance(FixedMillisecond.class, new Date(ac...
- Wed May 03, 2006 6:18 pm
- Forum: JFreeChart
- Topic: TimeSeries , problem getting the name
- Replies: 2
- Views: 2787
TimeSeries , problem getting the name
I would like to grab a subset of a TimeSeries, (I know I can do this using createCopy, but I couldn't get it work exactly right). I can create the copy by my self, but I can't the name out. The constructor takes a string, but is converted into a Comparable in the super class. Is it possible to get t...
- Thu Apr 27, 2006 4:39 pm
- Forum: JFreeChart
- Topic: Are TimeSeries sorted?
- Replies: 2
- Views: 2708
- Thu Apr 27, 2006 2:01 pm
- Forum: JFreeChart
- Topic: Are TimeSeries sorted?
- Replies: 2
- Views: 2708
Are TimeSeries sorted?
Is the List in the TimeSeries class always kept in sorted order, such that TimeSeries t; // already filled with times RegularTimePeriod p = t.getTimePeriod(0); RegularTimePeriod p1 = t.getTimePeriod(n-1); RegularTimePeriod p2 = t.getTimePeriod(n); if (p.getFirstMillisecond() < p1.getFirstMillisecond...
- Wed Apr 12, 2006 5:09 pm
- Forum: JFreeChart
- Topic: XYBarChart, controlling the domain.
- Replies: 0
- Views: 1938
XYBarChart, controlling the domain.
Hi guys, first off, let me say that JFreeChart is an awesome software package, and I have used it in many of my courses at school. Here's my scenario. I am tracking events in time, and logging them in a log file, the events are logged as a "long", and thus are simply read back in. I am able to creat...
- Thu Mar 02, 2006 9:45 pm
- Forum: JFreeChart
- Topic: JFreeChart and jar files
- Replies: 1
- Views: 2236
JFreeChart and jar files
I'm writing an extension to an application, and in order for it to work, I am required to put all my files in a jar file. I would also like to use JFreeChart in my extension, but simply jar'ing the extension *and* the jfreechart jars doesn't work. I'm guessing that jars within a jar aren't accessibl...
- Thu Mar 02, 2006 9:39 pm
- Forum: JFreeChart
- Topic: Problem adding a FixedMillisecond to a TimeSeries
- Replies: 2
- Views: 2780
- Thu Mar 02, 2006 9:05 pm
- Forum: JFreeChart
- Topic: Problem adding a FixedMillisecond to a TimeSeries
- Replies: 2
- Views: 2780
Problem adding a FixedMillisecond to a TimeSeries
The program compiles fine but when I try to add a FixedMillisecond to a TimeSeries I get an exception saying it is expecting an instance of org.jfree.data.time.Day
I thought you could add anything that extended RegularTimePeriod.
Thanks
I thought you could add anything that extended RegularTimePeriod.
Thanks