draws annotations when clipped on the right side

This commit is contained in:
7u83 2017-12-28 11:09:27 +01:00
parent 84b7cb3c5d
commit 8c6ebc4387
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class XLegendPainter extends OHLCChartPainter {
double x;
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) {
g.drawLine((int) x, y, (int) x, y + em_size);