Search found 19 matches

by sumanseshadri
Thu Mar 01, 2007 11:05 pm
Forum: JFreeChart
Topic: Display dot on TimeSeriesChart when only one month exists ?
Replies: 2
Views: 4459

Display dot on TimeSeriesChart when only one month exists ?

Hi all, Is there a way to display a dot on TimeSeriesChart when there is only data for only one month. For all others, I have XYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer) r; renderer.setBaseShapesVisible(false); renderer.setBaseShapesFilled(false); Is there any way by which I can find ...
by sumanseshadri
Mon Feb 05, 2007 8:09 pm
Forum: JFreeChart
Topic: ChartDeleter.java doesnt implement Serializable Interface
Replies: 5
Views: 9468

Thank you all very much for your prompt response. I will check out the 1.0.4 release.

-Suman
by sumanseshadri
Sat Feb 03, 2007 12:35 am
Forum: JFreeChart
Topic: ChartDeleter.java doesnt implement Serializable Interface
Replies: 5
Views: 9468

ChartDeleter.java doesnt implement Serializable Interface

Hi All, Currently, I am using jfreechart-1.0.1.jar and tomcat 5.5.9. But when I upgraded to tomcat 5.5.20, tomcat throws the following error: java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:...
by sumanseshadri
Wed Oct 18, 2006 11:48 pm
Forum: JFreeChart
Topic: TimeSeries chart adds/subt months along X-axis automatically
Replies: 1
Views: 3167

I made mine work by doing this ; DateAxis.setTickUnit(new DateTickUnit(DateTickUnit.MONTH, 1, new SimpleDateFormat("MMM-yyyy"))); I found the answer when I searched in the forum. But this problem has actually been filed as a bug with Id = 1331324 http://sourceforge.net/tracker/index.php?func=detail&...
by sumanseshadri
Wed Oct 18, 2006 10:18 pm
Forum: JFreeChart
Topic: TimeSeries chart adds/subt months along X-axis automatically
Replies: 1
Views: 3167

TimeSeries chart adds/subt months along X-axis automatically

Hi all, I am using TimeSeries charts and my current chart has data for 4 months - Jan , Feb , Mar, Apr . When I increase the width of the chart, the chart automatically spreads out and becomes this way .. Jan , Jan , Feb , Feb, Mar, Mar, Apr, Apr. I did not have this problem when I used Line Chart. ...
by sumanseshadri
Thu Sep 28, 2006 8:14 pm
Forum: JFreeChart
Topic: Tick marks along the X-Axis
Replies: 3
Views: 5389

Hi Dave, Thank you for your reply. I did take a look at the sample. It works well and setTickMarksVisible(true) / (false) works fine. I think it would be nice to implement that enhancement into the product. And as for my requirement, I am now using the TimeSeriesChart where the tick marks are displa...
by sumanseshadri
Thu Sep 28, 2006 2:41 am
Forum: JFreeChart
Topic: Tick marks along the X-Axis
Replies: 3
Views: 5389

Tick marks along the X-Axis

Hi All, I am trying to display tick marks along the X-Axis. ie if I have 1,2,3 along the X-axis, I need a dot or a tiny line on top of 1,2,3 that clearly demarcates the category. [In fact, I am looking for a line that would be say 1 cm below x-axis and extends upto 1 cm above x-axis]. I tried Catego...
by sumanseshadri
Tue Apr 11, 2006 2:09 am
Forum: JFreeChart
Topic: Barchart : Lots of space inbetween bars. Need solution
Replies: 2
Views: 4380

I added dummy values. So, now its ok.
by sumanseshadri
Tue Apr 11, 2006 1:34 am
Forum: JFreeChart
Topic: Barchart : Lots of space inbetween bars. Need solution
Replies: 2
Views: 4380

And how can I upload images ?
by sumanseshadri
Tue Apr 11, 2006 1:34 am
Forum: JFreeChart
Topic: Barchart : Lots of space inbetween bars. Need solution
Replies: 2
Views: 4380

Barchart : Lots of space inbetween bars. Need solution

Hi all, I have a bar graph that works well when there is a lot of data. But very bad when very few data. In the chart that works well, I have pairs of bars, meaning, In each category , I have two bars , as a pair, with no space inbetween them. renderer.setItemMargin(0); here I have 12 pairs of bars ...
by sumanseshadri
Thu Apr 06, 2006 8:30 pm
Forum: JFreeChart
Topic: Reducing Width of bar and series key in the side
Replies: 2
Views: 5271

It works . Thanks !
by sumanseshadri
Wed Apr 05, 2006 8:39 pm
Forum: JFreeChart
Topic: Item label cropped if near top of the graph
Replies: 1
Views: 2846

Item label cropped if near top of the graph

Hi, I have a line chart. And one of the high values in the chart is close to the max of y-axis value. To be clearer, my max Y axis value is 800 and I have a point 790 in my line chart. Since, the labels are displayed on top of the plotted point, there is not enought space on top and so the label get...
by sumanseshadri
Wed Mar 29, 2006 2:22 am
Forum: JFreeChart
Topic: % in Y axis
Replies: 0
Views: 2205

% in Y axis

Hi, I wanted to display % along my Y axis values. such as 10%, 20% etc.. So, I used final NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis(); if (axisType!=null && axisType.equals("%")) rangeAxis.setNumberFormatOverride(NumberFormat.getPercentInstance()); After doing this, my percentages are di...
by sumanseshadri
Wed Mar 29, 2006 12:18 am
Forum: JFreeChart
Topic: Reducing Width of bar and series key in the side
Replies: 2
Views: 5271

Reducing Width of bar and series key in the side

Hi, I have 2 questions. 1. How do I reduce the width of the bar. I want them to be thinner. Using renderer.setMaximumBarWidth(); doesnt seem to make a difference. 2. Right now my series (key for the graph) is displayed very nicely inside a box at the bottom of the chart. Is there any way by which we...
by sumanseshadri
Mon Mar 27, 2006 10:43 pm
Forum: JFreeChart
Topic: Image in jsp not displayed (Using struts)
Replies: 8
Views: 19859

I got it.. I now realise that it was a stupid question...

Anyway for those who dont know, the trick lies here..

Use this for drilldown. Comment it if you dont need it :-)
renderer.setItemURLGenerator(new StandardCategoryURLGenerator("chart.jsp","series","section"));