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
- Add Marker pattern for `Chart.Pie`, `Chart.Doughnut`, `Chart.FunnelArea, `Chart.Sunburst, `Chart.Icicle and `Chart.Treemap
- Add some xml docs for the `Pattern` object
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
[](https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml)
Copy file name to clipboardExpand all lines: src/Plotly.NET/Traces/ObjectAbstractions/Pattern.fs
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ type Pattern() =
10
10
inherit DynamicObj()
11
11
12
12
/// <summary>
13
-
///
13
+
/// Returns a new Pattern object with the given styles
14
14
/// </summary>
15
15
/// <param name="BGColor">When there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background. </param>
16
16
/// <param name="FGColor">When there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.</param>
@@ -46,6 +46,18 @@ type Pattern() =
46
46
?Solidity = Solidity
47
47
)
48
48
49
+
/// <summary>
50
+
/// Returns a function that applies the given styles to a Pattern object
51
+
/// </summary>
52
+
/// <param name="BGColor">When there is no colorscale sets the color of background pattern fill. Defaults to a `marker.color` background when `fillmode` is "overlay". Otherwise, defaults to a transparent background. </param>
53
+
/// <param name="FGColor">When there is no colorscale sets the color of foreground pattern fill. Defaults to a `marker.color` background when `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`.</param>
54
+
/// <param name="FGOpacity">Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.</param>
55
+
/// <param name="FillMode">Determines whether `marker.color` should be used as a default to `bgcolor` or a `fgcolor`.</param>
56
+
/// <param name="Shape">Sets the shape of the pattern fill. By default, no pattern is used for filling the area.</param>
57
+
/// <param name="MultiShape">Sets the shape of the pattern fill. By default, no pattern is used for filling the area.</param>
58
+
/// <param name="Size">Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.</param>
59
+
/// <param name="MultiSize">Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.</param>
60
+
/// <param name="Solidity">Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.</param>
0 commit comments