1 | String getYAxis() {↵ | | 1 | String getErrorCode(){↵
|
2 | return getPropertyAsString(REPORT_CHART_Y_AXIS);↵ | | 2 | return getPropertyAsString(ERRORCODE);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | 4 | ↵
|
| | | 5 | /**↵
|
| | | 6 | * provide an unique error code for when the test↵
|
| | | 7 | * does not pass the assert test.↵
|
| | | 8 | * @param code↵
|
| | | 9 | */↵
|
5 | public void setYAxis(String scale) {↵ | | 10 | public void setErrorCode(String code){↵
|
6 | setProperty(REPORT_CHART_Y_AXIS,scale);↵ | | 11 | setProperty(↵
|
7 | }↵ | | |
|
| | | 12 | ERRORCODE,code);↵
|
| | | 13 | }↵
|
| | | 14 | ↵
|
| | | 15 | /**↵
|
| | | 16 | * return the comma separated string for the filter↵
|
| | | 17 | */↵
|
8 | public String getXLabel() {↵ | | 18 | public String getFilterString(){↵
|
9 | return getPropertyAsString(REPORT_CHART_X_LABEL);↵ | | 19 | return getPropertyAsString(FILTER);↵
|
10 | }↵ | | 20 | }↵
|
11 | ↵ | | 21 | ↵
|
12 | /**↵ | | 22 | /**↵
|
13 | * The X data labels should be either the filename, date or some↵ | | 23 | * ↵
|
14 | * other series of values↵ | | 24 | set the filter string in comman separated format↵
|
15 | * @param label↵ | | 25 | * @param text↵
|
16 | */↵ | | 26 | */↵
|
17 | public void setXLabel(String label) {↵ | | 27 | public void setFilterString(String text){↵
|
18 | setProperty(REPORT_CHART_X_LABEL,label);↵ | | 28 | setProperty(FILTER,text);↵
|
19 | | | 29 |
|