You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(5) |
Aug
(2) |
Sep
(3) |
Oct
(2) |
Nov
(8) |
Dec
(10) |
2003 |
Jan
(1) |
Feb
(5) |
Mar
(15) |
Apr
(29) |
May
(40) |
Jun
(44) |
Jul
(26) |
Aug
(63) |
Sep
(42) |
Oct
(33) |
Nov
(29) |
Dec
(51) |
2004 |
Jan
(34) |
Feb
(15) |
Mar
(32) |
Apr
(26) |
May
(40) |
Jun
(16) |
Jul
(6) |
Aug
(12) |
Sep
(55) |
Oct
(33) |
Nov
(54) |
Dec
(9) |
2005 |
Jan
(3) |
Feb
(7) |
Mar
(12) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
|
Aug
(4) |
Sep
(8) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(7) |
Mar
(4) |
Apr
(2) |
May
(3) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(3) |
Dec
(2) |
2007 |
Jan
(7) |
Feb
(6) |
Mar
|
Apr
|
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2010 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ashley T. <at...@uk...> - 2004-01-03 14:24:06
|
Im using JDK 1.4.01 and im using jCharts 0.7.4 Thanks Ash ----- Original Message ----- From: "Nathaniel G. Auvil" <nat...@ya...> To: <jch...@li...> Sent: Saturday, January 03, 2004 2:03 PM Subject: Re: [jCharts-users] X11/UNIX problem again > > what jdk are you using? > > > --- Ashley Towers <at...@uk...> wrote: > > Im having problems with this X11 (Unix based problem). Basically i got the code working on > > windows but not solaris, i've tried the > > > > try{ System.setProperty("java.awt.headless","true");}catch( Throwable throwable ){} > > > > fix but it doesn't seem to be working, im not sure if i've got it in the wrong place or if i've > > done it wrong or what? Its a servlet running on Sun One WebServer so i can't run it from the > > command line and thus add the -D<thingy> > > > > any one any ideas??? > > > > > > i've got the code: > > > > import org.jCharts.chartData.ChartDataException; > > import org.jCharts.chartData.PieChartDataSet; > > import org.jCharts.encoders.ServletEncoderHelper; > > import org.jCharts.nonAxisChart.PieChart2D; > > import org.jCharts.properties.*; > > > > import javax.servlet.ServletException; > > import javax.servlet.http.*; > > import java.awt.*; > > import java.io.IOException; > > > > > > public class PieChart2DServlet extends HttpServlet > > { > > //---all of my pie charts serviced by this Servlet will have the same properties. > > private PieChart2DProperties properties; > > private LegendProperties legendProperties; > > private ChartProperties chartProperties; > > > > private int width = 550; > > private int height = 350; > > > > > > /*************************************************************************** ******************* > > * > > > > **************************************************************************** ******************/ > > public void init() > > { > > // Solaris code to prevent X11 Server errors > > try{ System.setProperty("java.awt.headless","true");}catch( Throwable throwable > > ){} > > > > //---all charts of this type of pie chart are going to share the same > > properties. > > this.properties = new PieChart2DProperties(); > > > > this.legendProperties = new LegendProperties(); > > this.legendProperties.setNumColumns( 2 ); > > this.legendProperties.setPlacement( LegendProperties.RIGHT ); > > > > this.chartProperties = new ChartProperties(); > > } > > > > > > /*************************************************************************** ******************* > > * > > > > **************************************************************************** ******************/ > > public void service( HttpServletRequest req, HttpServletResponse response ) throws > > ServletException, IOException > > { > > > > > > > > > > try > > { > > PieChart2D pieChart2D = new PieChart2D( this.getData(req), this.legendProperties, > > this.chartProperties, this.width, this.height ); > > ServletEncoderHelper.encodeJPEG13( pieChart2D, 1.0f, response ); > > } > > catch( Throwable throwable ) > > { > > //HACK do your error handling here... > > throwable.printStackTrace(); > > } > > } > > > > > > /*************************************************************************** *************** > > * Returns a Tests a 'real' data set and usage. > > * > > * @throws ChartDataException > > **************************************************************************** **************/ > > private PieChartDataSet getData(HttpServletRequest req) throws ChartDataException > > { > > > > String []y = req.getParameterValues("y"); > > // Defines the data > > double[] data = new double[y.length]; > > > > for (int i =0; i < y.length; i++){ > > Double d = (Double) Double.valueOf(y[i]); > > data[i] = (double) d.doubleValue(); > > } > > > > // Defines the paints > > Paint[] paints = new Paint[data.length]; > > for (int i = 0; i < paints.length; i++){ > > paints[i] = possible_paints[i]; > > } > > > > // Defines labels for each value > > String[] labels = req.getParameterValues("x"); > > > > // Defines the title > > String title = ""; > > title = req.getParameter("title"); > > > > return new PieChartDataSet(title, data, labels, paints, this.properties ); > > } > > > > // Defines the possible_paints MAX 9 > > private Paint[] possible_paints = new Paint[]{Color.blue, > > Color.red, > > Color.green, > > Color.yellow, > > Color.white, > > Color.gray, > > Color.orange, > > Color.pink, > > Color.blue, > > Color.red, > > Color.green, > > Color.yellow, > > Color.white, > > Color.gray, > > Color.orange, > > Color.pink, > > Color.blue}; > > } > > > > > > > > > > > > im getting the errors: > > > > [19/Dec/2003:08:12:18] failure (13591): Internal error: Unexpected error condition thrown > > (unknown exception,no description), stack: java.lang.InternalError: Can't connect to X11 window > > server using ':0.0' as the value of the DISPLAY variable. > > > > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > > > > at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125) > > > > at java.lang.Class.forName0(Native Method) > > > > at java.lang.Class.forName(Class.java:140) > > > > at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java:62) > > > > at java.awt.Font.initializeFont(Font.java:303) > > > > at java.awt.Font.<init>(Font.java:339) > > > > at org.jCharts.properties.util.ChartFont.<clinit>(Unknown Source) > > > > at org.jCharts.properties.PieChart2DProperties.<init>(Unknown Source) > > > > at PieChart2DServlet.init(PieChart2DServlet.java:30) > > > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > > > at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:40 5) > > > > at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java: 173) > > > > at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java :416) > > > > > > [02/Jan/2004:10:31:45] failure (23997): Internal error: Unexpected error condition thrown > > (unknown exception,no description), stack: java.lang.NoClassDefFoundError: > > sun/io/ByteToCharEUC_KR > > > > at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) > > > > at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:7 36) > > > > at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java: 587) > > > > at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49) > > > > at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203) > > > > at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.j ava:1029) > > > > at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment. java:795) > > > > at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:49) > > > > at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:78) > > > > at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:150) > > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) > > > > at > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) > > > > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > > > at java.lang.Class.newInstance0(Class.java:306) > > > > at java.lang.Class.newInstance(Class.java:259) > > > > at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java:62) > > > > at java.awt.Font.initializeFont(Font.java:303) > > > > at java.awt.Font.<init>(Font.java:339) > > > > at org.jCharts.properties.util.ChartFont.<clinit>(Unknown Source) > > > > at org.jCharts.properties.PieChart2DProperties.<init>(Unknown Source) > > > > at PieChart2DServlet.init(PieChart2DServlet.java:30) > > > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > > > at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:40 5) > > > > at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java: 173) > > > > at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java :416) > > > __________________________________ > Do you Yahoo!? > Find out what made the Top Yahoo! Searches of 2003 > http://search.yahoo.com/top2003 > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > |
From: Nathaniel G. A. <nat...@ya...> - 2004-01-03 14:03:29
|
what jdk are you using? --- Ashley Towers <at...@uk...> wrote: > Im having problems with this X11 (Unix based problem). Basically i got the code working on > windows but not solaris, i've tried the > > try{ System.setProperty("java.awt.headless","true");}catch( Throwable throwable ){} > > fix but it doesn't seem to be working, im not sure if i've got it in the wrong place or if i've > done it wrong or what? Its a servlet running on Sun One WebServer so i can't run it from the > command line and thus add the -D<thingy> > > any one any ideas??? > > > i've got the code: > > import org.jCharts.chartData.ChartDataException; > import org.jCharts.chartData.PieChartDataSet; > import org.jCharts.encoders.ServletEncoderHelper; > import org.jCharts.nonAxisChart.PieChart2D; > import org.jCharts.properties.*; > > import javax.servlet.ServletException; > import javax.servlet.http.*; > import java.awt.*; > import java.io.IOException; > > > public class PieChart2DServlet extends HttpServlet > { > //---all of my pie charts serviced by this Servlet will have the same properties. > private PieChart2DProperties properties; > private LegendProperties legendProperties; > private ChartProperties chartProperties; > > private int width = 550; > private int height = 350; > > > /********************************************************************************************** > * > > **********************************************************************************************/ > public void init() > { > // Solaris code to prevent X11 Server errors > try{ System.setProperty("java.awt.headless","true");}catch( Throwable throwable > ){} > > //---all charts of this type of pie chart are going to share the same > properties. > this.properties = new PieChart2DProperties(); > > this.legendProperties = new LegendProperties(); > this.legendProperties.setNumColumns( 2 ); > this.legendProperties.setPlacement( LegendProperties.RIGHT ); > > this.chartProperties = new ChartProperties(); > } > > > /********************************************************************************************** > * > > **********************************************************************************************/ > public void service( HttpServletRequest req, HttpServletResponse response ) throws > ServletException, IOException > { > > > > > try > { > PieChart2D pieChart2D = new PieChart2D( this.getData(req), this.legendProperties, > this.chartProperties, this.width, this.height ); > ServletEncoderHelper.encodeJPEG13( pieChart2D, 1.0f, response ); > } > catch( Throwable throwable ) > { > //HACK do your error handling here... > throwable.printStackTrace(); > } > } > > > /****************************************************************************************** > * Returns a Tests a 'real' data set and usage. > * > * @throws ChartDataException > ******************************************************************************************/ > private PieChartDataSet getData(HttpServletRequest req) throws ChartDataException > { > > String []y = req.getParameterValues("y"); > // Defines the data > double[] data = new double[y.length]; > > for (int i =0; i < y.length; i++){ > Double d = (Double) Double.valueOf(y[i]); > data[i] = (double) d.doubleValue(); > } > > // Defines the paints > Paint[] paints = new Paint[data.length]; > for (int i = 0; i < paints.length; i++){ > paints[i] = possible_paints[i]; > } > > // Defines labels for each value > String[] labels = req.getParameterValues("x"); > > // Defines the title > String title = ""; > title = req.getParameter("title"); > > return new PieChartDataSet(title, data, labels, paints, this.properties ); > } > > // Defines the possible_paints MAX 9 > private Paint[] possible_paints = new Paint[]{Color.blue, > Color.red, > Color.green, > Color.yellow, > Color.white, > Color.gray, > Color.orange, > Color.pink, > Color.blue, > Color.red, > Color.green, > Color.yellow, > Color.white, > Color.gray, > Color.orange, > Color.pink, > Color.blue}; > } > > > > > > im getting the errors: > > [19/Dec/2003:08:12:18] failure (13591): Internal error: Unexpected error condition thrown > (unknown exception,no description), stack: java.lang.InternalError: Can't connect to X11 window > server using ':0.0' as the value of the DISPLAY variable. > > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > > at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:140) > > at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) > > at java.awt.Font.initializeFont(Font.java:303) > > at java.awt.Font.<init>(Font.java:339) > > at org.jCharts.properties.util.ChartFont.<clinit>(Unknown Source) > > at org.jCharts.properties.PieChart2DProperties.<init>(Unknown Source) > > at PieChart2DServlet.init(PieChart2DServlet.java:30) > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:405) > > at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173) > > at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416) > > > [02/Jan/2004:10:31:45] failure (23997): Internal error: Unexpected error condition thrown > (unknown exception,no description), stack: java.lang.NoClassDefFoundError: > sun/io/ByteToCharEUC_KR > > at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) > > at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736) > > at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:587) > > at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49) > > at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209) > > at java.security.AccessController.doPrivileged(Native Method) > > at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203) > > at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:1029) > > at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:795) > > at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:49) > > at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160) > > at java.security.AccessController.doPrivileged(Native Method) > > at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:78) > > at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:150) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > at java.lang.Class.newInstance0(Class.java:306) > > at java.lang.Class.newInstance(Class.java:259) > > at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) > > at java.awt.Font.initializeFont(Font.java:303) > > at java.awt.Font.<init>(Font.java:339) > > at org.jCharts.properties.util.ChartFont.<clinit>(Unknown Source) > > at org.jCharts.properties.PieChart2DProperties.<init>(Unknown Source) > > at PieChart2DServlet.init(PieChart2DServlet.java:30) > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:405) > > at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173) > > at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416) __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 |
From: Ashley T. <at...@uk...> - 2004-01-03 13:25:15
|
Im having problems with this X11 (Unix based problem). Basically i got = the code working on windows but not solaris, i've tried the=20 try{ System.setProperty("java.awt.headless","true");}catch( Throwable = throwable ){} fix but it doesn't seem to be working, im not sure if i've got it in the = wrong place or if i've done it wrong or what? Its a servlet running on = Sun One WebServer so i can't run it from the command line and thus add = the -D<thingy> any one any ideas??? i've got the code: import org.jCharts.chartData.ChartDataException; import org.jCharts.chartData.PieChartDataSet; import org.jCharts.encoders.ServletEncoderHelper; import org.jCharts.nonAxisChart.PieChart2D; import org.jCharts.properties.*; import javax.servlet.ServletException; import javax.servlet.http.*; import java.awt.*; import java.io.IOException; public class PieChart2DServlet extends HttpServlet { //---all of my pie charts serviced by this Servlet will have the same = properties. private PieChart2DProperties properties; private LegendProperties legendProperties; private ChartProperties chartProperties; private int width =3D 550; private int height =3D 350; = /************************************************************************= ********************** * = *************************************************************************= *********************/ public void init() { // Solaris code to prevent X11 Server errors try{ = System.setProperty("java.awt.headless","true");}catch( Throwable = throwable ){} =20 //---all charts of this type of pie chart are going to = share the same properties. this.properties =3D new PieChart2DProperties(); this.legendProperties =3D new LegendProperties(); this.legendProperties.setNumColumns( 2 ); this.legendProperties.setPlacement( LegendProperties.RIGHT ); this.chartProperties =3D new ChartProperties(); } = /************************************************************************= ********************** * = *************************************************************************= *********************/ public void service( HttpServletRequest req, HttpServletResponse = response ) throws ServletException, IOException { =20 =20 =20 =20 try { =20 PieChart2D pieChart2D =3D new PieChart2D( this.getData(req), = this.legendProperties, this.chartProperties, this.width, this.height ); ServletEncoderHelper.encodeJPEG13( pieChart2D, 1.0f, response ); } catch( Throwable throwable ) { //HACK do your error handling here... throwable.printStackTrace(); } } = /************************************************************************= ****************** * Returns a Tests a 'real' data set and usage. * * @throws ChartDataException = *************************************************************************= *****************/ private PieChartDataSet getData(HttpServletRequest req) throws = ChartDataException { =20 String []y =3D req.getParameterValues("y"); // Defines the data double[] data =3D new double[y.length]; =20 for (int i =3D0; i < y.length; i++){ Double d =3D (Double) Double.valueOf(y[i]); data[i] =3D (double) d.doubleValue(); } =20 // Defines the paints Paint[] paints =3D new Paint[data.length]; for (int i =3D 0; i < paints.length; i++){ paints[i] =3D possible_paints[i]; } =20 =20 // Defines labels for each value String[] labels =3D req.getParameterValues("x"); =20 // Defines the title=20 String title =3D ""; title =3D req.getParameter("title"); =20 return new PieChartDataSet(title, data, labels, paints, = this.properties ); } =20 // Defines the possible_paints MAX 9 private Paint[] possible_paints =3D new Paint[]{Color.blue,=20 Color.red,=20 Color.green,=20 Color.yellow,=20 Color.white, Color.gray, Color.orange, Color.pink, Color.blue,=20 Color.red,=20 Color.green,=20 Color.yellow,=20 Color.white, Color.gray, Color.orange, Color.pink, Color.blue}; } im getting the errors: [19/Dec/2003:08:12:18] failure (13591): Internal error: Unexpected = error condition thrown (unknown exception,no description), stack: = java.lang.InternalError: Can't connect to X11 window server using ':0.0' = as the value of the DISPLAY variable.=20 at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)=20 at = sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125) = at java.lang.Class.forName0(Native Method)=20 at java.lang.Class.forName(Class.java:140)=20 at = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironm= ent.java:62)=20 at java.awt.Font.initializeFont(Font.java:303)=20 at java.awt.Font.<init>(Font.java:339)=20 at org.jCharts.properties.util.ChartFont.<clinit>(Unknown Source)=20 at org.jCharts.properties.PieChart2DProperties.<init>(Unknown Source)=20 at PieChart2DServlet.init(PieChart2DServlet.java:30)=20 at javax.servlet.GenericServlet.init(GenericServlet.java:258)=20 at = com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java= :405)=20 at = com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.ja= va:173)=20 at = com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.j= ava:416) [02/Jan/2004:10:31:45] failure (23997): Internal error: Unexpected = error condition thrown (unknown exception,no description), stack: = java.lang.NoClassDefFoundError: sun/io/ByteToCharEUC_KR=20 at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)=20 at = sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.jav= a:736)=20 at = sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.ja= va:587)=20 at = sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:= 49)=20 at = sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209) = at java.security.AccessController.doPrivileged(Native Method)=20 at = sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:2= 03)=20 at = sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironmen= t.java:1029)=20 at = sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironme= nt.java:795)=20 at = sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:= 49)=20 at = sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160) = at java.security.AccessController.doPrivileged(Native Method)=20 at = sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:78) = at = sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:150)=20 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method)=20 at = sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:39)=20 at = sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:27)=20 at java.lang.reflect.Constructor.newInstance(Constructor.java:274)=20 at java.lang.Class.newInstance0(Class.java:306)=20 at java.lang.Class.newInstance(Class.java:259)=20 at = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironm= ent.java:62)=20 at java.awt.Font.initializeFont(Font.java:303)=20 at java.awt.Font.<init>(Font.java:339)=20 at org.jCharts.properties.util.ChartFont.<clinit>(Unknown Source)=20 at org.jCharts.properties.PieChart2DProperties.<init>(Unknown Source)=20 at PieChart2DServlet.init(PieChart2DServlet.java:30)=20 at javax.servlet.GenericServlet.init(GenericServlet.java:258)=20 at = com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java= :405)=20 at = com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.ja= va:173)=20 at = com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.j= ava:416) |
From: Nathaniel G. A. <nat...@ya...> - 2004-01-03 01:12:10
|
Did you take a look at the source for the jsp and Servlet under the demo folder? --- damien guinan <gui...@ho...> wrote: > I am having trouble integrating Struts and Jchart, i placed the > example,"HorizontalBarImageMapServlet" into a the ActionPerform method in a struts action class, > but when i access the jsp that is calling the action it gives an error in the jsp page with the > iterator: Iterator iterator = imageMap.getIterator(); The reason i wanted to use this is because > i wanted to save the image and attributes in the session and read them back out? Also could you > tell me the name of the image that gets saved in the session in this example ? > > If you can get me an example i would really appreciate it :-) __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 |
From: Nathaniel G. A. <nat...@ya...> - 2004-01-03 01:06:05
|
Take a look at this post: http://sourceforge.net/mailarchive/forum.php?thread_id=3630100&forum_id=2571 --- "mr. t" <gui...@ya...> wrote: > I'd like to display a bar chart of a single set of values where each > bar's color is determined by its value. e.g. if a bar's value is > over 3 make it blue, if it's under 2 make it red, green if it's > between 2 and 3. I'm not seeing how that'd be done. Is there a good > way? I suppose I could split the one set into 3, then do a stacked > bar chart where all points in the first set are red and set to 0 > unless it's over 3, and so on for the other two sets. Seems a bit > circuitous. tia. > > ===== > -dKt > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 |
From: damien g. <gui...@ho...> - 2004-01-02 12:12:55
|
I am having trouble integrating Struts and Jchart, i placed the = example,"HorizontalBarImageMapServlet" into a the ActionPerform method = in a struts action class, but when i access the jsp that is calling the = action it gives an error in the jsp page with the iterator: Iterator = iterator =3D imageMap.getIterator(); The reason i wanted to use this is = because i wanted to save the image and attributes in the session and = read them back out? Also could you tell me the name of the image that = gets saved in the session in this example ?=20 If you can get me an example i would really appreciate it :-) |
From: mr. t <gui...@ya...> - 2004-01-01 08:39:51
|
I'd like to display a bar chart of a single set of values where each bar's color is determined by its value. e.g. if a bar's value is over 3 make it blue, if it's under 2 make it red, green if it's between 2 and 3. I'm not seeing how that'd be done. Is there a good way? I suppose I could split the one set into 3, then do a stacked bar chart where all points in the first set are red and set to 0 unless it's over 3, and so on for the other two sets. Seems a bit circuitous. tia. ===== -dKt __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ |
From: Parul G. <par...@st...> - 2003-12-24 05:43:09
|
Hello, I have the same problem. Can't seem to find a way to show Value Labels in Line Charts. If it is possible, please tell how and from which version ? Currently, I am using version 7.0.0 Thanks Parul -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Santhanam Sent: Wednesday, December 24, 2003 9:29 AM To: jch...@li... Subject: [jCharts-users] Line Charts - Value Labels Hi Friends, I am using jCharts-0.7.5.I would like to set value labels in Line Chart.Is is possible ? But in documentation, it is given as "It is now possible to display value labels on your Bar and Clustered Bar charts, but not Stacked Bar Charts.". So can we use value labels only in Bar & Clustered Bar charts. Is there any way to use value labels in Line Charts ? Thanks in Advance Best Regards Santhanam ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Santhanam <v_s...@am...> - 2003-12-24 04:09:24
|
Hi Friends, I am using jCharts-0.7.5.I would like to set value labels in Line Chart.Is is possible ? But in documentation, it is given as "It is now possible to display value labels on your Bar and Clustered Bar charts, but not Stacked Bar Charts.". So can we use value labels only in Bar & Clustered Bar charts. Is there any way to use value labels in Line Charts ? Thanks in Advance Best Regards Santhanam |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-20 15:11:23
|
You can create an Implementation of the PreAxisValueRenderListener to change the Paint implementation used for each bar. For an example see the src for the following implementation: BackgroundRenderer backgroundRenderer = new BackgroundRenderer( new Color( 20, 20, 20, 50 ) ); barChartProperties.addPreRenderEventListener( backgroundRenderer ); --- Ashutosh Satyam <ash...@al...> wrote: > Hi, > I need to paint each of the BARS for the Chart Type 'BAR' using different paints. > The current library supports this type of feature only for 'Clustered Bar' and 'Stacked Bar'. > > Can you give me pointers on what I need to change in the existing code to achieve it. > > Thanks in Advance, > Ashutosh > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Ashutosh S. <ash...@al...> - 2003-12-20 05:21:41
|
Hi, I need to paint each of the BARS for the Chart Type 'BAR' using = different paints. The current library supports this type of feature only for 'Clustered = Bar' and 'Stacked Bar'. Can you give me pointers on what I need to change in the existing code = to achieve it. Thanks in Advance, Ashutosh |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-17 19:42:24
|
so you are looking to plot line and/or points in a 3d space? this is not currently possible. --- "Michael E. Mercer" <mm...@nc...> wrote: > I am writing a small GUI for a friend who wants data to be graphed using > three axises. He has data for the X, Y and Z axis. > > So far the only API I have found that supports this is a commercial > package which is not an option... > > Hope that explains it?.?. > > Later > Michael > > > On Wed, 2003-12-17 at 13:55, Nathaniel G. Auvil wrote: > > The only 3d plot available is the pie chart. What kind of chart are you looking for? > > > > > > > > > > --- "Michael E. Mercer" <mm...@nc...> wrote: > > > Hello, > > > > > > I am in need of an API that supports the XY and Z axis. > > > Does jChart support this or in the future plans? > > > > > > Thanks! > > > Michael > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ > > > jCharts-users mailing list > > > jCh...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > __________________________________ > > Do you Yahoo!? > > New Yahoo! Photos - easier uploading and sharing. > > http://photos.yahoo.com/ > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Michael E. M. <mm...@nc...> - 2003-12-17 19:08:44
|
I am writing a small GUI for a friend who wants data to be graphed using three axises. He has data for the X, Y and Z axis. So far the only API I have found that supports this is a commercial package which is not an option... Hope that explains it?.?. Later Michael On Wed, 2003-12-17 at 13:55, Nathaniel G. Auvil wrote: > The only 3d plot available is the pie chart. What kind of chart are you looking for? > > > > > --- "Michael E. Mercer" <mm...@nc...> wrote: > > Hello, > > > > I am in need of an API that supports the XY and Z axis. > > Does jChart support this or in the future plans? > > > > Thanks! > > Michael > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-17 18:55:33
|
The only 3d plot available is the pie chart. What kind of chart are you looking for? --- "Michael E. Mercer" <mm...@nc...> wrote: > Hello, > > I am in need of an API that supports the XY and Z axis. > Does jChart support this or in the future plans? > > Thanks! > Michael > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Michael E. M. <mm...@nc...> - 2003-12-17 14:50:55
|
Hello, I am in need of an API that supports the XY and Z axis. Does jChart support this or in the future plans? Thanks! Michael |
From: Campano, T. <Tro...@Li...> - 2003-12-17 01:47:53
|
SSB3YXMgd29uZGVyaW5nIHdoZXJlIHRoZSBjbGFzcyB3YXMgdG8gaW1wb3J0Lg0KSSBhbSBub3Qg aW1wb3J0aW5nIGl0Lg0KDQoJLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0gDQoJRnJvbTogamNo YXJ0cy11c2Vycy1hZG1pbkBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQgb24gYmVoYWxmIG9mIENhbXBh bm8sIFRyb3kgDQoJU2VudDogTW9uIDEyLzE1LzIwMDMgMTI6NTYgUE0gDQoJVG86IGpDaGFydHMg LSBVc2VycyANCglDYzogDQoJU3ViamVjdDogW2pDaGFydHMtdXNlcnNdIENoYXJ0U3Ryb2tlIGNh bm5vdCBiZSBmb3VuZA0KCQ0KCQ0KDQoNCglXaGVyZSBpcyB0aGUgQ2hhcnRTdHJva2UgY2xhc3M/ DQoNCglXaGVuZXZlciBJIGNhbGwgaXQgbGlrZSB0aGlzIGl0IGNhbm5vdCBiZSBmb3VuZDoNCg0K CUNoYXJ0U3Ryb2tlIHhBeGlzR3JpZExpbmVzPSBuZXcgQ2hhcnRTdHJva2UoIG5ldyBCYXNpY1N0 cm9rZSggMS4wZiApLCBDb2xvci5yZWQgKTsNCg0KCUlzIGl0IG91dGRhdGVkPyBBbSBJIG5vdCBp bXBvcnRpbmcgaXQ/DQoNCglUaGFuayB5b3UhDQoNCglUcm95IENhbXBhbm8NCgkNCg0KCQ0KDQo= |
From: Campano, T. <Tro...@Li...> - 2003-12-17 01:47:05
|
VGhhdCdzIGl0Li4udGhhbmsgeW91IQ0KDQoJLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0gDQoJ RnJvbTogamNoYXJ0cy11c2Vycy1hZG1pbkBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQgb24gYmVoYWxm IG9mIE5hdGhhbmllbCBHLiBBdXZpbCANCglTZW50OiBNb24gMTIvMTUvMjAwMyA2OjMyIFBNIA0K CVRvOiBqY2hhcnRzLXVzZXJzQGxpc3RzLnNvdXJjZWZvcmdlLm5ldCANCglDYzogDQoJU3ViamVj dDogUmU6IFtqQ2hhcnRzLXVzZXJzXSBIb3Jpem9udGFsIEdyaWQgTGluZXMNCgkNCgkNCg0KCSAg ICAgICAgICAgICAgICBheGlzUHJvcGVydGllcy5nZXRZQXhpc1Byb3BlcnRpZXMoKS5zZXRTaG93 R3JpZExpbmVzKEF4aXNUeXBlUHJvcGVydGllcy5HUklEX0xJTkVTX0FMTCk7DQoJYXhpc1Byb3Bl cnRpZXMuZ2V0WUF4aXNQcm9wZXJ0aWVzKCkuc2V0R3JpZExpbmVDaGFydFN0cm9rZShuZXcgQ2hh cnRTdHJva2UobmV3IEJhc2ljU3Ryb2tlKDEuMGYpLA0KCUNvbG9yLmxpZ2h0R3JheSkpOw0KCQ0K CQ0KCS0tLSAiQ2FtcGFubywgVHJveSIgPFRyb3kuQ2FtcGFub0BMaWJlcnR5TXV0dWFsLmNvbT4g d3JvdGU6DQoJPiBIb3cgY2FuIHlvdSBtYWtlIGhvcml6b250YWwgZHJpZCBsaW5lcyBsaWtlIGlu IHRoaXMgcGljdHVyZT8NCgk+IGh0dHA6Ly9qY2hhcnRzLnNvdXJjZWZvcmdlLm5ldC91c2Vyc0d1 aWRlLzAuNy9pbWFnZXMvbGluZUNoYXJ0cy9iYXNpY0NoYQ0KCT4gcnQucG5nDQoJPg0KCT4gSSBm b3VuZCBob3cgdG8gbWFrZSB0aGUgdmVydGljYWwgb25lcyBpbiB0aGUgbWFudWFsLCBidXQgbm8g bHVjayB3aXRoDQoJPiB0aGUgaG9yaXpvbnRhbCBvbmVzLg0KCT4NCgk+IFRoYW5rIHlvdSENCgk+ DQoJPiB+IFRyb3kgQ2FtcGFubyB+DQoJPg0KCT4NCgk+IFRyb3kgQ2FtcGFubw0KCT4NCgk+DQoJ Pg0KCQ0KCQ0KCV9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCglEbyB5b3UgWWFo b28hPw0KCU5ldyBZYWhvbyEgUGhvdG9zIC0gZWFzaWVyIHVwbG9hZGluZyBhbmQgc2hhcmluZy4N CglodHRwOi8vcGhvdG9zLnlhaG9vLmNvbS8NCgkNCgkNCgktLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoJVGhpcyBTRi5uZXQgZW1haWwgaXMg c3BvbnNvcmVkIGJ5OiBJQk0gTGludXggVHV0b3JpYWxzLg0KCUJlY29tZSBhbiBleHBlcnQgaW4g TElOVVggb3IganVzdCBzaGFycGVuIHlvdXIgc2tpbGxzLiAgU2lnbiB1cCBmb3IgSUJNJ3MNCglG cmVlIExpbnV4IFR1dG9yaWFscy4gIExlYXJuIGV2ZXJ5dGhpbmcgZnJvbSB0aGUgYmFzaCBzaGVs bCB0byBzeXMgYWRtaW4uDQoJQ2xpY2sgbm93ISBodHRwOi8vYWRzLm9zZG4uY29tLz9hZF9pZD0x Mjc4JmFsbG9jX2lkPTMzNzEmb3A9Y2xpY2sNCglfX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fXw0KCWpDaGFydHMtdXNlcnMgbWFpbGluZyBsaXN0DQoJakNoYXJ0 cy11c2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCglodHRwczovL2xpc3RzLnNvdXJjZWZvcmdl Lm5ldC9saXN0cy9saXN0aW5mby9qY2hhcnRzLXVzZXJzDQoJDQoNCg== |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-15 23:33:00
|
axisProperties.getYAxisProperties().setShowGridLines(AxisTypeProperties.GRID_LINES_ALL); axisProperties.getYAxisProperties().setGridLineChartStroke(new ChartStroke(new BasicStroke(1.0f), Color.lightGray)); --- "Campano, Troy" <Tro...@Li...> wrote: > How can you make horizontal drid lines like in this picture? > http://jcharts.sourceforge.net/usersGuide/0.7/images/lineCharts/basicCha > rt.png > > I found how to make the vertical ones in the manual, but no luck with > the horizontal ones. > > Thank you! > > ~ Troy Campano ~ > > > Troy Campano > > > __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-15 19:14:10
|
I can't tell if you are not importing it as I do not have your source. Do you have an import statement for it? --- "Campano, Troy" <Tro...@Li...> wrote: > > Where is the ChartStroke class? > > Whenever I call it like this it cannot be found: > > ChartStroke xAxisGridLines= new ChartStroke( new BasicStroke( 1.0f ), > Color.red ); > > Is it outdated? Am I not importing it? > > Thank you! > > Troy Campano > > > __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Campano, T. <Tro...@Li...> - 2003-12-15 18:18:20
|
How can you make horizontal drid lines like in this picture? http://jcharts.sourceforge.net/usersGuide/0.7/images/lineCharts/basicCha rt.png I found how to make the vertical ones in the manual, but no luck with the horizontal ones. Thank you! ~ Troy Campano ~ Troy Campano |
From: Campano, T. <Tro...@Li...> - 2003-12-15 17:58:27
|
For some reason I need to reboot my servlet container (tomcat) when I make this change but I don't need to reboot for all changes. This is working for me now. Thank you for all your help! Troy Campano -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Campano, Troy Sent: Thursday, December 11, 2003 3:55 PM To: Nathaniel G. Auvil Cc: jCharts - Users Subject: [jCharts-users] RE: FW: Problem generating Bar Charts from Database I was able to find out my problem, however this is my new problem. My Y-Axis is incrementing by 100. My highest data element only goes to 24. So I tried: try { dataAxisProperties.setUserDefinedScale( 0, 50 ); } catch( PropertyException propertyException ) { propertyException.printStackTrace(); } But It still goes 0, 100, 200, 300, 400. When I remove the code, it still does the same thing. Any Ideas? Thank you, once again. Troy Campano -----Original Message----- From: Nathaniel G. Auvil [mailto:nat...@ya...]=20 Sent: Thursday, December 11, 2003 3:31 PM To: Campano, Troy Cc: jCharts - Users Subject: Re: FW: Problem generating Bar Charts from Database I don't think your code is correct. Are you sure you want 'amount_of_rows' for each dimension of the data array? --- "Campano, Troy" <Tro...@Li...> wrote: > Is this the correct mailing list? >=20 > When I send to it I never get an email from the list? >=20 > =20 >=20 > Thank you! >=20 > =20 >=20 > Troy Campano=20 > =20 > =20 >=20 > -----Original Message----- > From: Campano, Troy=20 > Sent: Thursday, December 11, 2003 2:46 PM > To: 'jch...@li...' > Subject: Problem generating Bar Charts from Database >=20 > =20 >=20 > Hello,=20 >=20 > I'm trying to generate a bar graph from a database. >=20 > I define my labels and data like this: >=20 > =20 >=20 > String[] xAxisLabels =3D new String[amount_of_rows]; >=20 > double[][] data =3D new > double[amount_of_rows][amount_of_rows]; >=20 > =20 >=20 > =20 >=20 > ...and I scroll through my JDBC ResultSet like this: >=20 > =20 >=20 > xAxisLabels[i] =3D > rs.getString("engine_vrsn_nme").toLowerCase(); >=20 > data[i][i] =3D > rs.getDouble("version_count"); >=20 > =20 >=20 > =20 >=20 > ...but I get this error: >=20 > org.jCharts.chartData.ChartDataException: There is not an one to one > mapping of 'legend labels' to 'data sets'. >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 > Any ideas? >=20 > =20 >=20 > Thank you! >=20 > =20 >=20 > Troy Campano >=20 > =20 >=20 > =20 >=20 >=20 __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Campano, T. <Tro...@Li...> - 2003-12-15 17:58:19
|
Where is the ChartStroke class? Whenever I call it like this it cannot be found: ChartStroke xAxisGridLines=3D new ChartStroke( new BasicStroke( 1.0f ), Color.red ); Is it outdated? Am I not importing it? Thank you! Troy Campano |
From: Ducret, G. (MSCI) <Gil...@ms...> - 2003-12-12 13:27:32
|
Are you sure the size of the legend labels array is amount_of_rows -----Original Message----- From: Campano, Troy [mailto:Tro...@Li...]=20 Sent: Thursday, December 11, 2003 8:46 PM To: jch...@li... Subject: [jCharts-users] Problem generating Bar Charts from Database =09 =09 Hello,=20 I'm trying to generate a bar graph from a database. I define my labels and data like this: =20 String[] xAxisLabels =3D new String[amount_of_rows]; double[][] data =3D new double[amount_of_rows][amount_of_rows]; =20 =20 ...and I scroll through my JDBC ResultSet like this: =20 xAxisLabels[i] =3D rs.getString("engine_vrsn_nme").toLowerCase(); data[i][i] =3D rs.getDouble("version_count"); =20 =20 ...but I get this error: org.jCharts.chartData.ChartDataException: There is not an one to one mapping of 'legend labels' to 'data sets'. =20 =20 =20 =20 =20 Any ideas? =20 Thank you! =20 Troy Campano=20 -------------------------------------------------------- =20 NOTICE: If received in error, please destroy and notify sender. Sender = does not waive confidentiality or privilege, and use is prohibited.=20 =20 |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-12 13:13:14
|
You have to do it manually. --- Ashutosh Satyam <ash...@al...> wrote: > How can we control the size of different SHAPES (circle, diamond, square, triangle) provided as > fields in PointChartProperties? > Any pointer on this will be highly appreciated. > > Regards, > Ashutosh > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Ashutosh S. <ash...@al...> - 2003-12-12 12:13:52
|
How can we control the size of different SHAPES (circle, diamond, = square, triangle) provided as fields in PointChartProperties?=20 Any pointer on this will be highly appreciated. Regards, Ashutosh |