1 | for (int i = rendererCount - 1; i >= 0; i--) {↵ | | 1 | for (int i = rendererCount - 1; i >= 0; i--) {↵
|
2 | XYItemRenderer r = getRenderer(i);↵ | | 2 | XYItemRenderer r = getRenderer(i);↵
|
3 | if (i >= getDatasetCount()) { // we need the dataset to make↵ | | 3 | if (i >= getDatasetCount()) { // we need the dataset to make↵
|
4 | continue; // a link to the axes↵ | | 4 | continue; // a link to the axes↵
|
5 | }↵ | | 5 | }↵
|
6 | if (r != null) {↵ | | 6 | if (r != null) {↵
|
7 | ValueAxis domainAxis = getDomainAxisForDataset(i);↵ | | 7 | ValueAxis domainAxis = getDomainAxisForDataset(i);↵
|
8 | ValueAxis rangeAxis = getRangeAxisForDataset(i);↵ | | 8 | ValueAxis rangeAxis = getRangeAxisForDataset(i);↵
|
9 | r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis,↵ | | 9 | r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis,↵
|
10 | Layer.BACKGROUND, info);↵ | | 10 | Layer.FOREGROUND, info);↵
|
11 | | | 11 |
|