Skip to content

Commit f73dc3b

Browse files
committed
fix identation?
1 parent df88bb2 commit f73dc3b

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

docs/00_4_templates.fsx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,22 @@ Chart Templates consist of a `Layout` object and a collection of `Trace` objects
6767

6868
open Plotly.NET.TraceObjects
6969

70-
let myTemplate =
71-
Template.init(
72-
layoutTemplate = Layout.init(
73-
Title = Title.init("I will always be there now!")
74-
),
75-
TraceTemplates = [
76-
Trace2D.initScatter(Trace2DStyle.Scatter(
77-
Marker = Marker.init(Symbol = StyleParam.MarkerSymbol.ArrowLeft, Size = 20)
78-
))
79-
]
70+
let layoutTemplate =
71+
Layout.init(
72+
Title = Title.init("I will always be there now!")
8073
)
8174

75+
let traceTemplates =
76+
[
77+
Trace2D.initScatter(
78+
Trace2DStyle.Scatter(
79+
Marker = Marker.init(Symbol = StyleParam.MarkerSymbol.ArrowLeft, Size = 20)
80+
)
81+
)
82+
]
83+
84+
let myTemplate = Template.init(layoutTemplate, traceTemplates)
85+
8286
let myTemplateExampleChart =
8387
Chart.Point([1,2])
8488
|> Chart.withTemplate myTemplate

0 commit comments

Comments
 (0)