draws annotations when clipped on the right side
This commit is contained in:
parent
84b7cb3c5d
commit
8c6ebc4387
@ -68,7 +68,7 @@ public class XLegendPainter extends OHLCChartPainter {
|
|||||||
double x;
|
double x;
|
||||||
int y = 0;
|
int y = 0;
|
||||||
|
|
||||||
for (n = first_bar, x = 0; x < size.width; x += ticksize) {
|
for (n = first_bar, x = 0; x < size.width+em_size*3; x += ticksize) {
|
||||||
|
|
||||||
if (n % long_tick == 0) {
|
if (n % long_tick == 0) {
|
||||||
g.drawLine((int) x, y, (int) x, y + em_size);
|
g.drawLine((int) x, y, (int) x, y + em_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user