aspose file tools*
The moose likes Other Open Source Projects and the fly likes Zoom in/out a chart graph 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 "Zoom in/out a chart graph" Watch "Zoom in/out a chart graph" New topic
Author

Zoom in/out a chart graph

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

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 ?

thanks.
[ September 14, 2008: Message edited by: omar Bakr ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Zoom in/out a chart graph