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/ChartAPI/Chart.fs
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,9 @@ open System.IO
10
10
openGenericChart
11
11
openSystem.Runtime.InteropServices
12
12
13
-
// ###########
14
-
// Copied from FSharp.Care.Collections to remove dependancies
13
+
// Copied from FSharp.Care.Collections to remove dependencies
15
14
[<AutoOpen>]
16
-
moduleSeq =
15
+
moduleinternalSeq =
17
16
18
17
/// Splits a sequence of pairs into two sequences
19
18
letunzip(input:seq<_>)=
@@ -46,7 +45,7 @@ module internal ChartIO =
46
45
else
47
46
invalidOp "Not supported OS platform"
48
47
49
-
/// Provides a set of static methods for creating charts.
48
+
/// Provides a set of static methods for creating and styling charts.
50
49
typeChart=
51
50
52
51
/// <summary>Creates a chart that is completely invisible when rendered. The Chart object however is NOT empty! Combining this chart with other charts will have unforseen consequences (it has for example invisible axes that can override other axes if used in Chart.Combine)</summary>
/// <param name="Name">Sets the name of the chart's trace(s). When the chart is a multichart (it contains multiple traces), the name is suffixed by '_%i' where %i is the index of the trace.</param>
71
+
/// <param name="Visible">Wether or not the chart's traces are visible</param>
72
+
/// <param name="ShowLegend">Determines whether or not item(s) corresponding to this chart's trace(s) is/are shown in the legend.</param>
73
+
/// <param name="LegendRank">Sets the legend rank for the chart's trace(s). Items and groups with smaller ranks are presented on top/left side while with `"reversed" `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items.</param>
74
+
/// <param name="LegendGroup">Sets the legend group for the chart's trace(s). Traces part of the same legend group hide/show at the same time when toggling legend items.</param>
75
+
/// <param name="LegendGroupTitle">Sets the title for the chart's trace legend group </param>
Copy file name to clipboardExpand all lines: src/Plotly.NET/Traces/Trace.fs
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -20,29 +20,34 @@ type Trace(traceTypeName: string) =
20
20
/// These functions are used internally to style traces of Chart objects. Users are usually pointed
21
21
/// to the API layer provided by the `Chart` module/object
22
22
typeTraceStyle()=
23
-
/// Applies the given TraceInfo style parameters to a Trace object.
23
+
24
+
/// <summary>
25
+
/// Sets trace information on the given trace.
26
+
/// </summary>
27
+
/// <param name="Name">Sets the name of the chart's trace(s). When the chart is a multichart (it contains multiple traces), the name is suffixed by '_%i' where %i is the index of the trace.</param>
28
+
/// <param name="Visible">Wether or not the chart's traces are visible</param>
29
+
/// <param name="ShowLegend">Determines whether or not item(s) corresponding to this chart's trace(s) is/are shown in the legend.</param>
30
+
/// <param name="LegendRank">Sets the legend rank for the chart's trace(s). Items and groups with smaller ranks are presented on top/left side while with `"reversed" `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items.</param>
31
+
/// <param name="LegendGroup">Sets the legend group for the chart's trace(s). Traces part of the same legend group hide/show at the same time when toggling legend items.</param>
32
+
/// <param name="LegendGroupTitle">Sets the title for the chart's trace legend group </param>
0 commit comments