From: Jiang, X. <jon...@pi...> - 2004-11-09 23:50:37
|
That works!=20 Thanks a lot! -Jon -----Original Message----- From: jch...@li... [mailto:jch...@li...]On Behalf Of jch...@li... Sent: Sunday, November 07, 2004 8:40 PM To: jch...@li... Subject: jCharts-users digest, Vol 1 #271 - 2 msgs Send jCharts-users mailing list submissions to jch...@li... 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 jch...@li... You can reach the person managing the list at jch...@li... 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" <jon...@pi...> To: <jch...@li...> Subject: [jCharts-users] RE: jCharts-users digest, Vol 1 #270 - 1 msg Reply-To: jch...@li... Here's the data I'm using. The chart comes out pretty flat. The max of = Y=3D20 is 8 and the min of Y, 0. I couldn't find a clue how to change the = range=3D20 for Y axis by looking at jcharts source. X-axis:=3D20 "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=3D > cannot move on without resolving these problems. >1) How can I change the minimum/maximum Y values so as to display = more=3D20 >details? >2) Can I control the number and value of X-labels, for example, = just=3D20 >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=3D individual named. If you are not the named addressee, you should not = disse=3D minate, distribute, alter or copy this e-mail.=3D20 Please notify the sender immediately by e-mail if you have received this = e-=3D mail by mistake and delete this e-mail from your system.=3D20 E-mail transmissions cannot be guaranteed to be secure or error-free as = inf=3D ormation could be intercepted, corrupted, lost, destroyed, arrive late = or i=3D ncomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or = omission=3D s in the contents of this message which arise during or as a result of = e-ma=3D il transmission. If verification is required, please request a hard-copy = ve=3D rsion. This message is provided for information purposes and should not = be =3D construed as a solicitation or offer to buy or sell any securities or = relat=3D ed financial instruments in any jurisdiction. --__--__-- Message: 2 Date: Sun, 7 Nov 2004 17:31:50 -0800 (PST) From: "Nathaniel G. Auvil" <nat...@ya...> Subject: Re: [jCharts-users] RE: jCharts-users digest, Vol 1 #270 - 1 = msg To: jch...@li... Reply-To: jch...@li... try something like this: DataAxisProperties yAxis =3D (DataAxisProperties) = axisProperties.getYAxisProperties(); yAxis.setNumItems( 10 ); yAxis.setRoundToNearest( -3 ); UserDefinedScaleCalculator u=3D 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" <jon...@pi...> wrote: > 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. >=20 > 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 >=20 > -Jon >=20 > >Help, please (Jiang, Xihua) > >Anybody knows the answers to my following two questions? Please = advise. I> > cannot move on without resolving these problems. >=20 > >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? >=20 > >Attached is the chart I got using jcharts. >=20 > >Thanks in advance, >=20 > >Jon >=20 >=20 > 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.=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 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. >=20 >=20 >=20 > ------------------------------------------------------- > 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_id=12065&op=3Dclick > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users >=20 =09 __________________________________=20 Do you Yahoo!?=20 Check out the new Yahoo! Front Page.=20 www.yahoo.com=20 =20 --__--__-- _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest |