1. transparency problem for chart exported in .png jfree.orghello, I create a chart image in the png format, and after exporting the chart there is no transparency. I write something like: Paint couleur_fond=new Color(255,255,255,0); JFreeChart chart=new JFreeChart(titre, police_titre, plot,true); chart.setBackgroundPaint(couleur_fond); At the beginning, I was using the 0.9.3 version of jfreechart, then I update and install the last version (1.0.0 rc1). The thing is that with the old version ... |
2. Memory leak when export charts (5000+) to PNG file jfree.orgMemory leak when export charts (5000+) to PNG file by Lee yan Thu Dec 29, 2005 2:30 am Hi everyone, I have wrote a program that use JDK 1.5 and jfreechart-1.0.0-rc1 to generate bar chart and save it as PNG file. Each time the user press the "Start" button, about 5000-6000 charts will be exported to local harddisk. After the ... |
3. JFreeChart and PNG Encoding jfree.orgI have a servlet which has following code: ByteArrayOutputStream outBuffer = new ByteArrayOutputStream(1024*768); ChartUtilities.writeChartAsPNG(outBuffer, chart, 1024,768);//width, height); Before this I have set series colors using following: XYItemRenderer renderer = plot.getRenderer(); renderer.setSeriesPaint(0,Color.black); renderer.setSeriesPaint(1,Color.blue); renderer.setSeriesPaint(2,Color.red); renderer.setSeriesPaint(3,Color.green); renderer.setSeriesPaint(4,Color.darkGray); My problem is I don't get exact set of colors for series in encoded PNG image. I am using 0.9.21 for reasons out of my control. ... |
4. I have a problem with jfree chart with .png jfree.orgHi , I have two scenario's like when the page has requested Line chart(for all the employees from the list box) should come , and when ever i clicked each employee the Bar chart should come. up to this it is fine, but when the page has loaded it is displaying the chart some width. but when i click a single ... |
5. Generate indexed PNG 8bits with alpha jfree.orgIn order to use png files as transparent layers in IE we need to generate our graphics as indexed PNG 8 bit with alpha. Right now we are able to create RGB PNG 32 with alpah using: ChartUtilities.writeChartAsPNG We have also tried using the class KeypointPNGEncoderAdapter and method encoder but we didnt get successfull results. The problem is that we always ... |
6. export PNG 8 & 24 jfree.orghello all, how can i export a PNG file with 8 bits and another with 24 bits ? i think it is due to the compression level...perhaps, using this method ? public static void saveChartAsPNG(java.io.File file, JFreeChart chart, int width, int height, ChartRenderingInfo info, boolean encodeAlpha, int compression) the "compression" parameter has a value betwen 0 to 9... what would have ... |
7. problem with PNG file and ImageIO jfree.orghi i have some problem with image io and png file , i use 1.5.10 version of jdk and 0921 version of JFreeChart , i have a applet that calls servlet method to retrive the image chart from server. in servlet the code that i write to do this is : info = new org.jfree.chart.ChartRenderingInfo(new org.jfree.chart.entity.StandardEntityCollection()); tempName = org.jfree.chart.servlet.ServletUtilities.saveChartAsPNG(chart, x, y, ... |
8. Logo lower left of the png ... jfree.org |
9. Unicode not displaying in Export PNG file jfree.orgWe are supporting a customer that wants to see charts in Hangul(Korean). I have the text being set to the unicode representing the Hangul characters that I want. unicodeFont = new Font("Arialuni", Font.PLAIN, 12); I verified that arialuni.ttf is on my box. But when I generate the charts, they show up as squares, not hangul unicode characters. I would be greatful ... |
10. Increase DPI for PNG generated from a 3DPie Chart jfree.orgIs there any way to increase the DPI for a PNG generated from a pie chart ? I would like to have 96DPI instead of 24 in order to improve the image clarity when adding it to a PDF file. With 24DPI the image looks a bit fuzzy. Here is the code the I am currently using Code: Select all ... |
11. Problems displaying png files in IE jfree.orgI am currently using jfreecharts with cewolf to generate some statistics graphs. I am able to present the data in bar graphs and steps, but having inconsistent behavior with linesandshapes graphs. We have run several tests: image size does not seem to be a problem, an image can be displayed once and when refreshing the image cannot be displayed. At refresh ... |
12. export a PNG file with 8 bits jfree.org |
13. Can not set backgroun to be transparent with PNG jfree.orgHi all, I am trying to display a pie chart with a transparent background in a browser. I am using the PNG format and enable transparency when creating the picture. This does not seem to work though and the background is all black instead. I've copied the bit of code at the bottom, this is a servlet. How can I force ... |
14. Problem writing chart as PNG when chart has no data. jfree.orgI'm trying to use the nodatamessage to show an empty chart when there is no data. When I call ChartUtilities.writeChartAsPNG(outputStream, chart, 1024, 768) I get an IOException. This same output code works fine when the chart contains data. Code: Code: Select all JFree Chartchart = ChartFactory.createTimeSeriesChart(_jobName, ... |
16. Chart object from existing PNG jfree.orgI need a customized legend where data is arranged in HTML Table like layout of rows and columns. since this was not possible using JFreeChart i created it in PDF and then saved the PDF as PNG using PDFRenderer. Now i need to get back a JFreeChart or LegendTitle type object from existing PNG file. Is it possible to do that? ... |
17. How to return one PNG object from a JFreeChart jfree.orgHello I am using JFreeChart 1.1.11. I would like include this java library into a web application (Servlet Bean and JSP) Inside one bean, I would like write one getxxxx method, with the followed parameters imput parameter: JFreeChart object Output parameter: JPEG or PNG object How can I. Could you help me Thank in advance |
18. Customizing PNG encoded charts issue jfree.orgI'm having an issue customizing the background and other properties of charts that are encoded as PNG. Here is my code... JFreeChart chart = ChartFactory.createTimeSeriesChart(...); XYPlot plot = (XYPlot) chart.getPlot(); plot.setBackgroundPaint(Color.white); // Doesn't work, always gray // ..... plot stuff and other chart configs ........ chart.setBackgroundPaint(Color.red); // Or what ever color, none of them work KeypointPNGEncoderAdapter encoder = new KeypointPNGEncoderAdapter(); encoder.setEncodingAlpha(true); ... |
19. problem writing .png files jfree.orgWhen i create a JFreeChart and writes it to a .jpg file, it works fine, but when i write it to a .png file, nothing shows up. I dont get any errors - just an empty file. I use the following method to write the chart: JFreeChart chart = ....Some code that creates my JFreeChart... OutputStream os = new FileOutputStream("filename.jpg"); ChartUtilities.writeChartAsJPEG(os, ... |
20. PNG alpha layer jfree.org |