1 | String getYAxis() {↵ | | 1 | String getSuccess(){↵
|
2 | return getPropertyAsString(REPORT_CHART_Y_AXIS);↵ | | 2 | return getPropertyAsString(SUCCESS);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | 4 | ↵
|
| | | 5 | /**↵
|
| | | 6 | * set the success message↵
|
| | | 7 | * @param success↵
|
| | | 8 | */↵
|
5 | public void setYAxis(String scale) {↵ | | 9 | public void setSuccess(String success){↵
|
6 | setProperty(REPORT_CHART_Y_AXIS,scale);↵ | | 10 | setProperty(↵
|
7 | }↵ | | |
|
| | | 11 | SUCCESS,success);↵
|
| | | 12 | }↵
|
| | | 13 | ↵
|
| | | 14 | /**↵
|
| | | 15 | * get the success code defined by the user↵
|
| | | 16 | */↵
|
8 | public String getXLabel() {↵ | | 17 | public String getSuccessCode(){↵
|
9 | return getPropertyAsString(REPORT_CHART_X_LABEL);↵ | | 18 | return getPropertyAsString(SUCCESSCODE);↵
|
10 | }↵ | | 19 | }↵
|
11 | ↵ | | |
|
12 | /**↵ | | 20 | /**↵
|
13 | * The X data labels should be either the filename, date or some↵ | | 21 | * ↵
|
14 | * other series of val↵ | | 22 | set the succes code. the success code should↵
|
15 | ues↵ | | 23 | * be unique.↵
|
16 | * @param label↵ | | 24 | * @param code↵
|
17 | */↵ | | 25 | */↵
|
18 | public void setXLabel(String label) {↵ | | 26 | public void set↵
|
| | | 27 | SuccessCode(String code){↵
|
19 | setProperty(REPORT_CHART_X_LABEL,label);↵ | | 28 | setProperty(↵
|
20 | }↵ | | |
|
21 | ↵ | | 29 | SUCCESSCODE,code);↵
|
| | | 30 | }↵
|
| | | 31 | ↵
|
| | | 32 | /**↵
|
| | | 33 | * get the failure message↵
|
| | | 34 | */↵
|
22 | public String getYLabel() {↵ | | 35 | public String getFailure(){↵
|
23 | return getPropertyAsString(REPORT_CHART_Y_LABEL);↵ | | 36 | return getPropertyAsString(FAILURE);↵
|
24 | | | 37 |
|