Skip to content

Commit adfcee8

Browse files
committed
Include line options in lines+markers trace
1 parent aa656a0 commit adfcee8

10 files changed

+96
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"sizeref": 1,
2020
"sizemode": "area"
2121
},
22+
"line": {
23+
"color": "rgb(248,118,109)",
24+
"width": 2,
25+
"dash": "solid",
26+
"shape": "linear"
27+
},
2228
"xaxis": "x1",
2329
"yaxis": "y1",
2430
"type": "scatter"
@@ -42,6 +48,12 @@
4248
"sizeref": 1,
4349
"sizemode": "area"
4450
},
51+
"line": {
52+
"color": "rgb(0,191,196)",
53+
"width": 2,
54+
"dash": "solid",
55+
"shape": "linear"
56+
},
4557
"xaxis": "x1",
4658
"yaxis": "y1",
4759
"type": "scatter"

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"sizeref": 1,
2020
"sizemode": "area"
2121
},
22+
"line": {
23+
"color": "rgb(248,118,109)",
24+
"width": 2,
25+
"dash": "solid",
26+
"shape": "linear"
27+
},
2228
"xaxis": "x1",
2329
"yaxis": "y1",
2430
"type": "scatter"
@@ -42,6 +48,12 @@
4248
"sizeref": 1,
4349
"sizemode": "area"
4450
},
51+
"line": {
52+
"color": "rgb(0,191,196)",
53+
"width": 2,
54+
"dash": "solid",
55+
"shape": "linear"
56+
},
4557
"xaxis": "x1",
4658
"yaxis": "y1",
4759
"type": "scatter"
Loading

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
"sizeref": 1,
2323
"sizemode": "area"
2424
},
25+
"line": {
26+
"color": "rgb(0,0,0)",
27+
"width": 3,
28+
"dash": "solid",
29+
"shape": "linear"
30+
},
2531
"xaxis": "x1",
2632
"yaxis": "y1",
2733
"type": "scatter"
@@ -48,6 +54,12 @@
4854
"sizeref": 1,
4955
"sizemode": "area"
5056
},
57+
"line": {
58+
"color": "rgb(0,0,0)",
59+
"width": 3,
60+
"dash": "solid",
61+
"shape": "linear"
62+
},
5163
"xaxis": "x1",
5264
"yaxis": "y1",
5365
"type": "scatter"

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"sizeref": 1,
2020
"sizemode": "area"
2121
},
22+
"line": {
23+
"color": "rgb(0,0,0)",
24+
"width": 2,
25+
"dash": "solid",
26+
"shape": "linear"
27+
},
2228
"xaxis": "x1",
2329
"yaxis": "y1",
2430
"type": "scatter"
@@ -42,6 +48,12 @@
4248
"sizeref": 1,
4349
"sizemode": "area"
4450
},
51+
"line": {
52+
"color": "rgb(0,0,0)",
53+
"width": 2,
54+
"dash": "solid",
55+
"shape": "linear"
56+
},
4557
"xaxis": "x1",
4658
"yaxis": "y1",
4759
"type": "scatter"
Loading

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"sizeref": 1,
2424
"sizemode": "area"
2525
},
26+
"line": {
27+
"color": "rgb(145,12,0)",
28+
"width": 2,
29+
"dash": "solid",
30+
"shape": "linear"
31+
},
2632
"xaxis": "x1",
2733
"yaxis": "y1",
2834
"type": "scatter"
@@ -50,6 +56,12 @@
5056
"sizeref": 1,
5157
"sizemode": "area"
5258
},
59+
"line": {
60+
"color": "rgb(0,105,110)",
61+
"width": 2,
62+
"dash": "dash",
63+
"shape": "linear"
64+
},
5365
"xaxis": "x1",
5466
"yaxis": "y1",
5567
"type": "scatter"

tests/cookbook-test-suite/bars-and-lines/line-continuous-categorical-x-axis.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
"sizeref": 1,
2222
"sizemode": "area"
2323
},
24+
"line": {
25+
"color": "rgb(248,118,109)",
26+
"width": 2,
27+
"dash": "solid",
28+
"shape": "linear"
29+
},
2430
"xaxis": "x1",
2531
"yaxis": "y1",
2632
"type": "scatter"
@@ -46,6 +52,12 @@
4652
"sizeref": 1,
4753
"sizemode": "area"
4854
},
55+
"line": {
56+
"color": "rgb(0,191,196)",
57+
"width": 2,
58+
"dash": "solid",
59+
"shape": "linear"
60+
},
4961
"xaxis": "x1",
5062
"yaxis": "y1",
5163
"type": "scatter"

tests/cookbook-test-suite/bars-and-lines/line-continuous-numerical-x-axis.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
"sizeref": 1,
2222
"sizemode": "area"
2323
},
24+
"line": {
25+
"color": "rgb(248,118,109)",
26+
"width": 2,
27+
"dash": "solid",
28+
"shape": "linear"
29+
},
2430
"xaxis": "x1",
2531
"yaxis": "y1",
2632
"type": "scatter"
@@ -46,6 +52,12 @@
4652
"sizeref": 1,
4753
"sizemode": "area"
4854
},
55+
"line": {
56+
"color": "rgb(0,191,196)",
57+
"width": 2,
58+
"dash": "solid",
59+
"shape": "linear"
60+
},
4961
"xaxis": "x1",
5062
"yaxis": "y1",
5163
"type": "scatter"

tests/testthat/test-ggplot-path-line-symbols.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"sizeref": 1,
2020
"sizemode": "area"
2121
},
22+
"line": {
23+
"color": "rgb(0,0,0)",
24+
"width": 2,
25+
"dash": "solid",
26+
"shape": "linear"
27+
},
2228
"xaxis": "x1",
2329
"yaxis": "y1",
2430
"type": "scatter"
@@ -42,6 +48,12 @@
4248
"sizeref": 1,
4349
"sizemode": "area"
4450
},
51+
"line": {
52+
"color": "rgb(0,0,0)",
53+
"width": 2,
54+
"dash": "solid",
55+
"shape": "linear"
56+
},
4557
"xaxis": "x1",
4658
"yaxis": "y1",
4759
"type": "scatter"

0 commit comments

Comments
 (0)