Fixed scale stock chart

Discussion about JFreeChart related to stockmarket charts.
Locked
lishaak
Posts: 1
Joined: Fri Jan 28, 2011 2:33 pm
antibot: No, of course not.

Fixed scale stock chart

Post by lishaak » Fri Jan 28, 2011 3:01 pm

Hi everyone

I am new to JFreeChart and my first problem is this:

I want to create a cadllestick chart which displays only a part of the series, say 100 values from 1000. The user would slide the chart window across the series using slider located below the chart. However, I can't figure out how to set the x-axis to fixed scale. When user enlarges the chart window I want the chart to show more values according to new size, not to enlarge candlesticks or gaps betwwen them. For example when the chart display 80 values and user enlarges the window by 50% I want the chart to display 120 values.

I searched the forum and google, but did not find enything useful except this patch

http://sourceforge.net/tracker/?func=de ... tid=315494

but I am not sure if thats something that would help with the issue.

Thanks in advance

Locked