File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,22 @@ Chart Templates consist of a `Layout` object and a collection of `Trace` objects
6767
6868open 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+
8286let myTemplateExampleChart =
8387 Chart.Point([ 1 , 2 ])
8488 |> Chart.withTemplate myTemplate
You can’t perform that action at this time.
0 commit comments