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``ShapeLabel chart HTML codegeneration tests`` =
15
+
testList "UpstreamFeatures.PlotlyJS_2_19"[
16
+
testList "ShapeLabel"[
17
+
testCase "Rectangular shape label data"(fun()->
18
+
"""var data = [{"type":"scatter","mode":"lines","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"marker":{},"line":{}}];"""
19
+
|> chartGeneratedContains ShapeLabel.``Rectangular shape with label``
|> chartGeneratedContains ShapeLabel.``Rectangular shape with label``
24
+
)
25
+
testCase "Circular shape label with padding data"(fun()->
26
+
"""var data = [{"type":"scatter","mode":"lines","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"marker":{},"line":{}}];"""
27
+
|> chartGeneratedContains ShapeLabel.``Circular shape with label and padding``
28
+
)
29
+
testCase "Circular shape label with padding layout"(fun()->
|> chartGeneratedContains ShapeLabel.``Circular shape with label and padding``
32
+
)
33
+
testCase "Line shape label data"(fun()->
34
+
"""var data = [{"type":"scatter","mode":"lines","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"marker":{},"line":{}}];"""
35
+
|> chartGeneratedContains ShapeLabel.``Line shape with label``
"""var data = [{"type":"scatter","mode":"lines","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"marker":{},"line":{}}];"""
43
+
|> chartGeneratedContains ShapeLabel.``SVGPath shape with angled label``
0 commit comments