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
+73Lines changed: 73 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -528,5 +528,78 @@ [Optional] bool? UseDefaults
528
528
HoverLabel:HoverLabel.ToOption(),
529
529
UseDefaults:UseDefaults.ToOptionV()
530
530
);
531
+
/// <summary>
532
+
/// Visualizes the distribution of the 2-dimensional input data as 2D Histogram.
533
+
///
534
+
///The sample data from which statistics are computed is set in `x` and `y` (where `x` and `y` represent marginal distributions, binning is set in `xbins` and `ybins` in this case) or `z` (where `z` represent the 2D distribution and binning set, binning is set by `x` and `y` in this case). The resulting distribution is visualized as a heatmap.
535
+
/// </summary>
536
+
/// <param name="x">Sets the sample data to be binned on the x axis.</param>
537
+
/// <param name="y">Sets the sample data to be binned on the y axis.</param>
538
+
/// <param name="Z">Sets the aggregation data.</param>
539
+
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
540
+
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
541
+
/// <param name="Opacity">Sets the Opacity of the trace.</param>
542
+
/// <param name="XGap">Sets the horizontal gap (in pixels) between bricks.</param>
543
+
/// <param name="YGap">Sets the vertical gap (in pixels) between bricks.</param>
544
+
/// <param name="HistFunc">Specifies the binning function used for this histogram trace. If "count", the histogram values are computed by counting the number of values lying inside each bin. If "sum", "avg", "min", "max", the histogram values are computed using the sum, the average, the minimum or the maximum of the values lying inside each bin respectively.</param>
545
+
/// <param name="HistNorm">Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).</param>
546
+
/// <param name="NBinsX">Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided.</param>
547
+
/// <param name="NBinsY">Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided.</param>
548
+
/// <param name="XBins">Sets the binning across the x dimension</param>
549
+
/// <param name="YBins">Sets the binning across the y dimension</param>
550
+
/// <param name="ColorBar">Sets the styles of the colorbar for this trace.</param>
551
+
/// <param name="ColorScale">Sets the colorscale for this trace.</param>
552
+
/// <param name="ShowScale">Wether or not to show the colorscale/colorbar</param>
553
+
/// <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>
554
+
/// <param name="ZSmooth">Picks a smoothing algorithm use to smooth `z` data.</param>
555
+
/// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
0 commit comments