RE: jCharts-users digest, Vol 1 #271 - 2 msgs
"Jiang, Xihua" <[email protected]> Tue, 9 Nov 2004 15:51:17 -0800
| Newsgroups | gmane.comp.krysalis.jcharts.user |
|---|---|
| Message-ID | <CB9351707A48AB499FF3FFD575797F53292DAF@ine001p4.pimco.imswest.sscims.com> |
That works! Thanks a lot! -Jon -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of [email protected] Sent: Sunday, November 07, 2004 8:40 PM To: [email protected] Subject: jCharts-users digest, Vol 1 #271 - 2 msgs Send jCharts-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. RE: jCharts-users digest, Vol 1 #270 - 1 msg (Jiang, Xihua) 2. Re: RE: jCharts-users digest, Vol 1 #270 - 1 msg (Nathaniel G. Auvil) --__--__-- Message: 1 Date: Sun, 7 Nov 2004 14:19:36 -0800 From: "Jiang, Xihua" <[email protected]> To: <[email protected]> Subject: [jCharts-users] RE: jCharts-users digest, Vol 1 #270 - 1 msg Reply-To: [email protected] Here's the data I'm using. The chart comes out pretty flat. The max of Y=20 is 8 and the min of Y, 0. I couldn't find a clue how to change the range=20 for Y axis by looking at jcharts source. X-axis:=20 "11/05/01","11/06/01","11/07/01","11/08/01","11/09/01","11/12/01", "11/13/01","11/14/01","11/15/01","11/16/01","11/19/01","11/20/01", "11/21/01","11/23/01","11/26/01","11/27/01","11/28/01","11/29/01" Y axis: 4.285313558462715,4.327355106381077,4.256116165643733, 4.264372929909344,4.32266224941005,4.386408260326684, 4.322149065925121,4.407173633919275,4.613895160148932, 4.822555639285337,4.924603927261161,5.006015315053992, 5.168691878725254,5.173691883743854,5.187260136310746, 5.09519138474616,5.141170201331345,5.08982567470055 -Jon >Help, please (Jiang, Xihua) >Anybody knows the answers to my following two questions? Please advise. I= > cannot move on without resolving these problems. >1) How can I change the minimum/maximum Y values so as to display more=20 >details? >2) Can I control the number and value of X-labels, for example, just=20 >display 3 x-labels - the start, the middle, and the end values? >Attached is the chart I got using jcharts. >Thanks in advance, >Jon This message contains confidential information and is intended only for the= individual named. If you are not the named addressee, you should not disse= minate, distribute, alter or copy this e-mail.=20 Please notify the sender immediately by e-mail if you have received this e-= mail by mistake and delete this e-mail from your system.=20 E-mail transmissions cannot be guaranteed to be secure or error-free as inf= ormation could be intercepted, corrupted, lost, destroyed, arrive late or i= ncomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or omission= s in the contents of this message which arise during or as a result of e-ma= il transmission. If verification is required, please request a hard-copy ve= rsion. This message is provided for information purposes and should not be = construed as a solicitation or offer to buy or sell any securities or relat= ed financial instruments in any jurisdiction. --__--__-- Message: 2 Date: Sun, 7 Nov 2004 17:31:50 -0800 (PST) From: "Nathaniel G. Auvil" <[email protected]> Subject: Re: [jCharts-users] RE: jCharts-users digest, Vol 1 #270 - 1 msg To: [email protected] Reply-To: [email protected] try something like this: DataAxisProperties yAxis = (DataAxisProperties) axisProperties.getYAxisProperties(); yAxis.setNumItems( 10 ); yAxis.setRoundToNearest( -3 ); UserDefinedScaleCalculator u= new UserDefinedScaleCalculator( 4.00, .15 ); yAxis.setScaleCalculator( u ); There is no user defined functionality to control which labels are shown on the x-axis. You could do it manually in your data and use empty Strings for all the values except the ones you want to display. --- "Jiang, Xihua" <[email protected]> wrote: > Here's the data I'm using. The chart comes out pretty flat. The max of Y > is 8 and the min of Y, 0. I couldn't find a clue how to change the range > for Y axis by looking at jcharts source. > > X-axis: > "11/05/01","11/06/01","11/07/01","11/08/01","11/09/01","11/12/01", > "11/13/01","11/14/01","11/15/01","11/16/01","11/19/01","11/20/01", > "11/21/01","11/23/01","11/26/01","11/27/01","11/28/01","11/29/01" > Y axis: > 4.285313558462715,4.327355106381077,4.256116165643733, > 4.264372929909344,4.32266224941005,4.386408260326684, > 4.322149065925121,4.407173633919275,4.613895160148932, > 4.822555639285337,4.924603927261161,5.006015315053992, > 5.168691878725254,5.173691883743854,5.187260136310746, > 5.09519138474616,5.141170201331345,5.08982567470055 > > -Jon > > >Help, please (Jiang, Xihua) > >Anybody knows the answers to my following two questions? Please advise. I> > cannot move on without resolving these problems. > > >1) How can I change the minimum/maximum Y values so as to display more > >details? > >2) Can I control the number and value of X-labels, for example, just > >display 3 x-labels - the start, the middle, and the end values? > > >Attached is the chart I got using jcharts. > > >Thanks in advance, > > >Jon > > > This message contains confidential information and is intended only for the individual named. If > you are not the named addressee, you should not disseminate, distribute, alter or copy this > e-mail. > Please notify the sender immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. > E-mail transmissions cannot be guaranteed to be secure or error-free as information could be > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. > The sender, therefore, does not accept liability for any errors or omissions in the contents of > this message which arise during or as a result of e-mail transmission. If verification is > required, please request a hard-copy version. This message is provided for information purposes > and should not be construed as a solicitation or offer to buy or sell any securities or related > financial instruments in any jurisdiction. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > jCharts-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jcharts-users > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com --__--__-- _______________________________________________ jCharts-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click