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
+91Lines changed: 91 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -436,5 +436,96 @@ public static GenericChart.GenericChart Column<ValuesType, KeysType, TextType>(
436
436
MultiTextPosition:MultiTextPosition.ToOption(),
437
437
UseDefaults:UseDefaults.ToOptionV()
438
438
);
439
+
/// <summary>
440
+
/// Visualizes the distribution of the input data as a histogram.
441
+
///
442
+
/// A histogram is an approximate representation of the distribution of numerical data. To construct a histogram, the first step is to "bin" the range of values - that is, divide the entire range of values into a series of intervals - and then count how many values fall into each interval.
443
+
/// The bins are usually specified as consecutive, non-overlapping intervals of a variable.
444
+
///
445
+
/// The sample data from which statistics are computed is set in `x` for vertically spanning histograms and in `y` for horizontally spanning histograms. Binning options are set `xbins` and `ybins` respectively if no aggregation data is provided.
446
+
/// </summary>
447
+
/// <param name="X">Sets the sample data to be binned on the x axis.</param>
448
+
/// <param name="Y">Sets the sample data to be binned on the y axis.</param>
449
+
/// <param name="Orientation">Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal).</param>
450
+
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
451
+
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
452
+
/// <param name="Opacity">Sets the Opacity of the trace.</param>
453
+
/// <param name="Text">Sets a text associated with each datum</param>
454
+
/// <param name="MultiText">Sets individual text for each datum</param>
455
+
/// <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>
456
+
/// <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>
457
+
/// <param name="AlignmentGroup">Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently.</param>
458
+
/// <param name="OffsetGroup">Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up.</param>
459
+
/// <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>
460
+
/// <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>
461
+
/// <param name="BinGroup">Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same "orientation" under `barmode` "stack", "relative" and "group" are forced into the same bingroup, Using `bingroup`, traces under `barmode` "overlay" and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d" trace can share the same `bingroup`</param>
462
+
/// <param name="XBins">Sets the binning across the x dimension</param>
463
+
/// <param name="YBins">Sets the binning across the y dimension</param>
464
+
/// <param name="MarkerColor">Sets the color of the histogram's bars.</param>
465
+
/// <param name="Marker">Sets the marker for the histogram's bars (use this for more finegrained control than the other marker-associated arguments).</param>
466
+
/// <param name="Line">Sets the outline of the histogram's bars.</param>
467
+
/// <param name="XError">Sets the x error of this trace.</param>
468
+
/// <param name="YError">Sets the y error of this trace.</param>
469
+
/// <param name="Cumulative">Sets wether and how the cumulative distribution is displayed</param>
470
+
/// <param name="HoverLabel">Sets the style of the hoverlabels of this trace.</param>
471
+
/// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
0 commit comments