LegendWrapperDemo1 sample code

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
suhagun
Posts: 6
Joined: Thu Jul 10, 2008 2:29 am

LegendWrapperDemo1 sample code

Post by suhagun » Thu Jul 10, 2008 2:32 am

Hi,
I have the developer's guide but didn't find the sample code from the LegendWrapperDemo1.java file that is shown in the demo application. I want to know how to get the heading for the legend items ("Legend Items" in the example) with rest of the legend items? Can someone please provide sample code on how to do that.

thanks
Suhagun

suhagun
Posts: 6
Joined: Thu Jul 10, 2008 2:29 am

Post by suhagun » Fri Jul 11, 2008 10:07 pm

Anyone?

I just need to see the code on how to get the title for legend items as shown in LegendWrapperDemo1 in demo application.

thanks

suhagun
Posts: 6
Joined: Thu Jul 10, 2008 2:29 am

Post by suhagun » Mon Jul 14, 2008 6:47 pm

I am pretty sure some of you know the answer to the question I have asked. Please help. I am waiting for this last fix before I can finish my application.

thanks

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Post by RichardWest » Mon Jul 14, 2008 7:30 pm

suhagun wrote:I am pretty sure some of you know the answer to the question I have asked. Please help. I am waiting for this last fix before I can finish my application.
Is it not in the demo source code you downloaded with the devloper's guide? The demo is compiled from that source, so the source code should be there if the example is in the demo. In general, source code for the demo applications is not provided in the forum.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

suhagun
Posts: 6
Joined: Thu Jul 10, 2008 2:29 am

Post by suhagun » Mon Jul 14, 2008 7:57 pm

I only downloaded the developer guide. I thought the code was part of the developer guide (I see that it has lot of code for demo examples).

I don't need the source code for the LegendWrapperDemo1. I am just referring to that as an example of what I am looking for. Can you not tell me the code on how to create an title for legend items like shown in LegendWrapperDemo1 example?

thanks,

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Post by RichardWest » Mon Jul 14, 2008 8:03 pm

suhagun wrote:Can you not tell me the code on how to create an title for legend items like shown in LegendWrapperDemo1 example?
Just download the demo source code. It would be quicker than waiting for me to find the time to create an example, debug it, and post it here. The demo code will also have other examples that you might want in the future. If I recall correctly, you can download the demo source code from the URL provided in the confirmation email you received when you purchased the devloper's guide.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

suhagun
Posts: 6
Joined: Thu Jul 10, 2008 2:29 am

Post by suhagun » Mon Jul 14, 2008 8:10 pm

Nevermind. I got the code and I see what I need to do.

Locked