charting works for the 1st time
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user