Skip to content

Commit a0504d1

Browse files
committed
test: update mock bar_attrs_group_norm
* Set outside font size to 32 to force rotation. This change will test that horizontal bars rotate the bar text clockwise or anti-clockwise as appropriate.
1 parent af3f30b commit a0504d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/image/mocks/bar_attrs_group_norm.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"data":[
33
{
44
"text":[100,125,150,175],
5-
"textposition":"outside",
5+
"textposition":"outside",
6+
"outsidetextfont": {"size":32},
67
"base":4,
78
"x":[3,2,1,0],
89
"type":"bar"
910
}, {
1011
"text":[100,125,150,175],
11-
"textposition":"inside",
12+
"textposition":"inside",
1213
"base":[7,6,5,4],
1314
"x":[1,2,3,4],
1415
"type":"bar"

0 commit comments

Comments
 (0)