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/CommonAbstractions/StyleParams.fs
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -715,6 +715,22 @@ module StyleParam =
715
715
// #E#
716
716
//--------------------------
717
717
718
+
[<RequireQualifiedAccess>]
719
+
typeErrorType=
720
+
| Percent | Constant| Sqrt | Data
721
+
722
+
static membertoString=function
723
+
| Percent ->"percent"
724
+
| Constant ->"constant"
725
+
| Sqrt ->"sqrt"
726
+
| Data ->"data"
727
+
728
+
729
+
static memberconvert= ErrorType.toString >> box
730
+
overridethis.ToString()= this |> ErrorType.toString
731
+
memberthis.Convert()= this |> ErrorType.convert
732
+
733
+
718
734
/// Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9.
719
735
/// If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B.
Copy file name to clipboardExpand all lines: src/Plotly.NET/Traces/ObjectAbstractions/Error.fs
+21-11Lines changed: 21 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ type Error () =
11
11
inherit DynamicObj ()
12
12
13
13
/// <summary>Init Error type</summary>
14
+
/// <param name ="Visible">Determines whether or not this set of error bars is visible.</param>
15
+
/// <param name ="Type">Determines the rule used to generate the error bars. If "constant`, the bar lengths are of a constant value. Set this constant in `value`. If "percent", the bar lengths correspond to a percentage of underlying data. Set this percentage in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.</param>
14
16
/// <param name ="Symmetric">Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.</param>
15
17
/// <param name ="Array">Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.</param>
16
18
/// <param name ="Arrayminus">Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.</param>
@@ -24,6 +26,8 @@ type Error () =
24
26
/// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param>
/// <summary>Creates a function that applies the given style parameters to an Error object</summary>
60
+
/// <param name ="Visible">Determines whether or not this set of error bars is visible.</param>
61
+
/// <param name ="Type">Determines the rule used to generate the error bars. If "constant`, the bar lengths are of a constant value. Set this constant in `value`. If "percent", the bar lengths correspond to a percentage of underlying data. Set this percentage in `value`. If "sqrt", the bar lengths correspond to the square of the underlying data. If "data", the bar lengths are set with data set `array`.</param>
56
62
/// <param name ="Symmetric">Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.</param>
57
63
/// <param name ="Array">Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.</param>
58
64
/// <param name ="Arrayminus">Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.</param>
@@ -66,6 +72,8 @@ type Error () =
66
72
/// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param>
0 commit comments