charting works for the 1st time
This commit is contained in:
parent
56ed56bd00
commit
53f839a41b
@ -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=
|
||||
|
@ -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;
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user