remiohead wrote:1. To be able to specify a url for an image (possibly a setImageUrl(String url) method in SVGGraphics2D). It would be the responsibility of the caller to set the image source prior to calling drawImage() and clear afterwards.
At the moment there is a RenderingHint (SVGHints.KEY_IMAGE_HANDLING) to control whether the image is embedded or referenced. The referencing option isn't very flexible (there isn't a way to specify a custom URL) but I think it could be modified to support what you are looking for. I'll try some options.
remiohead wrote:2. To be able to specify an ID for the next element drawn (for example, useful for attaching event handlers in the browser). Perhaps an interface IdProvider with a method called getId(Object context) or something like that which can be set in SVGGraphics2D.
This could also be achieved by adding a new rendering hint (the advantage of using RenderingHints is that you can add them to any Graphics2D and they will be silently ignored by different Graphics2D implementations, so your code doesn't need to check for SVGGraphics2D specifically). I'm undecided yet about whether to validate the ids (for uniqueness) or leave that as a responsibility for the caller. Any thoughts?
remiohead wrote:3. Not all of the gradients supported in JFreeChart work yet (GradientPaintTransformType.CENTER_VERTICAL and GradientPaintTransformType.CENTER_HORIZONTAL).
I'll take a look at this. I have a feeling it is not completely straightforward, but I'll see.
remiohead wrote:What is the best way for us to support this project? We brought the JFreeChart developer guide a few years back, but we will gladly purchase it again if that's how you're taking contributions.
I've created a couple of products for sale so please take a look at those and see if there is something that would be useful for you. Orson Charts is a 3D chart library for Java (and soon Android), and OrsonPDF is similar to JFreeSVG but generates PDF output. Another useful contribution is just to make people aware of JFreeChart, JFreeSVG, Orson Charts and Orson PDF (via word-of-mouth, blogs, Twitter etc). I have a limited advertising budget and, in any case, word of mouth is the best.