Search found 8 matches

by anujcb
Fri Aug 15, 2008 4:00 am
Forum: JFreeChart
Topic: Independently controlling the plot area inside a chart
Replies: 1
Views: 2458

hmmm.... i guess from Dave's reply to other similar request is 'setFixedDimension', but anybody have any ideas on what values will work for this api if there is only one plot. I tried 0.1 - 0.9 and none worked.
by anujcb
Fri Aug 15, 2008 3:19 am
Forum: JFreeChart
Topic: Independently controlling the plot area inside a chart
Replies: 1
Views: 2458

Independently controlling the plot area inside a chart

Is there a way to set the size of the plot area(not the whole chart) idependently? I am generating 2 PNG charts using org.jfree.chart.servlet.ServletUtilities.saveChartAsPNG(), Both has the exact same time range on x-axis, but the first one has duel y-axis, this makes the plot area shrink in the fir...
by anujcb
Mon Feb 25, 2008 10:28 pm
Forum: JFreeChart
Topic: Line chart automatically moves the zero to middle
Replies: 1
Views: 2354

never mind, found the answer...just have to set the range type like this

yAxis1.setRangeType(RangeType.POSITIVE);

Thanks though
by anujcb
Mon Feb 25, 2008 10:19 pm
Forum: JFreeChart
Topic: Line chart automatically moves the zero to middle
Replies: 1
Views: 2354

Line chart automatically moves the zero to middle

When all the datapoints are zero the line chart automatically moved the 0 on the y-axis to the middle of the chat instead of keeping it at the bottom. Is this a bug or is this how it is designed? How can i force the line chart to keep the 0 y value at the bottom of the chart. I tried setAutoRangeInc...
by anujcb
Thu Jan 03, 2008 9:39 pm
Forum: JFreeChart
Topic: Selectively hiding legends
Replies: 1
Views: 2600

Selectively hiding legends

How can the legend be selectively hidden? I have a graph where i plot the same series as bar and as area chart, since both the series are the same i dont want the second series legend to show up is there a way we can make the legend of the second series disappear? Here is the key elements in my code...
by anujcb
Tue Dec 11, 2007 2:02 am
Forum: JFreeChart
Topic: PrintWriter vs ResponseWriter
Replies: 0
Views: 1884

PrintWriter vs ResponseWriter

I am trying to use the chart rendering code from the jfreechart web application example in my JSF/ICE faces application. I can render the charts successfully but i am not able to get the tooltip to work. I dont have access to PrintWriter in the JSF context instead i have access to response writer, a...
by anujcb
Mon Dec 10, 2007 11:49 pm
Forum: JFreeChart
Topic: JSF Chart Creator
Replies: 89
Views: 397696

Any comments on JSF / Chart Creator having any Ajax support capability ? like Ajax4JSF wrapper etc ... This would be fantastic... Imagine a JFree chart dynamically updating in the page without page re-load... Any pointers on anyone working on this ... if not I will try and make something using Ajax...
by anujcb
Thu Nov 15, 2007 12:09 am
Forum: JFreeChart
Topic: jfree chart and jmaki charting
Replies: 0
Views: 1521

jfree chart and jmaki charting

Hi, I am very new to jfree chart. I am wondering if jmaki is the solution for making JFree chart more dynamic and better looking. JMaki chars look beautiful but there is no charting engine. Have anyone integrating the jfree charting engine to JMaki style UI