You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""var data = [{"type":"scattersmith","mode":"lines+markers+text","imag":[0.5,1.0,2.0,3.0],"real":[0.5,1.0,2.0,3.0],"text":["Pretty","Cool","Plot","Huh?"],"textposition":"top center","marker":{},"line":{}}];"""
54
+
|> chartGeneratedContains scatterSmithChart
55
+
)
56
+
testCase "Scatter layout"(fun()->
57
+
emptyLayout scatterSmithChart
58
+
)
59
+
]
60
+
61
+
[<Tests>]
62
+
let``Smith Point charts`` =
63
+
testList "SmithCharts.Point charts"[
64
+
testCase "Point data"(fun()->
65
+
"""var data = [{"type":"scattersmith","mode":"markers","imag":[0.5,1.0,2.0,3.0],"real":[0.5,1.0,2.0,3.0],"marker":{},"line":{}}];"""
66
+
|> chartGeneratedContains pointSmithChart
67
+
)
68
+
testCase "Point layout"(fun()->
69
+
emptyLayout pointSmithChart
70
+
)
71
+
]
72
+
73
+
[<Tests>]
74
+
let``Smith Line charts`` =
75
+
testList "SmithCharts.Line charts"[
76
+
testCase "Line data"(fun()->
77
+
"""var data = [{"type":"scattersmith","mode":"lines","imag":[0.5,1.0,2.0,3.0],"real":[0.5,1.0,2.0,3.0],"marker":{},"line":{"color":"rgba(128, 0, 128, 1.0)","dash":"dashdot"}}];"""
78
+
|> chartGeneratedContains lineSmithChart
79
+
)
80
+
testCase "Line layout"(fun()->
81
+
emptyLayout lineSmithChart
82
+
)
83
+
]
84
+
85
+
[<Tests>]
86
+
let``Smith Bubble charts`` =
87
+
testList "SmithCharts.Bubble charts"[
88
+
testCase "Bubble data"(fun()->
89
+
"""var data = [{"type":"scattersmith","mode":"markers+text","imag":[0.5,1.0,2.0,3.0],"real":[0.5,1.0,2.0,3.0],"text":["one","two","three","four","five","six","seven"],"textposition":"top center","marker":{"size":[10,20,30,40]},"line":{}}];"""
0 commit comments