Is it possible to create a chart [plugin that affects the whole chart area?
Posted 15 May 2012 - 01:01 AM
Is it possible to write a plugin that draws on the whole chart area (and only once, even if the charts has multiple series)?
In my quest to prettify the BIRT charts I want to have a rounded corner border and a drop shadow (and a gradient fill, but that's doable).
If I had a preprepared bitmap I could use that as the background, but I can't see any way to generate that on the fly.
Another option would be to create a plugin that can contain a chart, but I can't see any extension points that let me do that either.
Posted 15 May 2012 - 11:41 PM
It would be too much to ask the people that do generate the report design to ask them to fire up some graphics package each time they wanted to add a chart.
I could also write an invisible plugin that did this automatically, by generating the images on the fly and adding them to every chart found, but it wouldn't have any visual feedback in the design environment and there would be no way to have a UI to configure it.
What would be nice is an extension point that lets me add to the general chart properties and an extension point that lets me draw to the entire chart area before any other blocks get drawn (after would be good too).