@@ -52,6 +52,7 @@ type Template() =
52
52
53
53
module ChartTemplates =
54
54
55
+ /// A colorway is an array of colors that contains the default colors for traces
55
56
module ColorWays =
56
57
57
58
let plotly = [|
@@ -67,6 +68,19 @@ module ChartTemplates =
67
68
" #FECB52"
68
69
|]
69
70
71
+ let fslab = [|
72
+ " #A00975" // darkmagenta
73
+ " #F99BDE" // lightmagenta
74
+ " #D12F67" // rose
75
+ " #ff9b9b" // light rose
76
+ " #d59a1b" // dark yellow
77
+ " #d2c572" // yellow
78
+ " #44d57f" // green
79
+ " #c6ffdd" // light green
80
+ " #438AFE" // aquamarine
81
+ " #00d4ff" // light aquamarine
82
+ |]
83
+
70
84
let light =
71
85
72
86
let defaultFont = Font.init ( Size = 40 )
@@ -116,4 +130,27 @@ module ChartTemplates =
116
130
|> DynObj.setValueOpt l " yaxis"
117
131
118
132
l
119
- )
133
+ )
134
+
135
+ let fslab =
136
+
137
+ let initFslabAxisTemplate () =
138
+ Axis.LinearAxis.init(
139
+ Linecolor = " #438AFE" ,
140
+ Zerolinecolor = " rgba(67, 138, 254, 0.5)" ,
141
+ Gridcolor = " rgba(67, 138, 254, 0.5)" ,
142
+ Tickcolor = " rgba(67, 138, 254, 0.5)" ,
143
+ Showline= true ,
144
+ Zeroline= true
145
+ )
146
+
147
+ let fslabLayoutTemplate =
148
+ Layout.init(
149
+ Paper_ bgcolor = " #2D3E50" ,
150
+ Plot_ bgcolor= " #2D3E50" ,
151
+ Font = Font.init( Color = " #438AFE" )
152
+ )
153
+ |> Layout.AddLinearAxis(( StyleParam.AxisId.X 1 ),( initFslabAxisTemplate()))
154
+ |> Layout.AddLinearAxis(( StyleParam.AxisId.Y 1 ),( initFslabAxisTemplate()))
155
+
156
+ Template.init( fslabLayoutTemplate)
0 commit comments