Search found 13 matches

by jesusmgmarin
Sat Sep 23, 2006 12:03 pm
Forum: JFreeChart
Topic: How to show the points of the values in XYLine chart
Replies: 4
Views: 13194

Thanks, but I have a problem, I posted: public JFreeChart XYLine(String vInDep, String vDep){ XYSeries series = new XYSeries("Leyenda de Línea"); /* We cross the bidimensional Array adding it to the chart, as long as null value by row does not exist */ for (int i=0; i<arrayVars.length; i++){ if( (nu...
by jesusmgmarin
Thu Sep 14, 2006 11:14 am
Forum: JFreeChart
Topic: How to show the points of the values in XYLine chart
Replies: 4
Views: 13194

How to show the points of the values in XYLine chart

Hi, I have a method that paint a graph with the values of an array[][], I need that this method show the points of the values ( in addition to the XYline ) (In order to know in what points of the line are the values) My code I use is: public JFreeChart XYLine(String vInDep, String vDep){ XYSeries se...
by jesusmgmarin
Fri Jul 07, 2006 5:08 pm
Forum: JFreeChart
Topic: XYAreaChart with the Average
Replies: 0
Views: 1857

XYAreaChart with the Average

Hello again... Now I want to make a XYAreaChart. When I do it, the "dividing horizontal line" that there is, is in value 0 of the Y-axis , It would be possible to force to that it was another value instead of the 0? (for example, in my case I would like that the "dividing line" was in the value of t...
by jesusmgmarin
Fri Jul 07, 2006 4:32 pm
Forum: JFreeChart
Topic: Urgent Help JFreeChart
Replies: 4
Views: 5127

jesusmgmarin wrote:Ok, but This change the X axis, no? How can I change the Y Axis ??
I have solved this:

Code: Select all

XYPlot plot = (XYPlot) chart.getPlot();
NumberAxis rangeAxis = (NumberAxis) plot.getDomainAxis();
rangeAxis.setInverted(true);
Thanks
by jesusmgmarin
Thu Jul 06, 2006 5:41 pm
Forum: JFreeChart
Topic: width of the bars in a XYBarChart
Replies: 1
Views: 2709

I have already solved this, I had to do this after ... ..... final JFreeChart chart = ChartFactory.createXYBarChart( "Chart Barras "+vDep+" vs "+vInDep, //Tittle vInDep, //Legend X Axis false, vDep, //Legend Y Axis ColeccionDatos, //Dataset PlotOrientation.HORIZONTAL, //Orientation true, //Flag lege...
by jesusmgmarin
Thu Jul 06, 2006 10:52 am
Forum: JFreeChart
Topic: width of the bars in a XYBarChart
Replies: 1
Views: 2709

width of the bars in a XYBarChart

Hello, I have a XYBarChart but it has severals values, and the bars are superposed because they are a little wide. I want to know if there is some method to modify the width of the bars. The code I have is: public JFreeChart BarsChart(String vInDep, String vDep){ final XYSeries series = new XYSeries...
by jesusmgmarin
Wed Jul 05, 2006 6:25 pm
Forum: JFreeChart
Topic: Urgent Help JFreeChart
Replies: 4
Views: 5127

Ok, but This change the X axis, no? How can I change the Y Axis ??
by jesusmgmarin
Wed Jul 05, 2006 10:03 am
Forum: JFreeChart
Topic: Urgent Help JFreeChart
Replies: 4
Views: 5127

Urgent Help JFreeChart

Hello I need modify a chart generate. I use jfreechart-1.0.0.jar . I have crateed a graph with a series of values, http://carpex.usal.es/img.jpg but now I need to change my Y-axis, The graphs must show in depth. That is to say, in the Y-axis the Depth goes. The highest value of the Y-axis correspond...
by jesusmgmarin
Tue Jul 04, 2006 4:02 pm
Forum: JFreeChart
Topic: Creatting a Area Chart
Replies: 1
Views: 2394

Creatting a Area Chart

hi, I have a java class that creates a chart (Area Chart). To create the " dataset " I use a variable ( arrayVars ) that contains the data, but the chart is not create Ok, I want only one area in the chart , but with this code creates an area by each row. ( I want in X-axis the values of column 0 an...
by jesusmgmarin
Thu Apr 20, 2006 3:51 pm
Forum: JFreeChart
Topic: To keep an image in the Server
Replies: 4
Views: 5229

Thanks very much.

I didn´t know that a Servlet that generates a graph could be invoked with the tag <img>

Now it runs
:wink:
by jesusmgmarin
Thu Apr 20, 2006 3:31 pm
Forum: JFreeChart
Topic: To keep an image in the Server
Replies: 4
Views: 5229

Hi, and thanks for write me. I have been able to load and that the Servlet works that generates the graph, but ademas of the graph I want to show more texts in servlet. In servlet I have (so that it shows gráfica) response.setContentType("image/jpeg"); and I have tried to put response.setContentType...
by jesusmgmarin
Thu Apr 20, 2006 2:33 pm
Forum: JFreeChart
Topic: SaveChartAsPng() problem
Replies: 3
Views: 4124

In witch OS are yor working ?
by jesusmgmarin
Thu Apr 20, 2006 2:29 pm
Forum: JFreeChart
Topic: To keep an image in the Server
Replies: 4
Views: 5229

To keep an image in the Server

I am using Debian + tomcat + j2sdk1.4.2_10 + jfreechar-1.0.1 ... I have a doubt on how adding a functionality. I have a page in jsp that loads an Applet , this Applet loads a Servlet which generates a graph with JFreeChart . This works correctly, but in the Servlet I have: ........ response.setConte...