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
Copy file name to clipboardExpand all lines: docs/00_0_basics.fsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ let myTrace = Trace("scatter") // create a scatter trace
77
77
myTrace?x <-[0;1;2]// set the x property (the x dimension of the data)
78
78
myTrace?y <-[0;1;2]// set the y property (the y dimension of the data)
79
79
80
-
GenericChart.ofTraceObject myTrace // create a generic chart (layout and config are empty objects)
80
+
GenericChart.ofTraceObject falsemyTrace // create a generic chart (layout and config are empty objects. When using useDefaults = true, default styling will be applied.)
premade templates can be accessed via the `ChartTemplates` module. In fact, the `ChartTemplates.plotly` template is always active by default (see [global defaults](./005_defaults.html))
here are then contents of the template `plotly` which is used by default for all charts:
52
+
53
+
*)
54
+
55
+
openDynamicObj
56
+
57
+
(***include-output***)
58
+
ChartTemplates.plotly
59
+
|> DynObj.print
60
+
61
+
(**
62
+
63
+
## Creating custom templates
64
+
65
+
Chart Templates consist of a `Layout` object and a collection of `Trace` objects. Both are used to set default values for all possible styling options:
0 commit comments