1 | if (this.domainAxisPropertyPanel != null) {↵ | | 1 | if (this.rangeAxisPropertyPanel != null) {↵
|
2 | Axis domainAxis = null;↵ | | 2 | Axis rangeAxis = null;↵
|
3 | if (plot instanceof CategoryPlot) {↵ | | 3 | if (plot instanceof CategoryPlot) {↵
|
4 | CategoryPlot p = (CategoryPlot) plot;↵ | | 4 | CategoryPlot p = (CategoryPlot) plot;↵
|
5 | domainAxis = p.getDomainAxis();↵ | | 5 | rangeAxis = p.getRangeAxis();↵
|
6 | }↵ | | 6 | }↵
|
7 | else if (plot instanceof XYPlot) {↵ | | 7 | else if (plot instanceof XYPlot) {↵
|
8 | XYPlot p = (XYPlot) plot;↵ | | 8 | XYPlot p = (XYPlot) plot;↵
|
9 | domainAxis = p.getDomainAxis();↵ | | 9 | rangeAxis = p.getRangeAxis();↵
|
10 | }↵ | | 10 | }↵
|
11 | if (domainAxis != null) {↵ | | 11 | if (rangeAxis != null) {↵
|
12 | this.domainAxisPropertyPanel.setAxisProperties(domainAxis);↵ | | 12 | this.rangeAxisPropertyPanel.setAxisProperties(rangeAxis);↵
|
13 | | | 13 |
|