• Post Reply Bookmark Topic Watch Topic
  • New Topic

Zoom in/out a chart graph  RSS feed

Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Forum,

i used theopenoffice.org charting component to draw a candlestick chart.
i have a spreadsheet that holds more than 2000 columns .when i draw the candle chart with these 2000 data series ,the chart is not readable (very small).
I thought to implement a sort of zooming effect on the chart canvas .I believe zooming a graphics requires scaling the y-axis and x-axis values. is that right ?
the issue with OOo candle chart is that x-axis values that holds "dates" are treated as "categories" and should be in text format. thus there is no way to scale x-axis values by specifying a min ,max ,step date .
can you please describe me an algorithm to implement zoom in/out for a candle chart ?

[ September 14, 2008: Message edited by: omar Bakr ]
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!