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: Nathaniel G. A. <nat...@ya...> - 2003-02-05 13:16:31
|
not right now. This functionality will be in the 0.7 release, but it is not fully implemented just yet. A guy donated code to do this, which i attached. You should be able to lay this over the 0.6 source and have it work. Do you think i should post this on the website, under a user submission section? --- Mihael Knezevic <m.k...@po...> wrote: > hi, > > i'm new to this list and don't know if this has been discussed before. > > is it possible to place the value of each bar on top of it? > > thanx in advance. > > mk > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Mihael K. <m.k...@po...> - 2003-02-05 08:11:29
|
hi, i'm new to this list and don't know if this has been discussed before. is it possible to place the value of each bar on top of it? thanx in advance. mk |
From: Nathaniel G. A. <nat...@ya...> - 2003-01-14 04:07:01
|
do you get that repeatedly? I can't say i have ever seen anything like that before. --- Srini <sr...@le...> wrote: > I suddenly got this error from working servlet > > Root Error-1: Class org/jCharts/imageMap/ImageMapArea violates loader > constraints > java.lang.LinkageError: Class org/jCharts/imageMap/ImageMapArea violates > loader constraints at org.jCharts.axisChart.ClusteredBarChart.render(Unknown > Source) at org.jCharts.axisChart.AxisChart.renderChart(Unknown Source) at > org.jCharts.Chart.render(Unknown Source) at > org.jCharts.Chart.renderWithImageMap(Unknown Source) at chartj.doGet(Unknown > Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:534) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at > com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager > .java:575) at > com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl > eServlet.java:149) at > > > Could you help me where exatly I should start looking to fix the pronlem. > The servlet was working a minute ago and in the next refresh I got this > error. > > > > ----- Original Message ----- > From: "Nathaniel G. Auvil" <nat...@ya...> > To: "Lexington Mews" <sr...@le...> > Cc: "jCharts - Users" <jch...@li...> > Sent: Tuesday, December 17, 2002 3:29 PM > Subject: Re: Partial list of code for imagemap > > > > > > when you use the HttpSession, the server keeps track of you via a cookie > on your browser. If you > > do not have cookies enabled the HttpSession will not work correctly. Do > you see calls coming in > > to your Servlet that encodes the chart object? > > > > > > > > > > --- Lexington Mews <sr...@le...> wrote: > > > I do not get exception. I have the imagemap working on the white screen. > > > Only the chart does not showup. As I move the mouse, I could see the > chart > > > value using imagemap. But there is only blank chart. What is the impact > of > > > cookies? > > > > > > > > > ----- Original Message ----- > > > From: "Nathaniel G. Auvil" <nat...@ya...> > > > To: "Srini" <sr...@le...> > > > Cc: "jCharts - Users" <jch...@li...> > > > Sent: Tuesday, December 17, 2002 3:17 PM > > > Subject: Re: Partial list of code for imagemap > > > > > > > > > > > > > > i am not sure. Are you getting an Exception? > > > > > > > > do you have cookies enabled on the browser, as you are using the > > > HttpSession. > > > > > > > > > > > > > > > > --- Srini <sr...@le...> wrote: > > > > > Now I use the solution with session variable. Still some browser do > not > > > > > bring the jpeg files. That was my question. > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Nathaniel G. Auvil" <nat...@ya...> > > > > > To: "Srini" <sr...@le...> > > > > > Cc: "jCharts - Users" <jch...@li...> > > > > > Sent: Tuesday, December 17, 2002 11:13 AM > > > > > Subject: Re: Partial list of code for imagemap > > > > > > > > > > > > > > > > > > > > > > sounds like you are not using different keys in the httpsession. > If > > > you > > > > > are putting two Chart > > > > > > instances into the HttpSession you need to store them under > different > > > keys > > > > > and to get them using > > > > > > those different keys. > > > > > > > > > > > > I have no idea why you other approach does not work, but it does > not > > > sound > > > > > like you need to write > > > > > > to a file, as it is a huge performance liability. > > > > > > > > > > > > > > > > > > > > > > > > --- Srini <sr...@le...> wrote: > > > > > > > I have both the codes working. Keeping the chart in session > variable > > > > > shows > > > > > > > the same chart with in different frames even though each frame > has > > > to > > > > > show > > > > > > > different chart. Hence I went for the second solution. In both > the > > > > > cases > > > > > > > some browser do not bring the jpeg files. That was my question. > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Nathaniel G. Auvil" <nat...@ya...> > > > > > > > To: "Srini" <sr...@le...> > > > > > > > Cc: "jCharts - Users" <jch...@li...> > > > > > > > Sent: Tuesday, December 17, 2002 10:13 AM > > > > > > > Subject: Re: Partial list of code for imagemap > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > why would you write the image to a file? Alls you have to do > is > > > place > > > > > the > > > > > > > chart into the > > > > > > > > HttpSession as in the example. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- Srini <sr...@le...> wrote: > > > > > > > > > Needs some help > > > > > > > > > > > > > > > > > > I modified to ChartServlet to render an already saved file > from > > > the > > > > > > > previos > > > > > > > > > call. After rendering the chart I delete the file. Session > > > object is > > > > > > > used to > > > > > > > > > to create unique file name. This works fine consistently. > > > > > > > > > > > > > > > > > > For some browsers, I get the Imagemap html. jpeg file does > not > > > > > showup. > > > > > > > > > My laptop windows 2000 works fine consistently. My desktop > > > windows > > > > > xp > > > > > > > does > > > > > > > > > not show jpeg. Where do I start debugging? > > > > > > > > > > > > > > > > > > Any help is appreciated > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ===== > > > > > > > > An easy read on your Digital Rights Disappearing > > > > > > > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > > > > > Broadcast Protection Discussion Group > [http://bpdg.blogs.eff.org/] > > > > > > > > Senator Hollings receives a pathetically piffling $278,534 to > his > > > > > coffers > > > > > > > from the TV, movies and music businesses > > > > > > > [http://www.theinquirer.net/?article=4689] > > > > > > > > > > > > > > > > __________________________________________________ > > > > > > > > Do you Yahoo!? > > > > > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > > > > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ===== > > > > > > An easy read on your Digital Rights Disappearing > > > > > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > > > > > Senator Hollings receives a pathetically piffling $278,534 to his > > > coffers > > > > > from the TV, movies and music businesses > > > > > [http://www.theinquirer.net/?article=4689] > > > > > > > > > > > > __________________________________________________ > > > > > > Do you Yahoo!? > > > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > ===== > > > > An easy read on your Digital Rights Disappearing > > > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > > > Senator Hollings receives a pathetically piffling $278,534 to his > coffers > > > from the TV, movies and music businesses > > > [http://www.theinquirer.net/?article=4689] > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > ===== > > An easy read on your Digital Rights Disappearing > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > Senator Hollings receives a pathetically piffling $278,534 to his coffers > from the TV, movies and music businesses > [http://www.theinquirer.net/?article=4689] > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-27 14:04:56
|
This functionality will be available in the next release which is still a few weeks off. --- Eduardo Cauduro <eca...@ka...> wrote: > hi Nathaniel, > > Im a brazilian Webdeveloper and I use jchart library to develop a web project. I have a question > about your product, I search on javadocs and dont find how can I draw the values of the graphics > points inside the graphic? > > > Thanks, > > > > ) > (( Eduardo Cauduro > |'''''|-. Kaizen Tecnologia Ltda > |__|-' Tel/Fax: (0xx19) 3834-1255 > JAVA eca...@ka... > TEAM "AnyOne, AnyTime, AnyWhere > on AnyThing" ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-17 20:29:16
|
when you use the HttpSession, the server keeps track of you via a cookie on your browser. If you do not have cookies enabled the HttpSession will not work correctly. Do you see calls coming in to your Servlet that encodes the chart object? --- Lexington Mews <sr...@le...> wrote: > I do not get exception. I have the imagemap working on the white screen. > Only the chart does not showup. As I move the mouse, I could see the chart > value using imagemap. But there is only blank chart. What is the impact of > cookies? > > > ----- Original Message ----- > From: "Nathaniel G. Auvil" <nat...@ya...> > To: "Srini" <sr...@le...> > Cc: "jCharts - Users" <jch...@li...> > Sent: Tuesday, December 17, 2002 3:17 PM > Subject: Re: Partial list of code for imagemap > > > > > > i am not sure. Are you getting an Exception? > > > > do you have cookies enabled on the browser, as you are using the > HttpSession. > > > > > > > > --- Srini <sr...@le...> wrote: > > > Now I use the solution with session variable. Still some browser do not > > > bring the jpeg files. That was my question. > > > > > > > > > ----- Original Message ----- > > > From: "Nathaniel G. Auvil" <nat...@ya...> > > > To: "Srini" <sr...@le...> > > > Cc: "jCharts - Users" <jch...@li...> > > > Sent: Tuesday, December 17, 2002 11:13 AM > > > Subject: Re: Partial list of code for imagemap > > > > > > > > > > > > > > sounds like you are not using different keys in the httpsession. If > you > > > are putting two Chart > > > > instances into the HttpSession you need to store them under different > keys > > > and to get them using > > > > those different keys. > > > > > > > > I have no idea why you other approach does not work, but it does not > sound > > > like you need to write > > > > to a file, as it is a huge performance liability. > > > > > > > > > > > > > > > > --- Srini <sr...@le...> wrote: > > > > > I have both the codes working. Keeping the chart in session variable > > > shows > > > > > the same chart with in different frames even though each frame has > to > > > show > > > > > different chart. Hence I went for the second solution. In both the > > > cases > > > > > some browser do not bring the jpeg files. That was my question. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Nathaniel G. Auvil" <nat...@ya...> > > > > > To: "Srini" <sr...@le...> > > > > > Cc: "jCharts - Users" <jch...@li...> > > > > > Sent: Tuesday, December 17, 2002 10:13 AM > > > > > Subject: Re: Partial list of code for imagemap > > > > > > > > > > > > > > > > > > > > > > why would you write the image to a file? Alls you have to do is > place > > > the > > > > > chart into the > > > > > > HttpSession as in the example. > > > > > > > > > > > > > > > > > > > > > > > > --- Srini <sr...@le...> wrote: > > > > > > > Needs some help > > > > > > > > > > > > > > I modified to ChartServlet to render an already saved file from > the > > > > > previos > > > > > > > call. After rendering the chart I delete the file. Session > object is > > > > > used to > > > > > > > to create unique file name. This works fine consistently. > > > > > > > > > > > > > > For some browsers, I get the Imagemap html. jpeg file does not > > > showup. > > > > > > > My laptop windows 2000 works fine consistently. My desktop > windows > > > xp > > > > > does > > > > > > > not show jpeg. Where do I start debugging? > > > > > > > > > > > > > > Any help is appreciated > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > > ===== > > > > > > An easy read on your Digital Rights Disappearing > > > > > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > > > > > Senator Hollings receives a pathetically piffling $278,534 to his > > > coffers > > > > > from the TV, movies and music businesses > > > > > [http://www.theinquirer.net/?article=4689] > > > > > > > > > > > > __________________________________________________ > > > > > > Do you Yahoo!? > > > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > ===== > > > > An easy read on your Digital Rights Disappearing > > > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > > > Senator Hollings receives a pathetically piffling $278,534 to his > coffers > > > from the TV, movies and music businesses > > > [http://www.theinquirer.net/?article=4689] > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > ===== > > An easy read on your Digital Rights Disappearing > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > Senator Hollings receives a pathetically piffling $278,534 to his coffers > from the TV, movies and music businesses > [http://www.theinquirer.net/?article=4689] > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-17 20:17:36
|
i am not sure. Are you getting an Exception? do you have cookies enabled on the browser, as you are using the HttpSession. --- Srini <sr...@le...> wrote: > Now I use the solution with session variable. Still some browser do not > bring the jpeg files. That was my question. > > > ----- Original Message ----- > From: "Nathaniel G. Auvil" <nat...@ya...> > To: "Srini" <sr...@le...> > Cc: "jCharts - Users" <jch...@li...> > Sent: Tuesday, December 17, 2002 11:13 AM > Subject: Re: Partial list of code for imagemap > > > > > > sounds like you are not using different keys in the httpsession. If you > are putting two Chart > > instances into the HttpSession you need to store them under different keys > and to get them using > > those different keys. > > > > I have no idea why you other approach does not work, but it does not sound > like you need to write > > to a file, as it is a huge performance liability. > > > > > > > > --- Srini <sr...@le...> wrote: > > > I have both the codes working. Keeping the chart in session variable > shows > > > the same chart with in different frames even though each frame has to > show > > > different chart. Hence I went for the second solution. In both the > cases > > > some browser do not bring the jpeg files. That was my question. > > > > > > ----- Original Message ----- > > > From: "Nathaniel G. Auvil" <nat...@ya...> > > > To: "Srini" <sr...@le...> > > > Cc: "jCharts - Users" <jch...@li...> > > > Sent: Tuesday, December 17, 2002 10:13 AM > > > Subject: Re: Partial list of code for imagemap > > > > > > > > > > > > > > why would you write the image to a file? Alls you have to do is place > the > > > chart into the > > > > HttpSession as in the example. > > > > > > > > > > > > > > > > --- Srini <sr...@le...> wrote: > > > > > Needs some help > > > > > > > > > > I modified to ChartServlet to render an already saved file from the > > > previos > > > > > call. After rendering the chart I delete the file. Session object is > > > used to > > > > > to create unique file name. This works fine consistently. > > > > > > > > > > For some browsers, I get the Imagemap html. jpeg file does not > showup. > > > > > My laptop windows 2000 works fine consistently. My desktop windows > xp > > > does > > > > > not show jpeg. Where do I start debugging? > > > > > > > > > > Any help is appreciated > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > ===== > > > > An easy read on your Digital Rights Disappearing > > > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > > > Senator Hollings receives a pathetically piffling $278,534 to his > coffers > > > from the TV, movies and music businesses > > > [http://www.theinquirer.net/?article=4689] > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > ===== > > An easy read on your Digital Rights Disappearing > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > Senator Hollings receives a pathetically piffling $278,534 to his coffers > from the TV, movies and music businesses > [http://www.theinquirer.net/?article=4689] > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-17 16:13:51
|
sounds like you are not using different keys in the httpsession. If you are putting two Chart instances into the HttpSession you need to store them under different keys and to get them using those different keys. I have no idea why you other approach does not work, but it does not sound like you need to write to a file, as it is a huge performance liability. --- Srini <sr...@le...> wrote: > I have both the codes working. Keeping the chart in session variable shows > the same chart with in different frames even though each frame has to show > different chart. Hence I went for the second solution. In both the cases > some browser do not bring the jpeg files. That was my question. > > ----- Original Message ----- > From: "Nathaniel G. Auvil" <nat...@ya...> > To: "Srini" <sr...@le...> > Cc: "jCharts - Users" <jch...@li...> > Sent: Tuesday, December 17, 2002 10:13 AM > Subject: Re: Partial list of code for imagemap > > > > > > why would you write the image to a file? Alls you have to do is place the > chart into the > > HttpSession as in the example. > > > > > > > > --- Srini <sr...@le...> wrote: > > > Needs some help > > > > > > I modified to ChartServlet to render an already saved file from the > previos > > > call. After rendering the chart I delete the file. Session object is > used to > > > to create unique file name. This works fine consistently. > > > > > > For some browsers, I get the Imagemap html. jpeg file does not showup. > > > My laptop windows 2000 works fine consistently. My desktop windows xp > does > > > not show jpeg. Where do I start debugging? > > > > > > Any help is appreciated > > > > > > Thanks > > > > > > > > > ===== > > An easy read on your Digital Rights Disappearing > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] > > Senator Hollings receives a pathetically piffling $278,534 to his coffers > from the TV, movies and music businesses > [http://www.theinquirer.net/?article=4689] > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-17 15:13:33
|
why would you write the image to a file? Alls you have to do is place the chart into the HttpSession as in the example. --- Srini <sr...@le...> wrote: > Needs some help > > I modified to ChartServlet to render an already saved file from the previos > call. After rendering the chart I delete the file. Session object is used to > to create unique file name. This works fine consistently. > > For some browsers, I get the Imagemap html. jpeg file does not showup. > My laptop windows 2000 works fine consistently. My desktop windows xp does > not show jpeg. Where do I start debugging? > > Any help is appreciated > > Thanks > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-10 01:55:03
|
this is a design bug with the encoders that was just caught recently. The problem is the encode method is overloaded so the compiler does a type check on each signature to find the correct method to invoke. So there is a dependency on the HttpServletResponse Object. This should only be a compile time dependency and not a runntime dependency. This has been fixed in the 0.7 release by changing the name of the encode method which takes the HttpServletResponse Object. You could alter the source of the JPEGEncoder13 and comment out that method or change its name as a short term fix. I guess i could create a patch for this one thing if you really need it. Sorry for the inconvenience. ---nathaniel --- Aaron Jensen <aa...@vi...> wrote: > This line of code: > > JPEGEncoder.encode( axisChart, 1.0f, new > FileOutputStream("/Users/atjensen/Desktop/charg.jpg") ); > > is actually trying to call: > > JPEGEncoder.encode( org.jCharts.axisChart.AxisChart, float, > javax.servlet.http.HttpServletResponse httpServletResponse ); > > > When I compile I get the following error: > > vpStats/charts/Last30Days.java:42: cannot access > javax.servlet.http.HttpServletResponse > file javax/servlet/http/HttpServletResponse.class not found > JPEGEncoder.encode( axisChart, 1.0f, new > FileOutputStream("/Users/atjensen/Desktop/charg.jpg") ); > ^ > > Huh? I'm not trying to use the HttpServletResponse method, but the > OutputStream method. > > If you need my code, or more information, feel free to ask. > > <:> Aaron > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] Broadcast Protection Discussion Group [http://bpdg.blogs.eff.org/] Senator Hollings receives a pathetically piffling $278,534 to his coffers from the TV, movies and music businesses [http://www.theinquirer.net/?article=4689] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-04 01:47:05
|
--- "Nathaniel G. Auvil" <nat...@ya...> wrote: > Date: Tue, 3 Dec 2002 17:46:20 -0800 (PST) > From: "Nathaniel G. Auvil" <nat...@ya...> > Subject: Re: Regarding jCharts Samples > To: Ravi <rvb...@re...> > > > do you set the mime type for the return image? If you enocde using the method which takes a > HttpServletResponse it does this automatically. > > Have you tried mozilla or another browser? Just curious if you saw the same behavior. > > Could you just make you Servlet mapping: "ChartServlet.jpg" in your web.xml file? > > > > > --- Ravi <rvb...@re...> wrote: > > Hello Nathaniel, > > > > Thankyou for your support with my previous queries regarding > > jCharts. > > > > I ve a minor query about printing the charts from a jsp page, i ve > > modified the sample provided, the code snippet is as follows: > > > > ....... > > <tr> > > <td bgcolor="Silver"><img border="0" src="../ChartServlet" > > useMap="#chartMap"></td> > > > > </tr> > > ....... > > > > on the jsp page with chart loaded and displayed, i ve a print > > button which uses javascript to call browser's print function > > (ctrl-P internet explorer), in the print i get everything other > > than the chart image, the html code snippet renederd to the > > browser is as : > > ... > > <tr> > > <td colspan="5" align="center"><img border="0" > > src="../ChartServlet" useMap="#chartMap"></td> > > </tr> > > ... > > > > now if you see the src property of img shows no extension to the > > image file. > > > > > > for testing purpose, i [Saved As] the rendered jsp to html on my > > local disk, there was jpg extension given to image name showed > > below: > > > > .... > > > > <tr> > > <td colspan="5" align="center"><img border="0" > > src="../ChartServlet.jpg" useMap="#chartMap"></td> > > </tr> > > > > ... > > > > I printed this, the chart is also printed. > > > > But the application, i m using jCharts, has an online printing > > functionality where no chart image is printed. > > > > I would be thankful, if you can help me out with this problem as > > the development using jCharts is over. > > > > > > Note: there is no problem with charts being displayed on the > > screen. > > > > > > Reply Awaited. > > > > Regards, > > > > Ravi Bhatia. > > Team Lead, CIPL > > > > > > > > ############# > > > > On Wed, 13 Nov 2002 Nathaniel G. Auvil wrote : > > > > > >I am not sure what you are asking. > > > > > >The ChartServlet used in the demo code was just for that demo > > >code and not intended to be part of > > >the core jcharts API. You certainly can copy it from the demo > > >and modify it to do whatever you > > >need. > > > > > >Each chart on a page needs a separate request to the Server. so > > >you would need two or more <img> > > >tags. > > > > > >Yes, the encode(...) methods return void. Would you prefer them > > >to return something? > > > > > > > > > > > > > > >--- Ravi <rvb...@re...> wrote: > > > > Hello Nathaniel, > > > > > > > > Thank you for the guidance. I ve a query about chart servlet, > > >i > > > > used the servlet for viewing more than 1 graph on one page > > >with > > > > different data inputs and different types of graphs > > >(charts). > > > > Secondly, the encoder/encoder13 class returns nothing > > >(void), > > > > could you pls. clear my doubt about the encoding technique you > > >ve > > > > used. I m stuck at this point for using jChart for more than > > >1 > > > > graph on jsp page and about the encoding technique. > > > > > > > > Reply awaited. > > > > > > > > Regards, > > > > Ravi. > > > > > > > > > > > > On Fri, 01 Nov 2002 Nathaniel G. Auvil wrote : > > > > > > > > > >hi ravi. > > > > > > > > > >all the user guide charts use randomly generated data for > > >the > > > > >plots. If you download the user > > > > >guide, it includes all the source used to generate the > > >charts. > > > > > > > > > > > > > > >here is the code it used to generate a LineChart: > > > > > > > > > > > > > > > > > > >/******************************************************************************************/ > > > > > private void basicChart() throws ChartDataException > > > > > { > > > > > String[] xAxisLabels= { "1998", "1999", "2000", "2001", > > > > >"2002", "2003", "2004" }; > > > > > String xAxisTitle= "Years"; > > > > > String yAxisTitle= "Problems"; > > > > > String title= "Micro$oft at Work"; > > > > > DataSeries dataSeries = new DataSeries( xAxisLabels, > > > > >xAxisTitle, yAxisTitle, title ); > > > > > > > > > > > > > > > double[][] data= TestDataGenerator.getRandomNumbers( 1, 7, > > >0, > > > > >6000 ); > > > > > String[] legendLabels= { "Bugs" }; > > > > > Paint[] paints= TestDataGenerator.getRandomPaints( 1 ); > > > > > > > > > > Stroke[] strokes= { > > >LineChartProperties.DEFAULT_LINE_STROKE > > > > >}; > > > > > Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE }; > > > > > LineChartProperties lineChartProperties= new > > > > >LineChartProperties( strokes, shapes ); > > > > > > > > > > AxisChartDataSet axisChartDataSet= new AxisChartDataSet( > > >data, > > > > >legendLabels, paints, > > > > >ChartType.LINE, lineChartProperties ); > > > > > > > > > > dataSeries.addIAxisChartDataSet( axisChartDataSet ); > > > > > > > > > > ChartProperties chartProperties= new ChartProperties(); > > > > > AxisProperties axisProperties= new AxisProperties(); > > > > > LegendProperties legendProperties= new > > >LegendProperties(); > > > > > > > > > > AxisChart axisChart= new AxisChart( dataSeries, > > > > >chartProperties, axisProperties, > > > > >legendProperties, AxisCharts.width, AxisCharts.height ); > > > > > > > > > > super.exportImage( axisChart, "basicChart" ); > > > > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--- "Ravi Bhatia." <rvb...@re...> wrote: > > > > > > Hello, > > > > > > > > > > > > This is in reference to Jchart Examples mentioned in > > >your > > > > > > site. The snippet provided for Linechart is not > > >generating > > > > >the > > > > > > corresponding chart when we executed in JSP page. Would > > > > > > you pls help us in this regard. We would be grateful if > > >you > > > > > > could send us some code-snippets which will fetch the > > >data > > > > > > from outside entity dynamically and plot the graph > > > > > > accordingly. > > > > > > > > > > > > thanking you. > > > > > > awaiting your reply. > > > > > > > > > > > > Ravi Bhatia. > > > > > > Technical Team Lead. > > > > > > CIPL, Mumbai. > > > > > > > > > > > > > > >===== > > > > >An easy read on your Digital Rights Disappearing > > > > > > > >[http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > > > > > > >__________________________________________________ > > > > >Do you Yahoo!? > > > > >HotJobs - Search new jobs daily now > > > > >http://hotjobs.yahoo.com/ > > > > > > > > > > > > Whistler. > > > > > > > > >===== > > >An easy read on your Digital Rights Disappearing > > >[http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > > > >__________________________________________________ > > >Do you Yahoo!? > > >U2 on LAUNCH - Exclusive greatest hits videos > > >http://launch.yahoo.com/u2 > > > > > > > > Whistler. > > > ===== > An easy read on your Digital Rights Disappearing > [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-03 01:42:12
|
yeah, i just took a look at your code. I don't see why this would not work for you. --- Srini <sr...@le...> wrote: > Did u see the example for imagemap I put it in the forum? I appended the > example twice. Could u remove one instance please? > > Srini > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-02 13:52:39
|
oh. that is a bug in the documentation. I will add a task to fix that. good find! --- Srini <sr...@le...> wrote: > Following code is found above the chart: This code indicates only one legend > label. > > String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", > "2004" }; > String xAxisTitle= "Years"; > String yAxisTitle= "Problems"; > String title= "Micro$oft at Work"; > DataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle, > title ); > > double[][] data= { .... }; > String[] legendLabels= { "Bugs" }; > Paint[] paints= ...; > > ClusteredBarChartProperties clusteredBarChartProperties= new > ClusteredBarChartProperties(); > AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, > paints, ChartType.BAR_CLUSTERED, clusteredBarChartProperties ); > > dataSeries.addIAxisChartDataSet( axisChartDataSet ); > > ChartProperties chartProperties= new ChartProperties(); > AxisProperties axisProperties= new AxisProperties(); > LegendProperties legendProperties= new LegendProperties(); > > AxisChart axisChart= new AxisChart( dataSeries, chartProperties, > axisProperties, legendProperties, 500, 300 ); > > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-12-02 13:28:04
|
Which image? If i click the Clustered bar chart section i see three things in the legend. I see the following colors: aqua, olive, and peach. --- Srini <sr...@le...> wrote: > In your online guide: > > For clustered bar, you have given only one legend in the example, there are > three legends showup in the chart. > > Srini > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 19:05:09
|
oh-yeah. That is forwarding from the Servlet to the jsp so i can pass the ImageMap through the HttpServletRequest versus HttpSession. --- Srini <sr...@le...> wrote: > yes. I copied and pasted from ImageMapServlet.java. Let me try with your > examples and let you know how it goes... > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 18:15:56
|
that statement will forward the request and reponse from a Servlet to another resource such as another Servlet or JSP. is that in the jcharts code? --- Srini <sr...@le...> wrote: > Thanks a lot for your response > > What does this code do? Do we need this hardcoded statement? > > this.getServletContext().getRequestDispatcher( > "/imageMapChart.jsp" ).forward( httpServletRequest, httpServletResponse ); > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 17:41:23
|
did you look at the users guide? There is a whole section on how to create an image map for your charts. the demo uses three two Servlets and a jsp. One servlet creates the chart and calls the methods to encode for an image map. This stores the chart in the HttpSession so a generic Chart Servlet can later pull it out of the session and stream it back as a png. All chart types extend the Chart Object which is what the encode methods require so a single servlet can encode any chart type. the response from the first servlet sends the image map data back in the HttpServletRequest to the jsp. The jsp has an <img> element which calls the chart servlet to get the image from the session and stream it back. --- Srini <sr...@le...> wrote: > Assuming I have a servlet which creates a jpg file, How may servlets and jsp > file I have to write to make it work with imagemap. > > What are the functions of those servlets and jsp? > What modifications I have to make my servlet? > > Thanks in advance > > Since I am not able to figure about these things from your demo programs, I > am sending this email > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 13:46:07
|
if you are doing your reports in html i see no reason why you cant use two requests to the server; there is no way to return an image and text in the same request; even in your approach, there is a request to the servlet to generate stuff, then a request to get the image. You dont have to loop the image map coordinates in a jsp, you could do that in a servlet. Also, why not embed the chart code in your report page? even if you want to include a jsp which contains the chart and image-mep, you should be able to use the same jsp to create all your charts just like i did in that demo code. You could use the HttpSession to map the imagemap name to the imagemap --- Srini <sr...@le...> wrote: > Hello!! > > I did not really understand the overall organization of the code in your > clientside view demo. Hence I thought I can put all the code in one single > servlet. If you have any suggestion to put all the code in one servlet, I > appreciate. Is there anything like dump the chart first using content-type > text/jpg and then the imagemap. (How do associate usemap to the chart dumped > and so on.) Whatever the code I have is only a test code not to be used in > production. My application will be creating reports from DB2 and send the > same sql to chart servlet to create a chart. This has to be dynamic. Hence I > can not afford to create jsp for each chart. Any suggestions? > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 13:21:12
|
hey Srini Is there a reason you want to write the image to a file? This is will be a liability when you try to scale your app. Why do you want a single request to the server and not use two requests? Also, looking at your code, i dont think it is thread-safe. There is a possibility for the counter on the file name to not get incremented and have another thread use the same counter. you would have to synchronize the creation of the file name and increment of the counter. This will be a performance liability too. just my two cents. --- Srini <sr...@le...> wrote: > Following is the code, I added at the end of my servlet which creates the imagemap of an > axischart for a bar chart. This code generates the imagemap and sends it to the browser. Since > the jpg file is created everytime, when the servlet is called, it has to deleted periodically. > This method is used to have all the logic(chart creation and imagemap creation) for the chart > in a single servlet. Any suggestion is appreciated.This servlet works fine. > > Steps: > > axixchart is created first (this is not shown here) > Save axischart to jpg file. File name is generated using a counter. > created <IMG> tag with the newly created jpg file > Generate SCRIPT commands for display of the data value with the labels > Generate the html for imagemap > > //------------------------------------------------------------------------- > // Save the generated axischart into jpg file > //------------------------------------------------------------------------- > > String filefile="chart_"+imgcntr+".jpg"; > //-------------------------------------------------------------------------------------- > try > { > > String filex = getServletContext().getRealPath(filefile); > FileOutputStream fos = new FileOutputStream(filex); > JPEGEncoder13.encode( axisChart, 1.0f, fos); > fos.close(); > fos.flush(); > } > catch( IOException ioException ) > { > ioException.printStackTrace(); > } > //------------------------------------------------------------------------- > // create a chart object and get the imagemap for the chart > //------------------------------------------------------------------------- > > > String IMAGE_MAP= "IMAGE_MAP"; > Chart chart= null; > > > try > > > { > > > chart= (Chart) axisChart; > > > } > > > catch( Exception chartDataException ) > > > { > > > chartDataException.printStackTrace(); > > > } > > > > > > //---this call will render the chart to an internal BufferedImage, creating all the image map > coordinates > > chart.renderWithImageMap(); > > > > > > //---get the ImageMap information from the chart > > > ImageMap imageMap= chart.getImageMap(); > > > > > > //---set the ImageMap into the HttpServletRequest so can get it out in JSP > > > //request.setAttribute( IMAGE_MAP, imageMap ); > > > > > > > Iterator iterator= imageMap.getIterator(); > > > //------------------------------------------------------------------------- > // generate the SCRIPT function to display the values > //------------------------------------------------------------------------- > > > StringBuffer html= new StringBuffer( 400 ); > > > out.println("<script language=\"JavaScript\">"); > > > out.println("function showValues( value, legendLabel, xAxisLabel ){"); > > > out.println("if( xAxisLabel != 'null' ){"); > > > out.println("alert( \"Value= \" + value + \" \\nLegend label= \" + legendLabel + \"\\nAxis > label= \" + xAxisLabel );}"); > > out.println(" else {alert( \"Value= \" + value + \"\\nLegend label= \" + legendLabel > );}}"); > > out.println("</script>"); > > > //------------------------------------------------------------------------- > // output imagemap html contetnts > //------------------------------------------------------------------------- > > > > > out.println("<img border=\"0\" src="+filefile+" useMap=\"#chartMap\">"); > > > out.println("<map name=\"chartMap\">"); > > > while( iterator.hasNext() ) > > > { > > > ImageMapArea imageMapArea= (ImageMapArea) iterator.next(); > > > String hml=imageMapArea.toHTML( html.toString() ); > > > int ll = hml.length(); > > > out.println(hml.substring(0,ll-1)); > > > html.append( "href=\"javascript:showValues(" ); > > > html.append( imageMapArea.getValue() ); > > > html.append( ",'" ); > > > html.append( imageMapArea.getLengendLabel() ); > > > html.append( "','" ); > > > html.append( imageMapArea.getXAxisLabel() ); > > > html.append( "');\">" ); > > > out.println(html.toString()); > > > html.delete( 0, html.length() ); > > > } > > > html.append("</map>"); > > > out.println(html.toString()); > > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-14 13:13:31
|
so have a method: public Chart getChart() --- Jitu <jib...@an...> wrote: <HR> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> </head> <body> Yes that is true, i want my method to return the Chart object not the output stream ( so that chart generation can be a separate method and streaming it OR saving it can be done sepearately based on some conditions which should be outside the chart generation methid.)<br> How can i do this ?<br> <br> (p.s - I am not writing a applet.)<br> <br> Thanks for your inputs.<br> Jitu<br> <br> Nathaniel G. Auvil wrote:<br> <blockquote type="cite" cite="mid...@we..."> <pre wrap="">I do not understand what you are after. However you get or create an OutputStream is totally independent of jCharts. It sounds like you want your method to return the Chart Object not the OutputStream. Are you trying to create an applet? There is example code for this in the org.jcharts.test package. --- Jitender <a class="moz-txt-link-rfc2396E" href="mailto:jib...@an..."><jib...@an...></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Thanks for the info... but... Thanks for the info... in the forum. but that is not what i am looking for.(Was not able to post a reply - it says duplicate message- so sending this mail) I want something like this (return some kind of OutputStream, that can either be sent to the browser OR saved to a file). How can i do something similar to this... public OutputStream getChart() { .....//some code here....etc. OutputStream os ; JPEGEncoder13.encode( axisChart, 1.0f, os);//This statement should not save chart to the file OR send output to browser, I am interested in getting the OutputStream object from this method. return os; } </pre> </blockquote> <pre wrap=""><!----> ===== An easy read on your Digital Rights Disappearing [<a class="moz-txt-link-freetext" href="http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19">http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19</a>] __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos <a class="moz-txt-link-freetext" href="http://launch.yahoo.com/u2">http://launch.yahoo.com/u2</a> </pre> </blockquote> <br> </body> </html> ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-13 15:17:31
|
I do not understand what you are after. However you get or create an OutputStream is totally independent of jCharts. It sounds like you want your method to return the Chart Object not the OutputStream. Are you trying to create an applet? There is example code for this in the org.jcharts.test package. --- Jitender <jib...@an...> wrote: > Thanks for the info... but... > Thanks for the info... in the forum. > but that is not what i am looking for.(Was not able to post > a reply - it says duplicate message- so sending this mail) > > I want something like this (return some kind of > OutputStream, that can either be sent to the browser OR > saved to a file). How can i do something similar to this... > > public OutputStream getChart() > { > .....//some code here....etc. > OutputStream os ; > > JPEGEncoder13.encode( axisChart, 1.0f, os);//This statement > should not save chart to the file OR send output to browser, > I am interested in getting the OutputStream object from this > method. > > return os; > } > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 |
From: Nathaniel G. A. <nat...@ya...> - 2002-11-12 18:49:40
|
I am not sure what you are asking. The ChartServlet used in the demo code was just for that demo code and not intended to be part of the core jcharts API. You certainly can copy it from the demo and modify it to do whatever you need. Each chart on a page needs a separate request to the Server. so you would need two or more <img> tags. Yes, the encode(...) methods return void. Would you prefer them to return something? --- Ravi <rvb...@re...> wrote: > Hello Nathaniel, > > Thank you for the guidance. I ve a query about chart servlet, i > used the servlet for viewing more than 1 graph on one page with > different data inputs and different types of graphs (charts). > Secondly, the encoder/encoder13 class returns nothing (void), > could you pls. clear my doubt about the encoding technique you ve > used. I m stuck at this point for using jChart for more than 1 > graph on jsp page and about the encoding technique. > > Reply awaited. > > Regards, > Ravi. > > > On Fri, 01 Nov 2002 Nathaniel G. Auvil wrote : > > > >hi ravi. > > > >all the user guide charts use randomly generated data for the > >plots. If you download the user > >guide, it includes all the source used to generate the charts. > > > > > >here is the code it used to generate a LineChart: > > > > > >/******************************************************************************************/ > > private void basicChart() throws ChartDataException > > { > > String[] xAxisLabels= { "1998", "1999", "2000", "2001", > >"2002", "2003", "2004" }; > > String xAxisTitle= "Years"; > > String yAxisTitle= "Problems"; > > String title= "Micro$oft at Work"; > > DataSeries dataSeries = new DataSeries( xAxisLabels, > >xAxisTitle, yAxisTitle, title ); > > > > > > double[][] data= TestDataGenerator.getRandomNumbers( 1, 7, 0, > >6000 ); > > String[] legendLabels= { "Bugs" }; > > Paint[] paints= TestDataGenerator.getRandomPaints( 1 ); > > > > Stroke[] strokes= { LineChartProperties.DEFAULT_LINE_STROKE > >}; > > Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE }; > > LineChartProperties lineChartProperties= new > >LineChartProperties( strokes, shapes ); > > > > AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, > >legendLabels, paints, > >ChartType.LINE, lineChartProperties ); > > > > dataSeries.addIAxisChartDataSet( axisChartDataSet ); > > > > ChartProperties chartProperties= new ChartProperties(); > > AxisProperties axisProperties= new AxisProperties(); > > LegendProperties legendProperties= new LegendProperties(); > > > > AxisChart axisChart= new AxisChart( dataSeries, > >chartProperties, axisProperties, > >legendProperties, AxisCharts.width, AxisCharts.height ); > > > > super.exportImage( axisChart, "basicChart" ); > > } > > > > > > > > > > > >--- "Ravi Bhatia." <rvb...@re...> wrote: > > > Hello, > > > > > > This is in reference to Jchart Examples mentioned in your > > > site. The snippet provided for Linechart is not generating > >the > > > corresponding chart when we executed in JSP page. Would > > > you pls help us in this regard. We would be grateful if you > > > could send us some code-snippets which will fetch the data > > > from outside entity dynamically and plot the graph > > > accordingly. > > > > > > thanking you. > > > awaiting your reply. > > > > > > Ravi Bhatia. > > > Technical Team Lead. > > > CIPL, Mumbai. > > > > > >===== > >An easy read on your Digital Rights Disappearing > >[http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] > > > >__________________________________________________ > >Do you Yahoo!? > >HotJobs - Search new jobs daily now > >http://hotjobs.yahoo.com/ > > > Whistler. ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 |
From: Nathaniel G. A. <nat...@ya...> - 2002-10-03 01:11:27
|
yes, please use: addIAxisPlotDataSet() instead. I will add to the comments... --- Marcin Gryszkalis <da...@ma...> wrote: > In UserGuide 0.2 all examples use > dataSeries.addIAxisChartDataSet(axisChartDataSet); > but it's marked as deprecated API, > is there any direct replacement for this? > regards > marcin > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See how you are losing your digital rights at: [http://www.digitalconsumer.org/] Microsoft's part in this: [http://www.theregister.co.uk/content/archive/25852.html] Intel's part in this: [http://www.theregister.co.uk/content/3/27047.html] Fair Use: [http://zdnet.com.com/2100-1107-959632.html] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elimate most telemarketing calls [http://www.nocallsplease.com/] __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com |
From: Marcin G. <da...@ma...> - 2002-10-02 20:06:35
|
In UserGuide 0.2 all examples use dataSeries.addIAxisChartDataSet(axisChartDataSet); but it's marked as deprecated API, is there any direct replacement for this? regards marcin |
From: <no...@so...> - 2002-09-08 07:17:03
|
Bugs item #606244, was opened at 2002-09-08 00:17 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116161&aid=606244&group_id=16161 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Legend Icons [Customized] Initial Comment: Hi, I want to use my customized icon for the Legend Labels. Currently the icon displayed for Legends are square. For instance, if i am drawing two lines in a chart one with dotted line and another with ordinary line, I like to have a legend like this way. ---- Arun __ Prakash This is the requirement currently i am having with my client. Kindly help me out. Tx, Arun Prakash ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116161&aid=606244&group_id=16161 |
From: Nathaniel G. A. <nat...@ya...> - 2002-09-02 20:15:54
|
sorry but this is how the jCharts license works. You dont have to include the source of jcharts or open the source of your code since you are using jcharts in your product. Alls the license requires really is that you include a copy of the jcharts license with your documentation and include a footnote somewhere in your documentation giving credit to the jcharts project. ---nathaniel --- Brian Maguire <bma...@va...> wrote: > Thanks for the reply. Is there anyway to get an uncredited version? Would like to fold it into > some application code and would like to keep the source untraced if possible. Would be willing > to make a donatation for the effort. > > brian > > -----Original Message----- > From: Nathaniel G. Auvil [mailto:nat...@ya...] > Sent: Mon 9/2/2002 3:49 PM > To: Brian Maguire > Cc: jCharts - Users > Subject: Re: ? > > > > > hi brian. jCharts is using a BSD style license so you are free to use the library however you > like provided you give jCharts credit where applicable. > > Any donation would be put towards buying and hosting the jcharts.org domain. > > ---nathaniel > > > > --- Brian Maguire <bma...@va...> wrote: > > Nathaniel, > > I was wondering if you were interested in providing an unrestricted license to use jcharts. > I'd > > be interested in providing the project a donation in exchange for the license. > > > > Thanks a Bunch, > > Brian > > > > > ===== > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > See how you are losing your rights at [http://www.digitalconsumer.org/] > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See how you are losing your rights at [http://www.digitalconsumer.org/] __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com |