charting works for the 1st time

This commit is contained in:
7u83 2017-10-02 16:48:24 +02:00
parent 56ed56bd00
commit 53f839a41b
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#Mon, 02 Oct 2017 16:12:59 +0200
#Mon, 02 Oct 2017 16:43:06 +0200
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=

View File

@ -113,7 +113,7 @@ public class Chart1 extends javax.swing.JPanel implements QuoteReceiver, Adjustm
//this.xbar.setMaximum(994000);
XLegendChartPainter p = new XLegendChartPainter();
data = Globals.se.getOHLCdata(60000);
data = Globals.se.getOHLCdata(60000*60);
ChartDef def = new ChartDef();
def.x_unit_width = 1.0;

View File

@ -182,7 +182,7 @@ public class ChartTestDialog extends javax.swing.JDialog implements QuoteReceive
@Override
public void UpdateQuote(Quote q) {
OHLCData data = Globals.se.getOHLCdata(60000);
OHLCData data = Globals.se.getOHLCdata(60000*60*4);
this.jScrollBar1.setMaximum(data.size());
repaint();
System.out.printf("SETMAXIMUM: %d", data.size());