Search found 13 matches
- Mon Jan 12, 2004 2:12 pm
- Forum: JFreeChart
- Topic: Displaying a chart inside a jsp page between HTML code ?
- Replies: 11
- Views: 41620
you can do it like this: in your jsp page you only set the source of the image generated to be your servlet like this: <html> <head> body> Voila le graph<p> <img src="/servlet/your_servlet_name"> </body> </html> and in your servlet you specify the content type of the file so the browser can read it ...
- Mon Jan 12, 2004 1:45 pm
- Forum: JFreeChart
- Topic: How to change default bar color to my own favorite?
- Replies: 1
- Views: 2672
you can use this
Code: Select all
JFreeChart chart = ChartFactory.createBarChart3D(title,x,y,dataset,PlotOrientation.VERTICAL,true,true,false);
CategoryPlot plot = chart.getCategoryPlot();
BarRenderer3D renderer = (BarRenderer3D) plot.getRenderer();
renderer.setSeriesPaint(0, new Color(0x990000));
- Wed Jan 07, 2004 10:43 am
- Forum: JFreeChart
- Topic: How to use Jfreechart with Jbuilder?
- Replies: 4
- Views: 4312
follow these steps to use jfreechart with jbuilder: go to menu: project/project properties/required libraries click add and the select new: in the "new library wizard" give it some name and select "project" for the location. click add and select the path of the jar archives jcommonx.x.x.jar and jfre...
- Wed Jan 07, 2004 10:34 am
- Forum: JFreeChart
- Topic: Pb when displaying valueson pie charts
- Replies: 2
- Views: 3725
thanks dave but i also solve the pb:) first i used the code: Pie3DPlot plot = new Pie3DPlot(data); pieplot.setSectionLabelType(PiePlot.VALUE_AND_PERCENT_LABELS); and now i changed to chart = ChartFactory.createPie3DChart(titre, data, true, true, true); PiePlot pieplot = (PiePlot)chart.getPlot(); pie...
- Wed Jan 07, 2004 10:31 am
- Forum: JFreeChart
- Topic: Pb with url generator on pie chart
- Replies: 2
- Views: 3970
thanks dave but i solved the pb. first i used the code provided by Richard Atkinson in it home page : Pie3DPlot plot = new Pie3DPlot(data); plot.setURLGenerator(new StandardPieURLGenerator("chart.jsp","section")); and i had the pb but then i change it to chart = ChartFactory.createPie3DChart("title"...
- Tue Jan 06, 2004 5:04 pm
- Forum: JFreeChart
- Topic: Pb when displaying valueson pie charts
- Replies: 2
- Views: 3725
Pb when displaying valueson pie charts
i would like to display the values of the sections on a pie charts to integrate them in pdf files (with itext) because i can't use tooltips i made it for bart chart and i have used: BarRenderer3D renderer = (BarRenderer3D) plot.getRenderer(); renderer.setItemLabelsVisible(true); and it worked fine. ...
- Tue Jan 06, 2004 4:59 pm
- Forum: JFreeChart
- Topic: Pb with url generator on pie chart
- Replies: 2
- Views: 3970
Pb with url generator on pie chart
i am generating two kinds of charts: bar an pie charts i am having pbs when generating urls for pie charts, i used: for bar charts renderer.setItemURLGenerator(new StandardCategoryURLGenerator("chart.jsp", "series", "section")); and it worked fine. and for pie charts i used: plot.setURLGenerator(new...
- Sat Dec 13, 2003 8:44 am
- Forum: JFreeChart
- Topic: JFreeChart and IText
- Replies: 1
- Views: 3671
source code
Can you post the source code
- Fri Nov 28, 2003 11:03 pm
- Forum: JFreeChart
- Topic: How can I show the values on PIECharts?
- Replies: 2
- Views: 4186
How can I show the values on PIECharts?
How can I show the values on PIECharts.
i did it for bar charts . i used
BarRenderer renderer = (BarRenderer) plot.getRenderer();
renderer.setItemLabelsVisible(true);
but for pie charts i don't know what to do
i did it for bar charts . i used
BarRenderer renderer = (BarRenderer) plot.getRenderer();
renderer.setItemLabelsVisible(true);
but for pie charts i don't know what to do
- Fri Nov 28, 2003 10:56 pm
- Forum: JFreeChart
- Topic: How can i rotate the values of the x axis
- Replies: 2
- Views: 4079
- Thu Nov 27, 2003 11:24 pm
- Forum: JFreeChart
- Topic: How to show the values on the bars?
- Replies: 2
- Views: 4667
haw can i show values for pie charts
haw can i do the same for 3Dpie charts.
- Thu Nov 27, 2003 10:11 pm
- Forum: JFreeChart
- Topic: How can i rotate the values of the x axis
- Replies: 2
- Views: 4079
How can i rotate the values of the x axis
I have long values to isplay on the x axis. is it possible to rotate them to get better image.
- Mon Nov 24, 2003 2:38 pm
- Forum: JFreeChart
- Topic: Can tooltips work with images not generated on disk
- Replies: 1
- Views: 3139
Can tooltips work with images not generated on disk
i am getting charts generated directly in the output stream but i need to get tooltips and drilldown. how can i get this, can any one help me.
thank you
thank you