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.CSharp/ChartAPI/Chart2D.cs
+95Lines changed: 95 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2124,6 +2124,101 @@ public static GenericChart.GenericChart Image<IdType>(
2124
2124
UseDefaults:UseDefaults.ToOption()
2125
2125
);
2126
2126
2127
+
/// <summary>
2128
+
/// Creates a 2D contour plot, which shows the contour lines of a 2D numerical array z, i.e. interpolated lines of isovalues of z.
2129
+
///
2130
+
/// A contour line (also isoline, isopleth, or isarithm) of a function of two variables is a curve along which the function has a constant value, so that the curve joins points of equal value
2131
+
///
2132
+
/// The data from which contour lines are computed is set in `z`. Data in `z` must be a 2D array of numbers. Say that `z` has N rows and M columns, then by default, these N rows correspond to N y coordinates (set in `y` or auto-generated) and the M columns correspond to M x coordinates (set in `x` or auto-generated). By setting `transpose` to "true", the above behavior is flipped.
2133
+
/// </summary>
2134
+
/// <param name="zData">Sets the z data which is used for computing the contour lines.</param>
2135
+
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover.</param>
2136
+
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
2137
+
/// <param name="Opacity">Sets the Opacity otf the trace.</param>
2138
+
/// <param name="X">Sets the x coordinates.</param>
2139
+
/// <param name="Y">Sets the y coordinates.</param>
2140
+
/// <param name="Text">Sets a text associated with each datum</param>
2141
+
/// <param name="MultiText">Sets individual text for each datum</param>
2142
+
/// <param name="ColorBar">Sets the styles of the colorbar for this trace.</param>
2143
+
/// <param name="ColorScale">Sets the colorscale for this trace.</param>
2144
+
/// <param name="ShowScale">Wether or not to show the colorscale/colorbar</param>
2145
+
/// <param name="ReverseScale">Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color.</param>
2146
+
/// <param name="Transpose">Transposes the z data.</param>
2147
+
/// <param name="ContourLineDash">Sets the contour line dash style</param>
2148
+
/// <param name="ContourLineColor">Sets the contour line color</param>
2149
+
/// <param name="ContourLineSmoothing">Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing.</param>
2150
+
/// <param name="ContourLine">Sets the contour lines (use this for more finegrained control than the other contourline-associated arguments).</param>
2151
+
/// <param name="ContoursColoring">Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace.</param>
2152
+
/// <param name="ContoursOperation">Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms.</param>
2153
+
/// <param name="ContoursType">If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters.</param>
2154
+
/// <param name="ShowContourLabels">Determines whether to label the contour lines with their values.</param>
2155
+
/// <param name="ContourLabelFont">Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`.</param>
2156
+
/// <param name="Contours">Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments).</param>
2157
+
/// <param name="FillColor">Sets the fill color if `contours.type` is "constraint". Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.</param>
2158
+
/// <param name="NContours">Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "true" or if `contours.size` is missing.</param>
2159
+
/// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
0 commit comments