It seems to me that in openoffice UNO API all it matters is the interface. Therefore if i can redefine the interface, i may even use the jfreechart library behind the scene to draw the chart in the canvas.
if i use the jfreechart library, i need a way to map the spreadsheet data to the format expected by jfreechart. I believe i need to married the jfreechart with com:sun

chart2 in UNO. The jfreechart library is a good candidate to physically draw the chart in the canvas while the chart2 interface already have the infrastructure in place to understand the data in the spreadsheet like range, columns etc.
can someone please advise me how to rewrite the UNO interface so it can use jfreechart behind the scene to draw a complex chart type ?
i know this is a challenging problem. I hope i can find a smart person in this forum who can give me Ideas & hints how to tackle this problem.
Regards.