Commit b7bfc97
committed
test: bar texts
* bar_test.js: Test `textposition`.
* bar_test.js: Test that `textposition` can also be restyled.
* bar_test.js: Test whether outside bars are correctly identified when
`barnorm: 'fraction'`.
* bar_attrs_relative: Updated to test the bar text functionality.
* bar_attrs_group_norm: Updated to test the bar text functionality.
* bar_attrs_relative: Reduced font size of text "Three" to ensure the
baseline image also fits the text inside the bar.
* bar_attrs_group_norm: Exercise functionality to rotate bar texts.
* bar_attrs_group_norm: Use "50%" as bar texts to ensure the bounding
box width is larger than its height (unfortunately, this wasn't case
when the baseline images were generated using "0.5", because the
height of the bounding box includes some white space).1 parent b41f3cd commit b7bfc97
File tree
5 files changed
+409
-9
lines changed- test
- image
- baselines
- mocks
- jasmine/tests
5 files changed
+409
-9
lines changedLoading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
25 | 34 | | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
0 commit comments