Search found 62 matches
- Tue Apr 27, 2010 7:26 pm
- Forum: JFreeChart
- Topic: ChartUtilities formats
- Replies: 3
- Views: 5242
Re: ChartUtilities formats
I can't speak for David but I suspect he doesn't want a dependency on either library. I haven't looked at ChartUtilities...
- Mon Apr 26, 2010 7:34 pm
- Forum: JFreeChart
- Topic: ChartUtilities formats
- Replies: 3
- Views: 5242
Re: ChartUtilities formats
JFreeChart supports SVG output using the Apache Batik library. I have also used the Freehep vector graphics library to create .swf files using Graphics2D, not with JFreechart, but it should work too.
- Mon Apr 26, 2010 7:31 pm
- Forum: JFreeChart
- Topic: Transparent Background
- Replies: 3
- Views: 8795
Re: Transparent Background
What kind of image are you creating? I had a similar issue with PNG images, though I was doing some non-standard JFreeChart stuff though. I am not sure which of the following was necessary with standard JFreechart output to an image, and which was self-imposed... I ended up making a 256 color indexe...
- Mon Mar 29, 2010 7:36 pm
- Forum: JFreeChart
- Topic: TickUnits use wrong hours
- Replies: 6
- Views: 10552
Re: TickUnits use wrong hours
David, Keshava Here is my version of rotated labels, which also sets the height properly. (replace Math.PI / -4.0 with your favorite angle in radians) Biggest issue I see with incorporating it into JFreechart codebase would be that if the labels are long enough, and the Y-axis not wide enough, the l...
- Fri Feb 19, 2010 5:14 pm
- Forum: JFreeChart
- Topic: Web-based Drilldown
- Replies: 1
- Views: 3827
Re: Web-based Drilldown
That doesn't sound quite right. The drill-down links can be to other dynamically generated content. The image maps are created dynamically alongside the chart. I am not sure of the details but there should be some examples around. If SVG is a possibility for you (meaning your users are not using Int...
- Fri Feb 19, 2010 5:06 pm
- Forum: JFreeChart
- Topic: Transparent Background
- Replies: 3
- Views: 8795
Re: Transparent Background
Call setBackgroundPaint(null) on the chart and on its plot, the legend, etc. If you want a partially transparent color instead of full transparency, use the appropriate constructor for java.awt.Color and pass that object to the same setBackgroundPaint() methods. Output to an image format that suppor...
- Fri Feb 19, 2010 4:57 pm
- Forum: JFreeChart
- Topic: real time plotting
- Replies: 4
- Views: 9048
Re: real time plotting
I'm not sure if your interpretation of the LGPL is correct. I am not a lawyer, and this is not legal advice, but you should be able to create your own implementation of XYDataset or any other interfaces etc. within JFreeChart, that are inputs to the library. So long as you are not modifying the sour...
- Fri Feb 19, 2010 4:48 pm
- Forum: JFreeChart
- Topic: Legend links
- Replies: 1
- Views: 3093
Re: Legend links
Maybe with an imagemap... An alternative is to draw the chart with no legend, and create the legend yourself adjacent to it using plain old HTML. You can make the colored boxes or lines etc. using CSS-styled divs., img tags, SVG, etc. I've found that an HTML table works pretty well as a legend and a...
- Fri Feb 19, 2010 4:43 pm
- Forum: JFreeChart
- Topic: HELP needed with Tick Units Conversion
- Replies: 2
- Views: 3940
Re: HELP needed with Tick Units Conversion
Sachin, I accomplish essentially the same thing you are asking about by explicitly setting the margin and bounds of both Y axes, using setLowerMargin(), setUpperMargin(), and setRangeWithMargins() on both. In my case my left axis is a value and the right is a percent. I do not bind any datasets to t...
- Wed Jan 27, 2010 10:57 pm
- Forum: JFreeChart
- Topic: Automatic refresh of charts - Ajax?
- Replies: 9
- Views: 21895
Re: Automatic refresh of charts - Ajax?
How do I default an enter-press to a non-submit button? I'd like to make a search bar were the user can press enter, and the results are posted without having to refresh the page. If I make the "search" button a submit button, the page will refresh. If I make the "search" button a regular button, t...
- Mon Dec 21, 2009 8:59 pm
- Forum: JFreeChart
- Topic: Mouse Events for Web
- Replies: 1
- Views: 3018
Re: Mouse Events for Web
You can generate an image map and use that for chart interactivity. Or you can put JFreeChart in an applet. Or you can generate SVG and handle mouse events via javascript - like this: http://www.svgopen.org/2009/papers/7-En ... Mechanism/
- Thu Dec 10, 2009 6:11 pm
- Forum: JFreeChart
- Topic: chart zoom for jsp implementation
- Replies: 1
- Views: 3569
Re: chart zoom for jsp implementation
1. Use SVG. Augment generated SVG with javascript mouse capture / drag to implement zoom and pan, or just let the user do those however the browser lets them. Different browsers use different keystrokes combined with the mouse for zoom and pan. Also full page zoom (Ctrl + / -) works for SVG. If you ...
- Tue Dec 08, 2009 6:15 pm
- Forum: JFreeChart
- Topic: DST Time Series Duplicate
- Replies: 3
- Views: 9725
Re: DST Time Series Duplicate
Hi Alex, I had a similar problem, and I no longer do. 1) I am using FixedMillisecond instead of Second. 2) I have an XML layer which converts Dates to strings via SimpleDateFormat, and then back to Dates again from the XML in the rendering layer. With many format strings, the conversion is not safe ...
- Fri Oct 23, 2009 10:56 pm
- Forum: JFreeChart
- Topic: Export Stacked bar chart to MS Excel..
- Replies: 6
- Views: 14106
Re: Export Stacked bar chart to MS Excel..
I think its called Apache POI - it can produce Excel files among other things. Very low-level API IIRC. You have to know a lot about what you are trying to do. There are other 3rd party tools to produce Excel files that are more like templates that you fill data in to. I have found CSV to be a prett...
- Fri Oct 23, 2009 10:51 pm
- Forum: JFreeChart
- Topic: Automatic refresh of charts - Ajax?
- Replies: 9
- Views: 21895
Re: Automatic refresh of charts - Ajax?
Thoughts... First - If the charts are small enough - either because the physical dimensions (pixels) are small or the data density is small then reloading the entire chart every few seconds is practicable even for JfreeChart. If you use SVG and gzip compression, even physically large charts would be...