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: Ashish <ag...@in...> - 2005-04-27 10:03:07
|
Hi, I am using JApplet to run my program which works well as a stand alone application using frames.But with JApplets it gives the following error: java.lang.NoClassDefFoundError: org/jCharts/properties/ChartTypeProperties at JCTest27.init(JCTest27.java:36) at sun.applet.AppletPanel.run(AppletPanel.java:347) at java.lang.Thread.run(Thread.java:536) Process Exit... What could be the cause ?Please help me. |
|
From: sandeep k. <kot...@ya...> - 2005-04-17 23:35:49
|
Hi, I am developing a Jchart based report for a specific database using JSP. Can I know how to embed the JPEG chart that is being created on a JSP page with other HTML content. Any code snippet can be very helpful. Thanking you all, Sandeep. Sandeep Kotagiri __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Stephen Q. <st...@ni...> - 2005-04-03 16:22:23
|
Hi,
I'm new to JCharts. I have modified the ComboChart example to display
two datasets. After defining the two datasets, I use addIAxisPlotDataSet()
to add each dataset to a dataSeries. However, for some reason, only the
last dataset added is visible in the graph. I have tried this with some of
the other examples (e.g., the ScatterPlotDataSeries/DataSet) and it seems
to only render one dataset (typically, the last dataset added to the chart).
I cannot seem to find a working example of two separate datasets in
JCharts 0.7.5. Perhaps I am adding datasets incorrectly? (by the way,
I am using JDK 1.4.2 on 64-bit Fedora/Linux and Jakarta Tomcat 5.0.29).
Here is my small modification to the ComboChartServlet example:
try
{
String[] xAxisLabels = {"1995", "1996", "1997", "1998", "1999", "2000",
"2001", "2002", "2003", "2004"};
String xAxisTitle = "Years";
String yAxisTitle = "Problems";
String title = "Micro$oft At Work";
IAxisDataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle,
yAxisTitle, title );
double[][] data = new double[][]{{1500, 6880, 4510, 2600, 1200, 1580,
8000, 4555, 4000, 6120}};
double[][] data2 = new double[][]{{1000, 2000, 3000, 4000, 5000, 6000,
6100, 6500, 7000, 8000}};
String[] legendLabels = {"Bugs"};
Paint[] linePaints = new Paint[]{Color.red};
Paint[] linePaints2 = new Paint[]{Color.blue};
dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data,
legendLabels, linePaints, ChartType.LINE, this.lineChartProperties ) );
dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data2,
legendLabels, linePaints2, ChartType.LINE, this.lineChartProperties ) );
AxisChart axisChart = new AxisChart( dataSeries, this.chartProperties,
this.axisProperties, this.legendProperties, this.width, this.height );
ServletEncoderHelper.encodeJPEG13( axisChart, 1.0f, response );
}
catch ()...
Here, only data2 (in blue) is rendered. How do I get both datasets to be
rendered on the chart?
Thanks,
Steve
--
Stephen Quirolgico, Ph.D.
National Institute of Standards and Technology
100 Bureau Dr., Stop 8920
Gaithersburg, MD 20899-8920 USA
Tel: (301) 975-8426
Fax: (301) 590-0932
WWW: http://www.antd.nist.gov/~steveq
|
|
From: Uder Z. <ude...@gm...> - 2005-03-27 09:43:51
|
hello i think the easiest way is to conver the chart to an image first
then set it as an icon on a button
On Sat, 26 Mar 2005 13:17:40 +0000 (GMT), Ravikiran
<rav...@ya...> wrote:
> hello,
> Plz tell me whats wrong with this code.The chart appears
> momentarily and vanishes.
>
>
> import org.jCharts.chartData.ChartDataException;
> import org.jCharts.chartData.PieChartDataSet;
> import org.jCharts.nonAxisChart.PieChart2D;
> import org.jCharts.properties.*;
> import javax.swing.*;
> import java.awt.event.*;
> import java.awt.*;
>
> public class test
> {
> JFrame frame = new JFrame();
> MenuBar jmb = new MenuBar();
> Menu file = new Menu("FILE");
> MenuItem chart = new MenuItem("chart") ;
> //chart.addActionListener(new actionlistener(){
> // public void actionPerformed(ActionEvent e){
> //SwingDemo s = new SwingDemo(12,34,56);
> //};
> public test()
> {
> file.add(chart);
> jmb.add(file);
> frame.setMenuBar(jmb);
> frame.setSize(new Dimension(200,300));
> frame.setVisible(true);
> chart.addActionListener(new ActionListener(){
> public void actionPerformed(ActionEvent e){
> try{
> SwingDemo s = new SwingDemo(12,34,56);
> }catch(ChartDataException ce){}
> catch(PropertyException pe) {}
> }});
> }
> public static void main(String args[])
> {
> test t = new test();
> }
> }
>
> ________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
>
>
|
|
From: Ravikiran <rav...@ya...> - 2005-03-26 13:17:53
|
hello,
Plz tell me whats wrong with this code.The chart appears momentarily and vanishes.
import org.jCharts.chartData.ChartDataException;
import org.jCharts.chartData.PieChartDataSet;
import org.jCharts.nonAxisChart.PieChart2D;
import org.jCharts.properties.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class test
{
JFrame frame = new JFrame();
MenuBar jmb = new MenuBar();
Menu file = new Menu("FILE");
MenuItem chart = new MenuItem("chart") ;
//chart.addActionListener(new actionlistener(){
// public void actionPerformed(ActionEvent e){
//SwingDemo s = new SwingDemo(12,34,56);
//};
public test()
{
file.add(chart);
jmb.add(file);
frame.setMenuBar(jmb);
frame.setSize(new Dimension(200,300));
frame.setVisible(true);
chart.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
try{
SwingDemo s = new SwingDemo(12,34,56);
}catch(ChartDataException ce){}
catch(PropertyException pe) {}
}});
}
public static void main(String args[])
{
test t = new test();
}
}
---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! |
|
From: Ravikiran <rav...@ya...> - 2005-03-24 17:21:24
|
I want to use jcarts in 1 program.But as i pass the values to the swing demo example provided..there is the jframe with a flash of the chart for a moment.then the char vanishes and only the empty frame remains... what can be the reason?plz suggest me a solution... Yahoo! India Matrimony: Find your life partneronline. |
|
From: <mi...@gm...> - 2005-03-16 22:34:07
|
Hi, I want to use mouse events in a scatter plot chart, but can't find a class that inherits from java.awt.Component where I can add my 'MouseListener'. It there mouse support in jCharts available? If yes could someone provide me with some code snippet. Thank you -- Mike DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl |
|
From: Chris M. <ch...@de...> - 2005-03-15 21:49:44
|
You'll either need to run up a virtual X server on the server (google Xvfb) or add this flag to the JVM that is running the server -Djava.awt.headless=true (I think you'll need to be on Java 1.4+ for this support. C _____ From: jch...@li... [mailto:jch...@li...] On Behalf Of George Pieri Sent: Wednesday, 16 March 2005 10:35 a.m. To: jch...@li... Subject: [jCharts-users] (no subject) I tried running the PieChart2DServlet in our web BEA weblogic server and I get the error message Can't connect to X11 window server Is X Windows need to build the charts because we don't have this installed and was hoping that the charts would just get built in a browser. I'm not subscribed to the list. If possible can you email me at geo...@mc... Thanks. George |
|
From: Sudheer G. <sgu...@ip...> - 2005-03-15 21:45:42
|
The following property "-Djava.awt.headless=3Dtrue" needs to be set. =20 Regards -Sudheer ________________________________ From: jch...@li... [mailto:jch...@li...] On Behalf Of George Pieri Sent: Tuesday, March 15, 2005 1:35 PM To: jch...@li... Subject: [jCharts-users] (no subject) =09 =09 =20 I tried running the PieChart2DServlet in our web BEA weblogic server and I get the error message =20 Can't connect to X11 window server =20 Is X Windows need to build the charts because we don't have this installed and was hoping that the charts would just get built in a browser. =20 I'm not subscribed to the list. If possible can you email me at geo...@mc... =20 Thanks. George |
|
From: George P. <geo...@mc...> - 2005-03-15 21:36:22
|
I tried running the PieChart2DServlet in our web BEA weblogic server and I get the error message Can't connect to X11 window server Is X Windows need to build the charts because we don't have this installed and was hoping that the charts would just get built in a browser. I'm not subscribed to the list. If possible can you email me at geo...@mc... Thanks. George |
|
From: Kevin V. <its...@ho...> - 2005-03-10 21:40:51
|
<html><div style='background-color:'><DIV class=RTE> <DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I have a working scatter plot, but would like to graph it without the lines connecting the points. I was hoping there is an easy way to do this. I have seen that you can create a point chart, but I have already created the scatter plot in a large process, and starting over would not be the best. All I really need to do is find a way to create the ScatterPlot with its data set knowing to graph as ChartType.POINT. Any ideas??? Thanks for the help!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Kevin</FONT></DIV></DIV></div></html> |
|
From: Irene N. <ire...@ho...> - 2005-03-08 08:44:52
|
Yeah sorry I realised that I put jfreechart instead of jcharts. Anyway so is there any examples. >From: Nicola Ken Barozzi <nic...@ap...> >Reply-To: jch...@li... >To: jch...@li... >Subject: [jCharts-users] Re: new to jFreeChart >Date: Mon, 07 Mar 2005 16:01:30 +0100 > >Irene Nessa wrote: >>I 'm new to jFreeChart. I got the example war file working so far. I was >>wondering if there was an example code for 3D Pie chart. Also how to do a >>dynamic chart, I want chart information to come from a database. Any >>sample would most helpful or a link to site where I can such information. >>Many thanks in advance. > >This is jCharts, not JFreeChart. > >Still Java, still charts, another license, another codebase. > >-- >Nicola Ken Barozzi nic...@ap... > - verba volant, scripta manent - > (discussions get forgotten, just code remains) >--------------------------------------------------------------------- > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >jCharts-users mailing list >jCh...@li... >https://lists.sourceforge.net/lists/listinfo/jcharts-users |
|
From: Nair, P. (A. - N R. <Pra...@au...> - 2005-03-07 21:38:05
|
If you are using JChart all you have to do is retrieve data from database as you would do with any other application using JDBC/ODBC and then use the resultset values to populate the 2-dimensional double array. I am not sure if thats same with JFree chart, should be pretty much the same. cheers pradeep -----Original Message----- From: Irene Nessa [mailto:ire...@ho...] Sent: Monday, 7 March 2005 9:53 PM To: jch...@li... Subject: [jCharts-users] new to jFreeChart I 'm new to jFreeChart. I got the example war file working so far. I was wondering if there was an example code for 3D Pie chart. Also how to do a dynamic chart, I want chart information to come from a database. Any sample would most helpful or a link to site where I can such information. Many thanks in advance. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
|
From: Nicola K. B. <nic...@ap...> - 2005-03-07 16:20:48
|
Irene Nessa wrote:
> I 'm new to jFreeChart. I got the example war file working so far. I
> was wondering if there was an example code for 3D Pie chart. Also how to
> do a dynamic chart, I want chart information to come from a database.
> Any sample would most helpful or a link to site where I can such
> information. Many thanks in advance.
This is jCharts, not JFreeChart.
Still Java, still charts, another license, another codebase.
--
Nicola Ken Barozzi nic...@ap...
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
|
|
From: Irene N. <ire...@ho...> - 2005-03-07 10:53:28
|
I 'm new to jFreeChart. I got the example war file working so far. I was wondering if there was an example code for 3D Pie chart. Also how to do a dynamic chart, I want chart information to come from a database. Any sample would most helpful or a link to site where I can such information. Many thanks in advance. |
|
From:
<Dia...@nr...> - 2005-02-22 21:58:51
|
I am trying to find a way of clicking on subject categories underneath = a pie chart in order to=20 get to the subcategories indicated by the colors of the pie chart. http://source.cisti-icist.nrc-cnrc.gc.ca/cs/journals/subjects_e.html At the moment, one has to click on the different colors of the pie = chart in order to go to the subcategories. If someone is colour blind, it would help to use the text underneath = the pie chart in order to go to the subcategories. How do I do that? The part of the code for the english pie chart: PieChart2DProperties p2dProps =3D new PieChart2DProperties(); PieChartDataSet p2dData =3D new PieChartDataSet("Journal Coverage", = data, labels_e, paints, p2dProps); LegendProperties lp =3D new LegendProperties(); lp.setBorderStroke(null); lp.setBorderPaint(null); lp.setEdgePadding(1.0f); lp.setPlacement( LegendAreaProperties.BOTTOM ); lp.setNumColumns(1); lp.setFont(new Font("Arial", Font.PLAIN, 10)); PieChart2D p2d =3D new PieChart2D(p2dData, lp, new ChartProperties(), 450, 600); p2d.renderWithImageMap(); ImageMap imageMap =3D p2d.getImageMap(); StringBuffer ebuf =3D new StringBuffer(); ebuf.append("<p>\n<img border=3D\"0\" src=3D\"bsubs_e.jpg\" " + "alt=3D\"Journal coverage pie chart\" " + "useMap=3D\"#chartMap\">\n"); ebuf.append("<map name=3D\"chartMap\">\n"); Iterator iterator=3D imageMap.getIterator(); int i =3D 0; while(iterator.hasNext()) { StringBuffer html =3D new StringBuffer(); ImageMapArea imageMapArea=3D (ImageMapArea) iterator.next(); html.append("alt=3D\"" + imageMapArea.getLengendLabel() + "\""); html.append(" href=3D\"" + pages_e[i++] + "\""); ebuf.append(imageMapArea.toHTML( html.toString()) + "\n"); } ebuf.append("</map>\n"); FileOutputStream fos =3D new = FileOutputStream("journals/bsubs_e.jpg"); JPEGEncoder.encode(p2d, 1.0f, fos); fos.flush(); fos.close(); Regards, Diane-Helene _______________________________________________________ Diane-H=E9l=E8ne Caouette 613-993-9123 dia...@nr...=20 Electronic Document Delivery Technical Support CISTI National Research Council, Building M-55 1200 Montreal Road Ottawa, ON K1A 0S2 Government of Canada 613-993-9123 dia...@nr...=20 Support technique =E0 la fourniture =E9lectronique de documents ICIST Conseil National de Recherches Canada 1200 rue Montr=E9al Ottawa, ON K1A 0S2 Gouvernement du Canada _______________________________________________________ |
|
From: Chris M. <ch...@de...> - 2005-02-22 00:25:49
|
Yes, you're dead right that text string is rendered as an image. I guess =
you
could make an argument to enhance jCharts to produce an imagemap for the
legend as well as for the graph.
Or you could just ask jCharts to not produce a legend and create it in =
HTML
instead.
C
> -----Original Message-----
> From: jch...@li...=20
> [mailto:jch...@li...] On Behalf=20
> Of Travis Reeder
> Sent: Tuesday, 22 February 2005 1:15 p.m.
> To: jch...@li...
> Subject: Re: [jCharts-users] Help
>=20
> That definitely wouldn't work, you can't embed a link inside=20
> the text of an image. It's an image not html.
>=20
> Travis
>=20
>=20
> On Tue, 22 Feb 2005 13:12:09 +1300, Chris McKay=20
> <ch...@de...> wrote:
> > =20
> > Without trying this myself couldn't you just put links into=20
> the labels?=20
> > =20
> > So instead of something like:=20
> > =20
> > String[] labels =3D {"Equities", "Bonds", "Money Market",=20
> "Alternative=20
> > Investments"};
> > =20
> > you'd have
> > =20
> > =20
> > String[] labels =3D {"<a href=3Dequities.html>Equities</a>", =
"Bonds",=20
> > "Money Market", "Alternative Investments"};
> > =20
> > But I can see why you would want to just add the links once=20
> (whereever=20
> > you stick them so the ImageMap works.)
> > =20
> > C
> > =20
> > =20
> > =20
> > ________________________________
> > From: jch...@li...
> > [mailto:jch...@li...] On Behalf Of=20
> > "Caouette, Diane-H=E9l=E8ne"
> > Sent: Tuesday, 22 February 2005 11:49 a.m.
> > To: 'jch...@li...'
> > Subject: [jCharts-users] Help
> >=20
> > =20
> >=20
> >=20
> > =20
> >=20
> > I am trying to find a way of clicking on subject categories=20
> underneath=20
> > a pie chart in order to
> >=20
> > get to the subcategories indicated by the colors of the pie chart.=20
> >=20
> > http://source.cisti-icist.nrc-cnrc.gc.ca/cs/journals/subjects_e.html
> >=20
> > At the moment, one has to click on the different colors of the pie=20
> > chart in order to go to the subcategories.
> >=20
> > If someone is colour blind, it would help to use the text=20
> underneath=20
> > the pie chart in order to go to the subcategories.
> >=20
> > How do I do that?=20
> > =20
> >=20
> > Regards,
> > =20
> >=20
> > Diane-Helene
>=20
>=20
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide Read honest &=20
> candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk
> _______________________________________________
> jCharts-users mailing list
> jCh...@li...
> https://lists.sourceforge.net/lists/listinfo/jcharts-users
>=20
>=20
|
|
From: Travis R. <tr...@gm...> - 2005-02-22 00:15:39
|
That definitely wouldn't work, you can't embed a link inside the text
of an image. It's an image not html.
Travis
On Tue, 22 Feb 2005 13:12:09 +1300, Chris McKay <ch...@de...> wrot=
e:
> =20
> Without trying this myself couldn't you just put links into the labels?=
=20
> =20
> So instead of something like:=20
> =20
> String[] labels =3D {"Equities", "Bonds", "Money Market", "Alternative
> Investments"};=20
> =20
> you'd have=20
> =20
> =20
> String[] labels =3D {"<a href=3Dequities.html>Equities</a>", "Bonds", "=
Money
> Market", "Alternative Investments"};=20
> =20
> But I can see why you would want to just add the links once (whereever yo=
u
> stick them so the ImageMap works.)=20
> =20
> C=20
> =20
> =20
> =20
> ________________________________
> From: jch...@li...
> [mailto:jch...@li...] On Behalf Of "Caouette=
,
> Diane-H=E9l=E8ne"
> Sent: Tuesday, 22 February 2005 11:49 a.m.
> To: 'jch...@li...'
> Subject: [jCharts-users] Help
>=20
> =20
>=20
>=20
> =20
>=20
> I am trying to find a way of clicking on subject categories underneath a =
pie
> chart in order to=20
>=20
> get to the subcategories indicated by the colors of the pie chart.=20
>=20
> http://source.cisti-icist.nrc-cnrc.gc.ca/cs/journals/subjects_e.html=20
>=20
> At the moment, one has to click on the different colors of the pie chart =
in
> order to go to the subcategories.=20
>=20
> If someone is colour blind, it would help to use the text underneath the =
pie
> chart in order to go to the subcategories.=20
>=20
> How do I do that?=20
> =20
>=20
> Regards,=20
> =20
>=20
> Diane-Helene
|
|
From: Chris M. <ch...@de...> - 2005-02-22 00:12:43
|
Without trying this myself couldn't you just put links into the labels?
=20
So instead of something like:
=20
String[] labels =3D {"Equities", "Bonds", "Money Market", "Alternative
Investments"};
=20
you'd have
=20
String[] labels =3D {"<a href=3Dequities.html>Equities</a>", "Bonds", =
"Money
Market", "Alternative Investments"};
=20
But I can see why you would want to just add the links once (whereever =
you
stick them so the ImageMap works.)
=20
C
=20
_____ =20
From: jch...@li...
[mailto:jch...@li...] On Behalf Of =
"Caouette,
Diane-H=E9l=E8ne"
Sent: Tuesday, 22 February 2005 11:49 a.m.
To: 'jch...@li...'
Subject: [jCharts-users] Help
I am trying to find a way of clicking on subject categories underneath a =
pie
chart in order to=20
get to the subcategories indicated by the colors of the pie chart.=20
http://source.cisti-icist.nrc-cnrc.gc.ca/cs/journals/subjects_e.html=20
At the moment, one has to click on the different colors of the pie chart =
in
order to go to the subcategories.=20
If someone is colour blind, it would help to use the text underneath the =
pie
chart in order to go to the subcategories.=20
How do I do that?=20
Regards,=20
Diane-Helene=20
|
|
From:
<Dia...@nr...> - 2005-02-21 22:48:46
|
I am trying to find a way of clicking on subject categories underneath = a pie chart in order to=20 get to the subcategories indicated by the colors of the pie chart. http://source.cisti-icist.nrc-cnrc.gc.ca/cs/journals/subjects_e.html At the moment, one has to click on the different colors of the pie = chart in order to go to the subcategories. If someone is colour blind, it would help to use the text underneath = the pie chart in order to go to the subcategories. How do I do that? Regards, Diane-Helene _______________________________________________________ Diane-H=E9l=E8ne Caouette 613-993-9123 dia...@nr...=20 Electronic Document Delivery Technical Support CISTI National Research Council, Building M-55 1200 Montreal Road Ottawa, ON K1A 0S2 Government of Canada 613-993-9123 dia...@nr...=20 Support technique =E0 la fourniture =E9lectronique de documents ICIST Conseil National de Recherches Canada 1200 rue Montr=E9al Ottawa, ON K1A 0S2 Gouvernement du Canada _______________________________________________________ |
|
From: Uder Z. <ude...@gm...> - 2005-02-21 08:23:05
|
hello i have a few question 1.how can i make i generate 2 line graph using 2 set of different data size? 2.how can i set the line color? 3.how can i scale the x axis label? 4.how can i start my graph from point (0,0) / the first point is on the Y axis? 5.is this project dead already? |
|
From: Chris W. <cw...@go...> - 2005-02-11 17:43:18
|
Does LegendAreaProperties.COLUMNS_AS_MANY_AS_NEEDED and COLUMNS_FIT_TO_IMAGE work? If so, how? I tried to put them into legend properties like this: legendProperties.setPlacement( LegendAreaProperties.LEFT ); legendProperties.setNumColumns(LegendAreaProperties.COLUMNS_AS_MANY_AS_NEEDED ); I did this with an axis graph, but get no legend at all. Are they coded for? Chris |
|
From: Silas Boyd-W. <si...@gm...> - 2005-01-20 21:16:30
|
Hi -
I want to create a line graph that only displays certain labels and
tick marks on the x-axis. For example, if I had the below data set
and code and I only want to display lable and tick marks for 1, 3, 5
and 7 how could I do it?
String[] xAxisLabels= { "1", "2", "3", "4", "5", "6", "7"};
DataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle,
yAxisTitle, title );
double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55 } };
...
...
...
axisProperties.getXAxisProperties().setShowTicks(
AxisTypeProperties.TICKS_ONLY_WITH_LABELS );
// null is for no legend
axisChart= new AxisChart( dataSeries, chartProperties, axisProperties,
null, defWidth, defHeight );
I tried populating the xAxisLabels with empty string, but I get "Zero
length string passed to TextLayout constructor." when I try to render
the graph.
Thanks - Silas
|
|
From: apchar b. <ap...@ly...> - 2005-01-12 06:45:31
|
I want to create a linechart without a legend. The javadocs say=20 just pass null to axisChartDataSet() where the legends array would=20 go. It compiles fine but when I run it (in appletviewer) I get java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 and the applet plots nothing. The line in question is AxisChartDataSet axisChartDataSet=3D new AxisChartDataSet( data, null, pain= ts, ChartType.LINE, lineChartProperties ); What did I do wrong? Thanks, Apchar. --=20 _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.as= p?SRC=3Dlycos10 |
|
From: Jiang, X. <jon...@pi...> - 2005-01-07 22:50:48
|
Hi,
I just switched from jCharts.0.7.5 to krysalis-jCharts-1.0.0-alpha-1. My ap=
p builds fine, but got a run-time error as follows:
Warning: legend shape is null
java.lang.NullPointerException
at org.krysalis.jcharts.Legend.calculateDrawingValues(Unknown Sourc=
e)
at org.krysalis.jcharts.Legend.computeLegendXY(Unknown Source)
at org.krysalis.jcharts.axisChart.AxisChart.renderChart(Unknown Sou=
rce)
at org.krysalis.jcharts.Chart.render(Unknown Source)
...
I didn't make any change to my source code. What else should I do?=20
Here's my source code:
/**
* Plot the time series data as line chart.=20
*/
public int plot() throws ChartDataException, PropertyException {
...
String xAxisTitle=3D null, yAxisTitle=3D null;
dataSeries =3D new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle,=
getChartTitle() );
LineChartProperties lineChartProperties=3D new LineChartProperties(=
strokes, shapes );
AxisChartDataSet axisChartDataSet =3D new AxisChartDataSet(data,leg=
endLabels,paints,ChartType.LINE,lineChartProperties);
dataSeries.addIAxisPlotDataSet(axisChartDataSet);
chartProperties=3D new ChartProperties();
axisProperties=3D new AxisProperties();
legendProperties=3D new LegendProperties();
ChartStroke xAxisGridLines=3D new ChartStroke( new BasicStroke( 1.0=
f,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND,1f,new float[] {2f},0f ),Col=
or.lightGray);
axisProperties.getXAxisProperties().setGridLineChartStroke( xAxisGr=
idLines );
axisProperties.getXAxisProperties().setShowGridLines( AxisTypePrope=
rties.GRID_LINES_ONLY_WITH_LABELS );
DataAxisProperties yAxis =3D (DataAxisProperties) axisProperties.ge=
tYAxisProperties();
yAxis.setGridLineChartStroke( xAxisGridLines );
yAxis.setShowGridLines( AxisTypeProperties.GRID_LINES_ONLY_WITH_LAB=
ELS );
yAxis.setNumItems(yNumItems);
yAxis.setRoundToNearest(roundToNearest);
UserDefinedScaleCalculator u=3D new UserDefinedScaleCalculator(yMin=
, yIncrement);
yAxis.setScaleCalculator( u );
yAxisMinWidth =3D getYLabelMinWidth(yAxis);
//repaint();
return PTError.PMPT_ERROR_SUCCESS;
}
public void paint(Graphics g) {
Graphics plotGraphics =3D g.create(yAxisOffset,0,dim.width-yAxi=
sOffset,dim.height);
try {
Graphics2D g2d =3D (Graphics2D) plotGraphics;
AxisChart axisChart=3D new AxisChart(dataSeries,=20
chartProperties,=20
axisProperties,=20
legendProperties, dim.wi=
dth-yAxisOffset, dim.height ); =20
axisChart.setGraphics2D(g2d);
axisChart.render();
}
catch( ChartDataException chartDataException )
{
chartDataException.printStackTrace();
}
catch( PropertyException propertyException ) {
propertyException.printStackTrace();
}
}
This message contains confidential information and is intended only for the=
individual named. If you are not the named addressee, you should not disse=
minate, distribute, alter or copy this e-mail. Please notify the sender imm=
ediately by e-mail if you have received this e-mail by mistake and delete t=
his e-mail from your system. E-mail transmissions cannot be guaranteed to b=
e secure or without error as information could be intercepted, corrupted, l=
ost, destroyed, arrive late or incomplete, or=20
contain viruses. The sender, therefore, does not accept liability for any e=
rrors or omissions in the contents of this message which arise during or as=
a result of e-mail transmission. If verification is required, please reque=
st a hard-copy version. This message is provided for information purposes a=
nd should not be construed as a solicitation or offer to buy or sell any se=
curities or related financial instruments in any jurisdiction.
|