Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

openoffice combined chart (UNO API)  RSS feed

Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!