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: src/Plotly.NET/Layout/ObjectAbstractions/Common/Hoverlabel.fs
+24-5Lines changed: 24 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5,44 +5,63 @@ open DynamicObj
5
5
openSystem
6
6
openSystem.Runtime.InteropServices
7
7
8
-
/// Hoverlabel type inherits from dynamic object
8
+
/// Hoverlabels that appear while hovering over elements on charts
9
9
typeHoverlabel()=
10
10
inherit DynamicObj()
11
11
12
-
/// Initialized Line object
12
+
/// <summary>
13
+
/// Returns a new Hoverlabel object with the given styles
14
+
/// </summary>
15
+
/// <param name="Align">Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines</param>
16
+
/// <param name="BgColor">Sets the background color of all hover labels on graph</param>
17
+
/// <param name="BorderColor">Sets the border color of all hover labels on graph.</param>
18
+
/// <param name="Font">Sets the default hover label font used by all traces on the graph.</param>
19
+
/// <param name="GroupTitleFont">Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`.</param>
20
+
/// <param name="Namelength">Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.</param>
/// Returns a function that applies the given styles to a Legend object
43
+
/// </summary>
44
+
/// <param name="Align">Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines</param>
45
+
/// <param name="BgColor">Sets the background color of all hover labels on graph</param>
46
+
/// <param name="BorderColor">Sets the border color of all hover labels on graph.</param>
47
+
/// <param name="Font">Sets the default hover label font used by all traces on the graph.</param>
48
+
/// <param name="GroupTitleFont">Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`.</param>
49
+
/// <param name="Namelength">Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.</param>
0 commit comments