Search found 11 matches
- Mon Apr 26, 2010 3:10 pm
- Forum: JFreeChart
- Topic: createXYBarChart, IntervalXYDataset and StackedXYBarRenderer
- Replies: 0
- Views: 2187
createXYBarChart, IntervalXYDataset and StackedXYBarRenderer
I use the 'XYBarDataset' to adjust the width of the bar, the (xy) dataset contains timeperiods.. All works fine using the 'XYBarRenderer' but when two series overlap, one gets on top of the other. So that is why I want to use the 'StackedXYBarRenderer' but I get an java.lang.ClassCastException org.j...
- Tue May 19, 2009 7:10 am
- Forum: JFreeChart
- Topic: Ticks and tick labels
- Replies: 9
- Views: 28800
Re: Ticks and tick labels
Hi, having problems with ticks too. Especially the labels: they don't seem to show up, or not as frequent as I would want them to. As shown in the image below, the y-axis is using a logarithmic scale, but only shows one label (10). I've had one case where there were no labels at all. http://i2.phot...
- Tue May 19, 2009 7:03 am
- Forum: JFreeChart
- Topic: DateAxis tick labels
- Replies: 8
- Views: 15368
Re: DateAxis tick labels
Convert Time in to milliseconds by using org.jfree.date.DateUtilities.set lower and Upper margin according to your Plot Dimention .In this case 0.02 equals 2 % of axis length .You can take any date ,i took 2006,November 1st. double lower = DateUtilities.createDate(2006, 11, 1,getHour("00:00"),getMi...
- Thu May 14, 2009 10:13 am
- Forum: JFreeChart
- Topic: DateAxis tick labels
- Replies: 8
- Views: 15368
Re: DateAxis tick labels
I added the following code .It worked .Thank you very much domainAxis.setAutoTickUnitSelection(true); plot.getDomainAxis().setLowerMargin(0.02); plot.getDomainAxis().setUpperMargin(0.000); domainAxis.setUpperBound(upper); domainAxis.setLowerBound(lower); Hi I have a timeperiod from 00:00 to 23:59 b...
- Thu May 14, 2009 9:32 am
- Forum: JFreeChart
- Topic: Ticks and tick labels
- Replies: 9
- Views: 28800
Re:
A number of people have requested support for major and minor tick units and I think this will require some low-level changes to the NumberTickUnit and DateTickUnit classes, followed by some new code in the NumberAxis and DateAxis classes. It's not a trivial change but I think it is doable...it is ...
- Thu May 14, 2009 7:10 am
- Forum: JFreeChart
- Topic: How to set (only) label interval of axis ranges
- Replies: 0
- Views: 2554
How to set (only) label interval of axis ranges
I have set the the date to a customizable unit... domainAxis.setAutoRange(false); domainAxis.setTickUnit(new DateTickUnit (DateTickUnitType.MINUTE, unitInterval)); domainAxis.setMaximumDate(new Date(30000 * groupOption * (2880 / unitInterval))); However I want the range (value), label below axis not...
- Thu May 14, 2009 7:00 am
- Forum: JFreeChart
- Topic: Version 1.0.13 + setLowerMargin
- Replies: 1
- Views: 4131
Re: Version 1.0.13 + setLowerMargin
I noticed if you have space inside the graph it will be set to 0 when you set the margin to 0 however with the previous version of Jfreechart (1.0.0) the axis value ranges where positioned.. So before the margin between the values/ ranges and the graph where set.. I don't see any other setMargin met...
- Thu May 14, 2009 6:54 am
- Forum: JFreeChart
- Topic: XYDifferenceRenderer + percentage
- Replies: 4
- Views: 7371
Re: XYDifferenceRenderer + percentage
Thank you Richard, I have added another dataset based on the two values (double axis), so I can see both absolute numbers and percentages. It is ok for me 

- Wed May 13, 2009 7:15 am
- Forum: JFreeChart
- Topic: XYDifferenceRenderer + percentage
- Replies: 4
- Views: 7371
Re: XYDifferenceRenderer + percentage
Hi Richard, thank you for your response.. In the XYDifferenceRenderer I have two values, a maximum and a totalcount, both on a certain timeinterval. On the the domain axis I show an interval on by example every half hour, so 00:00, 00:30, 01:00 etc.. to the end of the day I would like to show the ut...
- Tue May 12, 2009 3:33 pm
- Forum: JFreeChart
- Topic: XYDifferenceRenderer + percentage
- Replies: 4
- Views: 7371
XYDifferenceRenderer + percentage
Is it possible to use the XYDifferenceRenderer and show a percentage for example in the rangeaxis (or itemlabel) regarding the the two values that are compared? I have no idea how I can combine the values without changing the whole dataset in percentages :( Any suggestions? I like tot keep the XYDif...
- Mon May 11, 2009 2:36 pm
- Forum: JFreeChart
- Topic: Version 1.0.13 + setLowerMargin
- Replies: 1
- Views: 4131
Version 1.0.13 + setLowerMargin
I just downloaded the new jfreechart, also for the use of the ItemLabelPosition in a difference chart which was previously not supported.. All works fine except the setLowerMargin and setUpperMargin on the 'domainAxis', it doesn't matter what I put in.. in the previous version of jfreechart I used i...