I'm working on 2D functions currently and got a working draft with minimum effort.
Please tell me if this is the right approach or if we should make more visible and complex model for that.
Attached are three extension classes to jfreechart and one sample applet/application.
Here is a sketch:
- Provide an interface to (XY) Dataset to get interpolated data. (Think of line charts with other means that just to "connect dots", i.e. bezier curves).
- Some XYRenderer that make use of those extra information (currently just a proof of concept, ugly one)
- Function2Ds wrapped in such an interpolateable dataset so they can be properly evaluated at all screen dots.
I havn't used this on CategoryDataset, but I assume there could be interpolated data as well and this approach scales to that (as well as 3D f.e.), too.
Let me know if this is worth stuffing into jfreechart in the first place.
Code and Example: http://www.informatik.uni-oldenburg.de/ ... rtplotter/
cu,
Christian