Search found 19 matches

by dunabur
Thu Jul 13, 2017 7:57 pm
Forum: JFreeChart
Topic: Scrollable, autoadjustable financial chart
Replies: 9
Views: 10736

Re: Scrollable, autoadjustable financial chart

The initial chart itself is wrong. The Y axis should autoadjust to the viewable min and max within the part of the data that I set with domainAxis.setRange() , however I do not know how. I suspect that once I start scrolling through the chart with ctrl-leftmouse drag, this needs to be set again for ...
by dunabur
Thu Jul 13, 2017 2:22 pm
Forum: JFreeChart
Topic: Scrollable, autoadjustable financial chart
Replies: 9
Views: 10736

Re: Scrollable, autoadjustable financial chart

Here is the link for the data that the code uses: https://www.dropbox.com/s/rvsawn72dah2j ... g.csv?dl=0
by dunabur
Thu Jul 13, 2017 1:20 pm
Forum: JFreeChart
Topic: Scrollable, autoadjustable financial chart
Replies: 9
Views: 10736

Re: Scrollable, autoadjustable financial chart

Thanks for your reply paradoxoff. My code basically is candlestickdemo. I added some code to zoom into a subset of the data but Y axis values do not get updated to the visible min and max values on the chart. Now when I use ctrl-leftmouse drag, I can scroll horizontally, but again the Y axis does no...
by dunabur
Sat Jun 24, 2017 12:23 pm
Forum: JFreeChart
Topic: Scrollable, autoadjustable financial chart
Replies: 9
Views: 10736

Scrollable, autoadjustable financial chart

Hi everyone, I am trying to build a financial chart with features just like can be found in any chart program, the basic ones that it can be updated when new data arrives, that it can be scrolled, and that the chart autoadjusts to the visible highs and lows. The thing is that I am not sure what the ...