thanks for the reply (& sorry for delay to respond)
well what i understand from your reply is that we can manually do the combination of two chart types using OO charting wizard tools -am i correct ?
well actually my project aim is to extend the com:sun:star:chart2 module using a java OO extension (plugin).
i've been searching for some java sample code demonstrating the use of chart2 ; but i couldn't find even one single example!
let me here explain you guys the scope of my project :
I'm working on a java project which is an openoffice.org addon to draw a combined chart (candlestick+line) .
I wrote to Ingrid Halama author of com:sum:star:chart2 API but he discouraged me to use chart2 . he said "The ::com::sun::star:chart2 API is not intended for external use yet. It is an internal API that will change further."
i do not agree with Ingrid's approach. Consider that you are building a car, you need to do a lot of road test to ensure that the car would behave properly. Ingrid is building a car behind close door, it is never a good idea.
i believe The charting component is a major weakness in OO and i'm looking at ways to improve it to match the functionality of Excel.
i'm considering looking at com:sum:star:chart2 because i feel that SUN had already work on com:sum:star:chart2 for more than 2 years and they have already developed most of the infrastructure, what it needed is a way to extend it in UNO to suit my need.
However Ingrid & SUN people are not very helpful in this subject.. and it seems they don't want to cooperate on the com:sum:star:chart2 extension and want to keep it hidden from the developers community.
my first aim is to use the chart2 API to programatically draw an OO combined chart .( candlestick chart combined with line chart in same graph ).
2) i also thougth of a second approach :
It seems to me that in OO UNO 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. what do you think of this approach ? can you give me Ideas how to marry the OO chart API with the jfreechart library ? (
http://www.jfree.org/jfreechart/ )
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 marry the jfreechart with 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 you please advise me how to rewrite the UNO interface so it can use jfreechart behind the scene to draw the complex chart type (using java ) ?
I Hope i could receive advice, Ideas and hopefully some sample java code from you Guys Regarding this issue.
I know this is a hard problem to solve . this is why i posted it in this forum & i'm looking forward to get help from smart people in this forum section.
Best Regards.