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
+64Lines changed: 64 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1037,6 +1037,70 @@ public static GenericChart.GenericChart OHLC<OHLCType, XType, TextType>(
1037
1037
UseDefaults:UseDefaults.ToOption()
1038
1038
);
1039
1039
1040
+
/// <summary>
1041
+
/// Creates a candlestick chart.
1042
+
///
1043
+
/// The candlestick is a style of financial chart describing open, high, low and close for a given `x` coordinate (most likely time). The boxes represent the spread between the `open` and `close` values and the lines represent the spread between the `low` and `high` values Sample points where the close value is higher (lower) then the open value are called increasing (decreasing). By default, increasing candles are drawn in green whereas decreasing are drawn in red.
1044
+
/// </summary>
1045
+
/// <param name="open">Sets the open values.</param>
1046
+
/// <param name="high">Sets the high values.</param>
1047
+
/// <param name="low">Sets the low values.</param>
1048
+
/// <param name="close">Sets the close values.</param>
1049
+
/// <param name="x">Sets the x coordinates. If absent, linear coordinate will be generated.</param>
1050
+
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover.</param>
1051
+
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
1052
+
/// <param name="Opacity">Sets the Opacity otf the trace.</param>
1053
+
/// <param name="Text">Sets a text associated with each datum</param>
1054
+
/// <param name="MultiText">Sets individual text for each datum</param>
1055
+
/// <param name="Line">Sets the line of this trace.</param>
1056
+
/// <param name="IncreasingColor">Sets the color of increasing values</param>
1057
+
/// <param name="Increasing">Sets the style options of increasing values (use this for more finegrained control than the other increasing-associated arguments).</param>
1058
+
/// <param name="DecreasingColor">Sets the color of decreasing values</param>
1059
+
/// <param name="Decreasing">Sets the style options of decreasing values (use this for more finegrained control than the other increasing-associated arguments).</param>
1060
+
/// <param name="WhiskerWidth">Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es).</param>
1061
+
/// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
0 commit comments