Search found 19 matches

by MasterJ
Fri Aug 11, 2006 1:45 pm
Forum: JFreeChart
Topic: How to draw a bar Graph with out plot Area , Axes and legend
Replies: 2
Views: 3265

Bar Charts with out POlt area and Axes Labels

Dear David, Please look into this . I need to draw bar graphs . But I don't need any plot area, or or Axes margins. I just want to display only the bars, alligned horizontally. I don't even need Lgends. Could you please help me ? How to draw bars with the out plot behind it? Hope to get your reply, ...
by MasterJ
Wed Aug 09, 2006 6:33 am
Forum: JFreeChart
Topic: How to draw a bar Graph with out plot Area , Axes and legend
Replies: 2
Views: 3265

How to draw a bar Graph with out plot Area , Axes and legend

Hello Everybody.

Does anyone know how to draw bar graph with out plot area , with out Axes and with out Legends.

I need only bars, closely packed andhorizontally aligned.

So that the graph occupies smaller area.

Can anyone help me?

Thanking you in advance,
MJ
by MasterJ
Wed Aug 02, 2006 7:15 am
Forum: JFreeChart
Topic: Why doesn't itemMargin in BarRenderer work?
Replies: 6
Views: 7870

Please help me!

Dear David, I tried my best to find out a solution but could not; ad so have come to you for help. Tell me how to remove the area of the plot after the laft baras I am pulling all the bars together to the left , there is a lot of space left on the right of the plot which I don't need. But the legend...
by MasterJ
Mon Jul 24, 2006 2:41 pm
Forum: JFreeChart
Topic: Why doesn't itemMargin in BarRenderer work?
Replies: 6
Views: 7870

Please David.

Dear David,

Please look into my problem.
I need to remove the excess of plot area after the last bar.

May be like pieplot.setInteriorGap() method does for pie Graph.
Could you please help me.
I need it urgently.
Thanking you,
MJ
by MasterJ
Mon Jul 24, 2006 6:17 am
Forum: JFreeChart
Topic: How to eliminate the space around the PIE Graph
Replies: 4
Views: 5459

We may try to increase the padding between chart

Hi! Dropsy, We may try to increase the padding between chart as below.: RectangleInsets ri =chart.getPadding(); ri=new RectangleInsets(ri.getTop(),ri.getBottom(),ri.getLeft(),ri.getRight()+50.0); chart.setPadding(ri); but that reduces the plot quality. I need to clipoff the polt area. Tell me if you...
by MasterJ
Sat Jul 22, 2006 4:36 am
Forum: JFreeChart
Topic: Why doesn't itemMargin in BarRenderer work?
Replies: 6
Views: 7870

Eliminating the space in the plot area after the last bar

Hi! David, I could manage to set the pace between the bars, and that between the fierst ba and the Range Axis. .So now all the bars are aligned to the left of the polt Area. That's what I want. But there still reamins an excess of plot beyonnd the last bar ,which I don't need. So how to eliminate th...
by MasterJ
Sat Jul 22, 2006 4:12 am
Forum: JFreeChart
Topic: Correction to JDBCPieDataset
Replies: 6
Views: 6122

My Suggestion!

Dear David, Thanks for your reply. I prefer the automatic behaviour of JDBCPieDataset to Manually setting values after we ourselves retrieving the values from the dtabase. Or May be I didn't understand what you are saying, anyway, I would like to suggest you to make this change to the execute query ...
by MasterJ
Sat Jul 22, 2006 3:54 am
Forum: JFreeChart
Topic: How to reduce the Plot Area of a BarGraph?
Replies: 0
Views: 1814

How to reduce the Plot Area of a BarGraph?

Hello All, I need to display only two or three bars in a bar graph. By Default these bars are centered with in the available space. I'm aligning these bars to the left and the space between them is set to the minimum. So, there is a lot of space in the plot drawing area which I need to eliminate. I ...
by MasterJ
Fri Jul 21, 2006 10:00 am
Forum: JFreeChart
Topic: Correction to JDBCPieDataset
Replies: 6
Views: 6122

Simplicity

The beauty of JDBCPieDataset is that I only pas the Query to an in instance of JDBCPieDataset and it does the rest. Is that possible with DefaultPieDataset ?
Thanks for your interest in this,
MJ
by MasterJ
Fri Jul 21, 2006 7:29 am
Forum: JFreeChart
Topic: Save chart inside webapps
Replies: 2
Views: 4947

Why to Save the chart?

hi! Arun, get me clarified first, why do you wish to save those charts at all . If you go on saving the images of these charts your directory will become as huge as you you will feel some day that you cannot wieght he burden of these images. It's better you present the images on to the webpages with...
by MasterJ
Fri Jul 21, 2006 6:32 am
Forum: JFreeChart
Topic: Correction to JDBCPieDataset
Replies: 6
Views: 6122

This may easy for a single graph!

Hello Angel, This may easy for a single graph! But what if we don't know how many columns we would have in the row ,and the type of data in them. I'm using these graphs in a WebApp. So I cannot write so many servlets for each graph; and what I did is I generated a Template like servlet which takes t...
by MasterJ
Fri Jul 21, 2006 5:29 am
Forum: JFreeChart
Topic: How to eliminate the space around the PIE Graph
Replies: 4
Views: 5459

Thanks , it worked well.!

Thanks dropsy, it worked well. Could you tell me how to do the same for Bar Graphs? What I need is to reduce the area of the plot rendered and increase the Background of the chart.because I'm limiting the space between the bars to be a certain maximum; so there is a lot of space in the plot . Do you...
by MasterJ
Fri Jul 21, 2006 4:36 am
Forum: JFreeChart
Topic: Why doesn't itemMargin in BarRenderer work?
Replies: 6
Views: 7870

Why doesn't itemMargin in BarRenderer work?

Hi! Everybody, I need to set the spacing between the bars with in a single category I'm using the following code... final CategoryItemRenderer renderer = plot.getRenderer(); final BarRenderer3D ren = (BarRenderer3D) renderer; ren.setItemMargin(0.1); And also I need to set the amount of space reserve...
by MasterJ
Wed Jul 19, 2006 11:58 am
Forum: JFreeChart
Topic: How to display series aswell as category values in BAR grapn
Replies: 0
Views: 2244

How to display series aswell as category values in BAR grapn

Dear David , The legend for Bar graph displays only the field names that we draw graph for, but not their values as it does in the case of Pie graph. In Pie graph, the legend looks like this: Boys=100 for a field of boys with a value 100 But for Bar graph it shows only the field name, i.e. BOYS Is t...
by MasterJ
Wed Jul 19, 2006 11:42 am
Forum: JFreeChart
Topic: Correction to JDBCPieDataset
Replies: 6
Views: 6122

Correction to JDBCPieDataset

Dear david, iI observed that JDBCPieDataset ,by default takes two columns(one field name,the other its value) of sevevrel Rows. But what if we need to draw a graph for a single row and severel columns ? I have written a small variant of the said class for my convenience and it worked fine. I would l...