1 | void setTitle(String title) {↵ | | 1 | void setXAxis(String field) {↵
|
2 | setProperty(REPORT_CHART_TITLE,title);↵ | | 2 | setProperty(REPORT_CHART_X_AXIS,field);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | ↵
|
5 | * The caption is a description for the chart explaining↵ | | |
|
6 | * what the chart means.↵ | | |
|
7 | * @return caption↵ | | |
|
8 | */↵ | | |
|
9 | public String getCaption() {↵ | | 5 | public String getYAxis() {↵
|
10 | return getPropertyAsString(REPORT_CHART_CAPTION);↵ | | 6 | return getPropertyAsString(REPORT_CHART_Y_AXIS);↵
|
11 | }↵ | | 7 | }↵
|
12 | ↵ | | 8 | ↵
|
13 | /**↵ | | |
|
14 | * The caption is a description for the chart explaining↵ | | |
|
15 | * what the chart means.↵ | | |
|
16 | * @param caption↵ | | |
|
17 | */↵ | | |
|
18 | public void setCaption(String caption) {↵ | | 9 | public void setYAxis(String scale) {↵
|
19 | setProperty(REPORT_CHART_CAPTION,caption);↵ | | 10 | setProperty(REPORT_CHART_Y_AXIS,scale);↵
|
20 | } | | 11 | }
|