Skip to content

Commit 45faf35

Browse files
committed
Update examples
1 parent 8fe2331 commit 45faf35

2 files changed

Lines changed: 25 additions & 13 deletions

File tree

examples/TestTable.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Test Table
2-
Use first column as X dataset and others as Y values
2+
Use first column as X dataset , and second and third columns as Y values
33
``` tracker
44
searchType: table
55
searchTarget: data/Tables[0][0], data/Tables[0][1], data/Tables[0][2]
@@ -10,6 +10,18 @@ line:
1010
showLegend: true
1111
```
1212

13+
Use first column as X dataset , and third and forth columns as Y values
14+
``` tracker
15+
searchType: table
16+
searchTarget: data/Tables[0][0], data/Tables[0][2], data/Tables[0][3]
17+
xDataset: 0
18+
line:
19+
yAxisLocation: none, left, right
20+
lineColor: none, yellow, red
21+
showLegend: true
22+
legendPosition: right
23+
```
24+
1325
Use first column as X dataset. Second column posses multiple values in each cell.
1426
``` tracker
1527
searchType: table

examples/data/Tables.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Tables
22

33
## Weight Table
4-
Date | Jeffrey (kg) | Lucas (kg) |
5-
| - | - | -
6-
| 2021-05-01 | 60.0 | 20.1 |
7-
2021-05-02 | 62.1 | 20.5
8-
| 2021-05-03 | 62.2 | 20.3 |
9-
| 2021-05-04 | 62.3 | 20.4 |
10-
2021-05-05 | 62.2 | 20.2
11-
| 2021-05-06 | 62.4 | 21.0 |
12-
| 2021-05-07 | 62.6 | 20.9 |
13-
| 2021-05-08 | 62.3 | 20.9
14-
| 2021-05-09 | 62.2 | 20.3 |
15-
| 2021-05-10 | 62.1 | 20.8 |
4+
Date | Jeffrey (kg) | Lucas (kg) | Anne (kg) |
5+
| - | - | - | - |
6+
| 2021-05-01 | 60.0 | 20.1 | 18.2
7+
2021-05-02 | 62.1 | 20.5 | 18.1 |
8+
| 2021-05-03 | 62.2 | 20.3 | 18.3
9+
| 2021-05-04 | 62.3 | 20.4 | 18.2 |
10+
2021-05-05 | 62.2 | 20.2 | 18.4
11+
| 2021-05-06 | 62.4 | 21.0 | 18.4
12+
| 2021-05-07 | 62.6 | 20.9 | 18.3 |
13+
| 2021-05-08 | 62.3 | 20.9 | 18.2
14+
| 2021-05-09 | 62.2 | 20.3 | 18.5
15+
| 2021-05-10 | 62.1 | 20.8 | 18.9
1616

1717

1818
## Running Records

0 commit comments

Comments
 (0)