Search found 15 matches

by mausbull
Mon Nov 03, 2008 11:50 am
Forum: JFreeChart
Topic: Barchart - Legend grouped (multiline)
Replies: 0
Views: 1883

Barchart - Legend grouped (multiline)

Hi, I want to display a chart legend that should look like the one in the image below. Precisely, I want to group certain bars and give them a common name. Is JFreeChart able to display such a graph? Any code suggestions are highly welcome. Regards Stephan http://s2d1.turboimagehost.com/t/906966_gro...
by mausbull
Fri Aug 08, 2008 12:19 pm
Forum: JFreeChart
Topic: Textures.
Replies: 15
Views: 19513

Hi,

although this thread is very old I still hope to get an answer.
Could you (jleech) or anyone else post an example on who to apply the patterns onto a chart.

Moreover I'd like to know if it is possible to apply different patterns for each bar in a barchart.

Thanks for your answers.
by mausbull
Mon Jan 14, 2008 11:23 am
Forum: JFreeChart
Topic: BarChart: excluding NULL series from Category
Replies: 4
Views: 5559

Hi,

since I've got a very similar problem (see http://www.jfree.org/phpBB2/viewtopic.php?t=23421) I wanted to know if you've found a solution to your problem.

thanks a lot
by mausbull
Mon Jan 14, 2008 9:09 am
Forum: JFreeChart
Topic: Barchart - Category/Series - null bars
Replies: 3
Views: 6291

Can anyone give me a hint where to start changing the code so I get the desired output?

Is it right that I need to manipulate the BarRenderer class?

Thanks for your help
Stephan
by mausbull
Thu Jan 03, 2008 3:41 pm
Forum: JFreeChart
Topic: Barchart - Category/Series - null bars
Replies: 3
Views: 6291

Barchart - Category/Series - null bars

Hi, I need to display a barchart using a dataset like the one shown below: DefaultStatisticalCategoryDataset dataset = new DefaultStatisticalCategoryDataset(); dataset.add(10, 1, "S1", "C1"); dataset.add(11, 1, "S2", "C1"); dataset.add(12, 1, "S3", "C1"); dataset.add(9, 1, "S4", "C2"); dataset.add(8...
by mausbull
Thu Jul 05, 2007 3:38 pm
Forum: JFreeChart
Topic: Logarithmic Axis - Ticks
Replies: 0
Views: 2813

Logarithmic Axis - Ticks

Hi, I've a problem drawing ticks on my chart. At the moment it looks like this: http://students.fhs-hagenberg.ac.at/bin/bin02023/graz/mine.jpg but it should look like this: http://students.fhs-hagenberg.ac.at/bin/bin02023/graz/ideal.jpg Below is the code that I've tried so far: JFreeChart myLineGrap...
by mausbull
Wed Jan 17, 2007 5:14 pm
Forum: JFreeChart
Topic: JSP - DWR - Servlet - Tooltip
Replies: 4
Views: 10879

ok I see Now I'm able to create that image map and even send it via DWR to my JSP page. The only problem I'm having right now is to include this javascript text into my html part. My design does not allow me to reload this page and I need a fresh imageMap for each newly loaded image. Does anyone kno...
by mausbull
Wed Jan 17, 2007 10:43 am
Forum: JFreeChart
Topic: JSP - DWR - Servlet - Tooltip
Replies: 4
Views: 10879

ok thanks, now the part in my ChartViewer Servlet which creates the image looks like this: // send the picture BufferedImage buf = chart.createBufferedImage(800, 450, info); OutputStream out = response.getOutputStream(); PrintWriter writer = new PrintWriter(out); ChartUtilities.writeBufferedImageAsP...
by mausbull
Tue Jan 16, 2007 4:04 pm
Forum: JFreeChart
Topic: JSP - DWR - Servlet - Tooltip
Replies: 4
Views: 10879

JSP - DWR - Servlet - Tooltip

Hi, I'm using JFreeChart to create a chart for my Web Application. I've been successfully using it for quite some time but now I'm stuck with adding tooltip support. I'm using the following process to create an image: User clicks -> javascript calls a DWR function -> Server Code is executed, JFreeCh...
by mausbull
Mon Jan 15, 2007 4:02 pm
Forum: JFreeChart
Topic: Cut labels and subtitles
Replies: 4
Views: 6868

My fault sorry - posted the answer to the wrong thread. My problem is, that the legend area gets to big if I have a lot of series added to my XYSeries. I wanted to know if it's possible to limit the amount of series which are displayed in the legend or define the size of the legend, i.e. give it a f...
by mausbull
Mon Jan 15, 2007 3:38 pm
Forum: JFreeChart
Topic: Cut labels and subtitles
Replies: 4
Views: 6868

good you mention this - I've the same problem.

Did you find a solution to this?

regards
Stephan
by mausbull
Thu Jun 08, 2006 8:45 am
Forum: JFreeChart
Topic: JFreechart HTML/JSP Ajax/DWR
Replies: 8
Views: 12886

yep cool that solves the problem.

many thanks
stephan
by mausbull
Tue Feb 28, 2006 10:01 am
Forum: JFreeChart
Topic: JFreechart HTML/JSP Ajax/DWR
Replies: 8
Views: 12886

well, first thanks for your help, now it works almost perfect. there is just one little problem left: right now when the user clicks on a cell of the grid, I send a message via DWR to a session bean, which stores the correct chart in the session. In my img tag I use a servlet to display the graph, w...
by mausbull
Thu Feb 23, 2006 2:34 pm
Forum: JFreeChart
Topic: JFreechart HTML/JSP Ajax/DWR
Replies: 8
Views: 12886

Well yes it helps a little bit. But the thing is I don't know how I should return an image from my session bean back to my jsp site. I thought I can somehow convert that byte[] into an image, but as it looks like I cant. So I need to either send back an image or store it in a session or something li...
by mausbull
Wed Feb 22, 2006 3:48 pm
Forum: JFreeChart
Topic: JFreechart HTML/JSP Ajax/DWR
Replies: 8
Views: 12886

JFreechart HTML/JSP Ajax/DWR

Hi, Here is my problem: I have a JSP page where I want to display a chart (on top) and a grid (on the bottom). When the user clicks on a cell of that grid the chart should change according to the selected cell. In order to maintain some performance I don't want to submit or refresh the whole page. N...