Skip to content

Commit 2e0931a

Browse files
committed
Ran tests/cookbook-test-suite/bars_and_lines.R manually
1 parent fe2a484 commit 2e0931a

File tree

42 files changed

+72
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+72
-30
lines changed

tests/cookbook-test-suite/bars-and-lines/bar-categorical-numerical-labels.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"data": [
33
{
44
"x": [
5-
null,
6-
null
5+
"0.5",
6+
"1",
7+
"2"
78
],
89
"y": [
910
13.23,
@@ -20,8 +21,9 @@
2021
},
2122
{
2223
"x": [
23-
null,
24-
null
24+
"0.5",
25+
"1",
26+
"2"
2527
],
2628
"y": [
2729
7.98,

tests/cookbook-test-suite/bars-and-lines/basic-line-swapped-vars.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
16.24
1111
],
1212
"mode": "lines",
13-
"name": "Lunch",
13+
"name": "Lunch.Lunch",
1414
"line": {
1515
"color": "rgb(248,118,109)",
1616
"width": 2,
@@ -31,7 +31,7 @@
3131
17.42
3232
],
3333
"mode": "lines",
34-
"name": "Dinner",
34+
"name": "Dinner.Dinner",
3535
"line": {
3636
"color": "rgb(0,191,196)",
3737
"width": 2,

tests/cookbook-test-suite/bars-and-lines/basic-line-with-points-fully-styled.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,36 @@
22
"data": [
33
{
44
"x": [
5-
"Lunch",
6-
"Dinner",
7-
null,
85
"Lunch",
96
"Dinner"
107
],
118
"y": [
129
13.53,
13-
16.81,
14-
null,
10+
16.81
11+
],
12+
"mode": "lines",
13+
"name": "Female",
14+
"line": {
15+
"color": "rgb(0,0,0)",
16+
"width": 1.5,
17+
"dash": "solid",
18+
"shape": "linear"
19+
},
20+
"xaxis": "x1",
21+
"yaxis": "y1",
22+
"type": "scatter"
23+
},
24+
{
25+
"x": [
26+
"Lunch",
27+
"Dinner"
28+
],
29+
"y": [
1530
16.24,
1631
17.42
1732
],
1833
"mode": "lines",
34+
"name": "Male",
1935
"line": {
2036
"color": "rgb(0,0,0)",
2137
"width": 1.5,
@@ -24,7 +40,6 @@
2440
},
2541
"xaxis": "x1",
2642
"yaxis": "y1",
27-
"showlegend": false,
2843
"type": "scatter"
2944
},
3045
{

tests/cookbook-test-suite/bars-and-lines/basic-line-with-symbols.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,36 @@
22
"data": [
33
{
44
"x": [
5-
"Lunch",
6-
"Dinner",
7-
null,
85
"Lunch",
96
"Dinner"
107
],
118
"y": [
129
13.53,
13-
16.81,
14-
null,
10+
16.81
11+
],
12+
"mode": "lines",
13+
"name": "Female",
14+
"line": {
15+
"color": "rgb(0,0,0)",
16+
"width": 2,
17+
"dash": "solid",
18+
"shape": "linear"
19+
},
20+
"xaxis": "x1",
21+
"yaxis": "y1",
22+
"type": "scatter"
23+
},
24+
{
25+
"x": [
26+
"Lunch",
27+
"Dinner"
28+
],
29+
"y": [
1530
16.24,
1631
17.42
1732
],
1833
"mode": "lines",
34+
"name": "Male",
1935
"line": {
2036
"color": "rgb(0,0,0)",
2137
"width": 2,
@@ -24,7 +40,6 @@
2440
},
2541
"xaxis": "x1",
2642
"yaxis": "y1",
27-
"showlegend": false,
2843
"type": "scatter"
2944
},
3045
{

tests/cookbook-test-suite/bars-and-lines/finished-bar-bw-theme.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"data": [
33
{
44
"x": [
5-
null
5+
"Lunch",
6+
"Dinner"
67
],
78
"y": [
89
13.53,
@@ -22,7 +23,8 @@
2223
},
2324
{
2425
"x": [
25-
null
26+
"Lunch",
27+
"Dinner"
2628
],
2729
"y": [
2830
16.24,

tests/cookbook-test-suite/bars-and-lines/finished-line.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
16.81
1111
],
1212
"mode": "lines",
13-
"name": "Female.Female",
13+
"name": "Female.Female.Female",
1414
"line": {
1515
"color": "rgb(145,12,0)",
1616
"width": 1,
@@ -31,7 +31,7 @@
3131
17.42
3232
],
3333
"mode": "lines",
34-
"name": "Male.Male",
34+
"name": "Male.Male.Male",
3535
"line": {
3636
"color": "rgb(0,105,110)",
3737
"width": 1,

tests/cookbook-test-suite/bars-and-lines/multi-var-grouped-bar-black-outline.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"data": [
33
{
44
"x": [
5-
null
5+
"Lunch",
6+
"Dinner"
67
],
78
"y": [
89
13.53,
@@ -22,7 +23,8 @@
2223
},
2324
{
2425
"x": [
25-
null
26+
"Lunch",
27+
"Dinner"
2628
],
2729
"y": [
2830
16.24,

tests/cookbook-test-suite/bars-and-lines/multi-var-grouped-bar-colored.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"data": [
33
{
44
"x": [
5-
null
5+
"Lunch",
6+
"Dinner"
67
],
78
"y": [
89
13.53,
@@ -22,7 +23,8 @@
2223
},
2324
{
2425
"x": [
25-
null
26+
"Lunch",
27+
"Dinner"
2628
],
2729
"y": [
2830
16.24,

tests/cookbook-test-suite/bars-and-lines/multi-var-grouped-bar-reversed-vars.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"data": [
33
{
44
"x": [
5-
null
5+
"Female",
6+
"Male"
67
],
78
"y": [
89
13.53,
@@ -22,7 +23,8 @@
2223
},
2324
{
2425
"x": [
25-
null
26+
"Female",
27+
"Male"
2628
],
2729
"y": [
2830
16.81,

tests/cookbook-test-suite/bars-and-lines/multi-var-grouped-bar.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"data": [
33
{
44
"x": [
5-
null
5+
"Lunch",
6+
"Dinner"
67
],
78
"y": [
89
13.53,
@@ -18,7 +19,8 @@
1819
},
1920
{
2021
"x": [
21-
null
22+
"Lunch",
23+
"Dinner"
2224
],
2325
"y": [
2426
16.24,

0 commit comments

Comments
 (0)