From: Lora L. <Lor...@sa...> - 2004-04-23 19:25:49
|
Thank you very much. I will give it a try and let you know the results. = I appreciate your time. Lora Lantzy -----Original Message----- From: Nathaniel G. Auvil [mailto:nat...@ya...]=20 Sent: Friday, April 23, 2004 3:13 PM To: jch...@li... Subject: RE: [jCharts-users] Trying to subclass You should be able to do it with the existing library by using the = org.jCharts.axisChart.customRenderers package. This basically allows = you to set Listeners into the rendering process of each bar on the = chart. So you could grab the Graphics2D Object and render there. --- Lora Lantzy <Lor...@sa...> wrote: > I am attaching an image of the chart we are using (please let me know=20 > if you can not view it). > The new chart types that were created are the overlays (green line and = red Ibars). I was > wondering if you could tell me if it was possible to create these = overlays with the existing > library. =20 >=20 > Again I appreciate your quick response. >=20 > Thank you, > Lora Lantzy >=20 >=20 >=20 > -----Original Message----- > From: Nathaniel G. Auvil [mailto:nat...@ya...] > Sent: Friday, April 23, 2004 11:31 AM > To: jch...@li... > Subject: RE: [jCharts-users] Trying to subclass >=20 >=20 >=20 > yes. I guess I never really thought people would add chart types to=20 > the library; i figured people would just use it. My bad. >=20 > Would you care to donate the new chart types to the project? >=20 >=20 >=20 >=20 >=20 > --- Lora Lantzy <Lor...@sa...> wrote: > > Yes the developer before me needed 4 new chart types which is why he > > modified ChartType.java and AxisChart.java. > >=20 > > If I am understanding you, then the correct way to add the new chart > > types is to modify these source files instead of subclassing. > >=20 > > I appreciate your quick response. > >=20 > > Thank you, > > Lora Lantzy > >=20 > > -----Original Message----- > > From: Nathaniel G. Auvil [mailto:nat...@ya...] > > Sent: Friday, April 23, 2004 10:47 AM > > To: jch...@li... > > Subject: Re: [jCharts-users] Trying to subclass > >=20 > >=20 > >=20 > > Are you trying to add your own chart type? If so, you would have to > > do several things to the internals of jcharts, including modifying=20 > > that file. > >=20 > > the classes are abstract because they only contain static methods=20 > > for > > rendering the chart. It gets driven by AxisChart. And unless you = are=20 > > creating a new chart type, this should not be of concern as you = would=20 > > not call these classes directly. > >=20 > >=20 > >=20 > >=20 > > --- Lora Lantzy <Lor...@sa...> wrote: > > > I inherited some JCharts code from another developer and am trying > > > to > > > subclass ChartType.java and AxisChart.java. The previous = programmer=20 > > > edited the JCharts source code which has now prevented me from = using=20 > > > the latest version. I have run into some problems especially with = > > > ChartType.java. The constructor is private and thus I am unable = to=20 > > > subclass it. I am sure there is a reason for making it private = but I=20 > > > am hoping there is a solution for those who need to subclass=20 > > > ChartType. With AxisChart, I am running into problems since all = the=20 > > > classes (AreaChart, BarChart, LineChart, etc) are abstract. I = would=20 > > > appreciate any help that can be provided. > > >=20 > > > Thank you, > > > Lora Lantzy > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: The Robotic Monkeys at=20 > > > ThinkGeek For a limited time only, get FREE Ground shipping on all = > > > orders of $35 or more. Hurry up and shop folks, this offer expires = > > > April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 > > > _______________________________________________ > > > jCharts-users mailing list jCh...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > >=20 > >=20 > >=20 > > =09 > > =09 > > __________________________________ > > Do you Yahoo!? > > Yahoo! Photos: High-quality 4x6 digital prints for 25=A2 > > http://photos.yahoo.com/ph/print_splash > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > > For a limited time only, get FREE Ground shipping on all orders of = $35=20 > > or more. Hurry up and shop folks, this offer expires April 30th!=20 > > http://www.thinkgeek.com/freeshipping/?cpg=3D12297 > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > > For a limited time only, get FREE Ground shipping on all orders of = $35=20 > > or more. Hurry up and shop folks, this offer expires April 30th!=20 > > http://www.thinkgeek.com/freeshipping/?cpg=12297 > > _______________________________________________ > > jCharts-users mailing list jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users >=20 >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek=20 > For a limited time only, get FREE Ground shipping on all orders of $35 = > or more. Hurry up and shop folks, this offer expires April 30th!=20 > http://www.thinkgeek.com/freeshipping/?cpg=3D12297 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users >=20 > ATTACHMENT part 2 image/gif name=3Dchart.gif =09 =09 __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25=A2 = http://photos.yahoo.com/ph/print_splash ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For = a limited time only, get FREE Ground shipping on all orders of $35 or = more. Hurry up and shop folks, this offer expires April 30th! = http://www.thinkgeek.com/freeshipping/?cpg=3D12297 _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |