Skip to content

Commit 3e6da06

Browse files
muehlmuehl
authored andcommitted
Fix doc for shapes
1 parent 59e0654 commit 3e6da06

File tree

4 files changed

+249
-238
lines changed

4 files changed

+249
-238
lines changed

docs/content/shapes.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ open FSharp.Plotly
1414
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
1515
let y' = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
1616

17-
let s1 = Options.Shape(StyleOption.ShapeType.Rectangle,2.,4.,3.,4.,Opacity=0.3,Fillcolor="#d3d3d3")
18-
let s2 = Options.Shape(StyleOption.ShapeType.Rectangle,5.,7.,3.,4.,Opacity=0.3,Fillcolor="#d3d3d3")
17+
let s1 = Shape.init (Shape.ShapeStyle.Shape(StyleParam.ShapeType.Rectangle,2.,4.,3.,4.,Opacity=0.3,Fillcolor="#d3d3d3") )
18+
let s2 = Shape.init (Shape.ShapeStyle.Shape(StyleParam.ShapeType.Rectangle,5.,7.,3.,4.,Opacity=0.3,Fillcolor="#d3d3d3") )
1919
(*** define-output:line1 ***)
2020
Chart.Line(x,y',Name="line")
2121
//|> Chart.withShape(Options.Shape(StyleOption.ShapeType.Rectangle,2.,4.,3.,4.,Opacity=0.3,Fillcolor="#d3d3d3"))

0 commit comments

Comments
 (0)