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
let``ScatterPolar chart HTML codegeneration tests`` =
15
+
testList "HTMLCodegen.ChartPolar"[
16
+
testList "ScatterPolar"[
17
+
]
18
+
]
19
+
20
+
modulePointPolar =
21
+
[<Tests>]
22
+
let``PointPolar chart HTML codegeneration tests`` =
23
+
testList "HTMLCodegen.ChartPolar"[
24
+
testList "PointPolar"[
25
+
testCase "Polar Point data"(fun()->
26
+
"""var data = [{"type":"scatterpolar","mode":"markers","r":[1,2,3,4,5,6,7],"theta":[0,45,90,135,200,320,184],"marker":{}}];"""
27
+
|> chartGeneratedContains PointPolar.``Simple polar point chart``
28
+
);
29
+
testCase "Polar Point layout"(fun()->
30
+
emptyLayout PointPolar.``Simple polar point chart``
31
+
);
32
+
]
33
+
]
34
+
35
+
moduleLinePolar =
36
+
[<Tests>]
37
+
let``LinePolar chart HTML codegeneration tests`` =
38
+
testList "HTMLCodegen.ChartPolar"[
39
+
testList "LinePolar"[
40
+
testCase "Polar Line data"(fun()->
41
+
"""var data = [{"type":"scatterpolar","mode":"lines","r":[1,2,3,4,5,6,7],"theta":[0,45,90,135,200,320,184],"marker":{},"line":{"color":"purple","dash":"dashdot"}}];"""
42
+
|> chartGeneratedContains LinePolar.``Simple polar line chart with line style``
43
+
);
44
+
testCase "Polar Line layout"(fun()->
45
+
emptyLayout LinePolar.``Simple polar line chart with line style``
46
+
);
47
+
]
48
+
]
49
+
50
+
moduleSplinePolar =
51
+
[<Tests>]
52
+
let``SplinePolar chart HTML codegeneration tests`` =
53
+
testList "HTMLCodegen.ChartPolar"[
54
+
testList "SplinePolar"[
55
+
testCase "Polar Spline data"(fun()->
56
+
"""var data = [{"type":"scatterpolar","mode":"lines+markers+text","r":[1,2,3,4,5,6,7],"theta":[0,45,90,135,200,320,184],"text":["one","two","three","four","five","six","seven"],"textposition":"top center","marker":{},"line":{"shape":"spline"}}];"""
0 commit comments