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/Line.fs
+76-33Lines changed: 76 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -4,77 +4,120 @@ open System.Runtime.InteropServices
4
4
openDynamicObj
5
5
openSystem
6
6
7
-
/// Line type inherits from dynamic object
7
+
/// The line object determines the style of the line in various aspect of plots such as a line connecting datums, outline of layout objects, etc..
8
8
typeLine()=
9
9
inherit DynamicObj()
10
10
11
-
/// Initialized Line object
11
+
/// <summary>
12
+
/// Returns a new Line object with the given styling.
13
+
/// </summary>
14
+
/// <param name="AutoColorScale">Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `line.colorscale`. Has an effect only if in `line.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.</param>
15
+
/// <param name="CAuto">Determines whether or not the color domain is computed with respect to the input data (here in `line.color`) or the bounds set in `line.cmin` and `line.cmax` Has an effect only if in `line.color`is set to a numerical array. Defaults to `false` when `line.cmin` and `line.cmax` are set by the user.</param>
16
+
/// <param name="CMax">Sets the upper bound of the color domain. Has an effect only if in `line.color`is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmin` must be set as well.</param>
17
+
/// <param name="CMid">Sets the mid-point of the color domain by scaling `line.cmin` and/or `line.cmax` to be equidistant to this point. Has an effect only if in `line.color`is set to a numerical array. Value should have the same units as in `line.color`. Has no effect when `line.cauto` is `false`.</param>
18
+
/// <param name="CMin">Sets the lower bound of the color domain. Has an effect only if in `line.color`is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmax` must be set as well.</param>
19
+
/// <param name="Color">Sets the line color.</param>
20
+
/// <param name="ColorAxis">Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be linked to the same color axis.</param>
21
+
/// <param name="Colorscale">Sets the line colorscale</param>
22
+
/// <param name="ReverseScale">Reverses the color mapping if true.</param>
23
+
/// <param name="ShowScale">Wether or not to show the color bar</param>
24
+
/// <param name="ColorBar">Sets the colorbar.</param>
25
+
/// <param name="Dash">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>
26
+
/// <param name="Shape">Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.</param>
27
+
/// <param name="Simplify">Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected.</param>
28
+
/// <param name="Smoothing">Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).</param>
29
+
/// <param name="Width">Sets the line width (in px).</param>
30
+
/// <param name="MultiWidth">Sets the individual line width (in px).</param>
31
+
/// <param name="OutlierColor">Sets the color of the outline of outliers</param>
32
+
/// <param name="OutlierWidth">Sets the width of the outline of outliers</param>
/// Returns a function that applies the given styles to a Line object.
80
+
/// </summary>
81
+
/// <param name="AutoColorScale">Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `line.colorscale`. Has an effect only if in `line.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.</param>
82
+
/// <param name="CAuto">Determines whether or not the color domain is computed with respect to the input data (here in `line.color`) or the bounds set in `line.cmin` and `line.cmax` Has an effect only if in `line.color`is set to a numerical array. Defaults to `false` when `line.cmin` and `line.cmax` are set by the user.</param>
83
+
/// <param name="CMax">Sets the upper bound of the color domain. Has an effect only if in `line.color`is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmin` must be set as well.</param>
84
+
/// <param name="CMid">Sets the mid-point of the color domain by scaling `line.cmin` and/or `line.cmax` to be equidistant to this point. Has an effect only if in `line.color`is set to a numerical array. Value should have the same units as in `line.color`. Has no effect when `line.cauto` is `false`.</param>
85
+
/// <param name="CMin">Sets the lower bound of the color domain. Has an effect only if in `line.color`is set to a numerical array. Value should have the same units as in `line.color` and if set, `line.cmax` must be set as well.</param>
86
+
/// <param name="Color">Sets the line color.</param>
87
+
/// <param name="ColorAxis">Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be linked to the same color axis.</param>
88
+
/// <param name="Colorscale">Sets the line colorscale</param>
89
+
/// <param name="ReverseScale">Reverses the color mapping if true.</param>
90
+
/// <param name="ShowScale">Wether or not to show the color bar</param>
91
+
/// <param name="ColorBar">Sets the colorbar.</param>
92
+
/// <param name="Dash">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>
93
+
/// <param name="Shape">Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.</param>
94
+
/// <param name="Simplify">Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected.</param>
95
+
/// <param name="Smoothing">Has an effect only if `shape` is set to "spline" Sets the amount of smoothing. "0" corresponds to no smoothing (equivalent to a "linear" shape).</param>
96
+
/// <param name="Width">Sets the line width (in px).</param>
97
+
/// <param name="MultiWidth">Sets the individual line width (in px).</param>
98
+
/// <param name="OutlierColor">Sets the color of the outline of outliers</param>
99
+
/// <param name="OutlierWidth">Sets the width of the outline of outliers</param>
0 commit comments