From: Lora L. <Lor...@sa...> - 2004-04-23 18:01:11
|
I am attaching an image of the chart we are using (please let me know 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 Again I appreciate your quick response. Thank you, Lora Lantzy -----Original Message----- From: Nathaniel G. Auvil [mailto:nat...@ya...]=20 Sent: Friday, April 23, 2004 11:31 AM To: jch...@li... Subject: RE: [jCharts-users] Trying to subclass yes. I guess I never really thought people would add chart types to the = library; i figured people would just use it. My bad. Would you care to donate the new chart types to the project? --- Lora Lantzy <Lor...@sa...> wrote: > Yes the developer before me needed 4 new chart types which is why he=20 > modified ChartType.java and AxisChart.java. >=20 > If I am understanding you, then the correct way to add the new chart=20 > 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=20 > do several things to the internals of jcharts, including modifying=20 > that file. >=20 > the classes are abstract because they only contain static methods for=20 > 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=20 > > to > > subclass ChartType.java and AxisChart.java. The previous programmer = > > edited the JCharts source code which has now prevented me from using = > > the latest version. I have run into some problems especially with=20 > > 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 = > > classes (AreaChart, BarChart, LineChart, etc) are abstract. I would = > > 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 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 >=20 > =09 > =09 > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for 25=A2=20 > http://photos.yahoo.com/ph/print_splash >=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 >=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=12297 > _______________________________________________ > jCharts-users mailing list jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=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 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 |