File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes openoffice combined chart (UNO API) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "openoffice combined chart (UNO API)" Watch "openoffice combined chart (UNO API)" New topic

openoffice combined chart (UNO API)

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

i have a standard OHLC chart which could be drawn on OO perfectly. OO could draw the OHLC chart but could not combine it with other line charts in the same graph .
What we needed is a way to modify the OO code so that it could superimpose charts with same coordinate system to appear on the same graph.
The com:sun:star:chart API is very rigid on the chart type so you need to develop new chart type to take care of our needs and it is not flexible to use this approach.
The com:sum:star:chart2 API appears to be the answer as it has the infrastructure in place to allow you to draw more than one charttype on the same graph under the same coordinate system. However, I have never tried this feature out.

does anyone know how to combine two chart types (candlestick and line chart) in same coordinate system ? i need to do this programaticaly using java chart or chart2 module.

i would appreciate any small snippet code showing how to achieve this charttype combination.

I agree. Here's the link:
subject: openoffice combined chart (UNO API)
It's not a secret anymore!