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
/// <param name="selections">The selections to add to the input charts layout</param>
2742
+
/// <param name="Append">If true, the input selections will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param>
Copy file name to clipboardExpand all lines: src/Plotly.NET/Layout/Layout.fs
+15
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,8 @@ type Layout() =
32
32
/// <param name="ClickMode">Determines the mode of single click interactions. "event" is the default value and emits the `plotly_click` event. In addition this mode emits the `plotly_selected` event in drag modes "lasso" and "select", but with no event data attached (kept for compatibility reasons). The "select" flag enables selecting single data points via click. This mode also supports persistent selections, meaning that pressing Shift while clicking, adds to / subtracts from an existing selection. "select" with `hovermode`: "x" can be confusing, consider explicitly setting `hovermode`: "closest" when using this feature. Selection events are sent accordingly as long as "event" flag is set as well. When the "event" flag is missing, `plotly_click` and `plotly_selected` events are not fired.</param>
33
33
/// <param name="DragMode">Determines the mode of drag interactions. "select" and "lasso" apply only to scatter traces with markers or text. "orbit" and "turntable" apply only to 3D scenes.</param>
34
34
/// <param name="SelectDirection">When `dragmode` is set to "select", this limits the selection of the drag to horizontal, vertical or diagonal. "h" only allows horizontal selection, "v" only vertical, "d" only diagonal and "any" sets no limit.</param>
35
+
/// <param name="ActiveSelection">Sets the styling of the active selection</param>
36
+
/// <param name="NewSelection">Controls the behavior of newly drawn selections</param>
35
37
/// <param name="HoverDistance">Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict.</param>
36
38
/// <param name="SpikeDistance">Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills.</param>
37
39
/// <param name="Hoverlabel">Sets the style ov hover labels.</param>
@@ -77,6 +79,7 @@ type Layout() =
77
79
/// <param name="IcicleColorWay">Sets the default icicle slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendiciclecolors`.</param>
78
80
/// <param name="Annotations">A collection containing all Annotations of this layout. An annotation is a text element that can be placed anywhere in the plot. It can be positioned with respect to relative coordinates in the plot or with respect to the actual data coordinates of the graph. Annotations can be shown with or without an arrow.</param>
79
81
/// <param name="Shapes">A collection containing all Shapes of this layout.</param>
82
+
/// <param name="Selections">A collection containing all Selections of this layout.</param>
80
83
/// <param name="Images">A collection containing all Images of this layout. </param>
81
84
/// <param name="Sliders">A collection containing all Sliders of this layout. </param>
82
85
/// <param name="UpdateMenus">A collection containing all UpdateMenus of this layout. </param>
/// <param name="ClickMode">Determines the mode of single click interactions. "event" is the default value and emits the `plotly_click` event. In addition this mode emits the `plotly_selected` event in drag modes "lasso" and "select", but with no event data attached (kept for compatibility reasons). The "select" flag enables selecting single data points via click. This mode also supports persistent selections, meaning that pressing Shift while clicking, adds to / subtracts from an existing selection. "select" with `hovermode`: "x" can be confusing, consider explicitly setting `hovermode`: "closest" when using this feature. Selection events are sent accordingly as long as "event" flag is set as well. When the "event" flag is missing, `plotly_click` and `plotly_selected` events are not fired.</param>
247
253
/// <param name="DragMode">Determines the mode of drag interactions. "select" and "lasso" apply only to scatter traces with markers or text. "orbit" and "turntable" apply only to 3D scenes.</param>
248
254
/// <param name="SelectDirection">When `dragmode` is set to "select", this limits the selection of the drag to horizontal, vertical or diagonal. "h" only allows horizontal selection, "v" only vertical, "d" only diagonal and "any" sets no limit.</param>
255
+
/// <param name="ActiveSelection">Sets the styling of the active selection</param>
256
+
/// <param name="NewSelection">Controls the behavior of newly drawn selections</param>
249
257
/// <param name="HoverDistance">Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict.</param>
250
258
/// <param name="SpikeDistance">Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills.</param>
251
259
/// <param name="Hoverlabel">Sets the style ov hover labels.</param>
@@ -291,6 +299,7 @@ type Layout() =
291
299
/// <param name="IcicleColorWay">Sets the default icicle slice colors. Defaults to the main `colorway` used for trace colors. If you specify a new list here it can still be extended with lighter and darker colors, see `extendiciclecolors`.</param>
292
300
/// <param name="Annotations">A collection containing all Annotations of this layout. An annotation is a text element that can be placed anywhere in the plot. It can be positioned with respect to relative coordinates in the plot or with respect to the actual data coordinates of the graph. Annotations can be shown with or without an arrow.</param>
293
301
/// <param name="Shapes">A collection containing all Shapes of this layout.</param>
302
+
/// <param name="Selections">A collection containing all Selections of this layout.</param>
294
303
/// <param name="Images">A collection containing all Images of this layout. </param>
295
304
/// <param name="Sliders">A collection containing all Sliders of this layout. </param>
296
305
/// <param name="UpdateMenus">A collection containing all UpdateMenus of this layout. </param>
/// Returns a new NewSelection object with the given styles
13
+
/// </summary>
14
+
/// <param name="LineColor">Sets the line color. By default uses either dark grey or white to increase contrast with background color.</param>
15
+
/// <param name="LineDash">Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").</param>
16
+
/// <param name="LineWidth">Sets the line width (in px).</param>
17
+
/// <param name="Mode">Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection.</param>
/// Returns a function that applies the given styles to a NewSelection object
35
+
/// </summary>
36
+
/// <param name="LineColor">Sets the line color. By default uses either dark grey or white to increase contrast with background color.</param>
37
+
/// <param name="LineDash">Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").</param>
38
+
/// <param name="LineWidth">Sets the line width (in px).</param>
39
+
/// <param name="Mode">Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection.</param>
0 commit comments