From: Nathaniel G. A. <nat...@ya...> - 2004-04-23 15:31:13
|
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 modified ChartType.java and > AxisChart.java. > > If I am understanding you, then the correct way to add the new chart types is to modify these > source files instead of subclassing. > > I appreciate your quick response. > > Thank you, > Lora Lantzy > > -----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 > > > > 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 that file. > > the classes are abstract because they only contain static methods for rendering the chart. It > gets driven by AxisChart. And unless you are creating a new chart type, this should not be of > concern as you would not call these classes directly. > > > > > --- 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 > > edited the JCharts source code which has now prevented me from using > > the latest version. I have run into some problems especially with > > ChartType.java. The constructor is private and thus I am unable to > > subclass it. I am sure there is a reason for making it private but I > > am hoping there is a solution for those who need to subclass > > 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. > > > > Thank you, > > Lora Lantzy > > > > > > > > ------------------------------------------------------- > > 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/?cpg297 > > _______________________________________________ > > jCharts-users mailing list jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for 25¢ 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=12297 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > ------------------------------------------------------- > 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/?cpg297 > _______________________________________________ > 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 http://mail.yahoo.com |