Removed dead code

This commit is contained in:
7u83
2017-03-27 08:40:22 +02:00
parent 2a5f9070e3
commit 82e4a85999
3 changed files with 6 additions and 16 deletions

View File

@ -284,23 +284,9 @@ public class Chart extends javax.swing.JPanel implements QuoteReceiver, Scrollab
}
/* private void rawItem_l(RenderCtx ctx, int prevx, int x, OHLCDataItem prev, OHLCDataItem item) {
if (prev == null) {
prev = item;
}
Graphics2D g = ctx.g;
Rectangle r = ctx.rect;
g.drawLine(prevx, (int) ctx.getYc(prev.close), x, (int) ctx.getYc(item.close));
g.drawLine(r.x, r.height + r.y, r.x + r.width, r.height + r.y);
}
*/
private void drawCandleItem(RenderCtx ctx, int prevx, int x, OHLCDataItem prev, OHLCDataItem i) {
if (prev == null) {
prev = i;
}
Graphics2D g = ctx.g;
Rectangle r = ctx.rect;