Removed unnecesary imports
This commit is contained in:
parent
9a68389f99
commit
fddeee5c63
@ -27,11 +27,7 @@ package chart.painter;
|
|||||||
|
|
||||||
import chart.ChartDef;
|
import chart.ChartDef;
|
||||||
import chart.ChartPanel;
|
import chart.ChartPanel;
|
||||||
import java.awt.Color;
|
|
||||||
import java.awt.Dimension;
|
|
||||||
import java.awt.Graphics2D;
|
import java.awt.Graphics2D;
|
||||||
import javax.swing.JPanel;
|
|
||||||
import javax.swing.JScrollBar;
|
|
||||||
import sesim.OHLCData;
|
import sesim.OHLCData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -66,6 +62,10 @@ abstract public class ChartPainter {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Init method scould be called before painting the chart
|
||||||
|
* @param g Graphics context
|
||||||
|
*/
|
||||||
protected final void init(Graphics2D g) {
|
protected final void init(Graphics2D g) {
|
||||||
|
|
||||||
// Calculate the number of pixels for 1 em
|
// Calculate the number of pixels for 1 em
|
||||||
@ -73,9 +73,6 @@ abstract public class ChartPainter {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int big_tick = 10;
|
|
||||||
int y = 0;
|
|
||||||
|
|
||||||
abstract public void drawChart(Graphics2D g, ChartPanel p, ChartDef def);
|
abstract public void drawChart(Graphics2D g, ChartPanel p, ChartDef def);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user