@@ -21,15 +21,15 @@ module ChartDomain =
21
21
[<Optional; DefaultParameterValue( null ) >] ? Labels : seq < 'IConvertible >,
22
22
[<Optional; DefaultParameterValue( null ) >] ? Name ,
23
23
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
24
- [<Optional; DefaultParameterValue( null ) >] ? Colors ,
24
+ [<Optional; DefaultParameterValue( null ) >] ? Color ,
25
25
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
26
26
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
27
27
[<Optional; DefaultParameterValue( null ) >] ? Hoverinfo ,
28
28
[<Optional; DefaultParameterValue( null ) >] ? Textinfo ,
29
29
[<Optional; DefaultParameterValue( null ) >] ? Opacity ) =
30
30
TraceDomain.initPie ( TraceDomainStyle.Pie( Values= values,? Labels= Labels,? Textinfo= Textinfo))
31
31
|> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity,? Hoverinfo= Hoverinfo)
32
- |> TraceStyle.Marker( ?Colors = Colors )
32
+ |> TraceStyle.Marker( ?Color = Color )
33
33
|> TraceStyle.TextLabel( ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
34
34
|> GenericChart.ofTraceObject
35
35
@@ -38,22 +38,22 @@ module ChartDomain =
38
38
static member Pie ( data : seq < #IConvertible * #IConvertible >,
39
39
[<Optional; DefaultParameterValue( null ) >] ? Name ,
40
40
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
41
- [<Optional; DefaultParameterValue( null ) >] ? Colors ,
41
+ [<Optional; DefaultParameterValue( null ) >] ? Color ,
42
42
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
43
43
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
44
44
[<Optional; DefaultParameterValue( null ) >] ? Hoverinfo ,
45
45
[<Optional; DefaultParameterValue( null ) >] ? Textinfo ,
46
46
[<Optional; DefaultParameterValue( null ) >] ? Opacity ) =
47
47
let values , labels = Seq.unzip data
48
- Chart.Pie( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Colors = Colors ,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
48
+ Chart.Pie( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Color = Color ,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
49
49
50
50
51
51
/// Shows how proportions of data, shown as pie-shaped pieces, contribute to the data as a whole.
52
52
static member Doughnut ( values ,
53
53
[<Optional; DefaultParameterValue( null ) >] ? Labels ,
54
54
[<Optional; DefaultParameterValue( null ) >] ? Name ,
55
55
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
56
- [<Optional; DefaultParameterValue( null ) >] ? Colors ,
56
+ [<Optional; DefaultParameterValue( null ) >] ? Color ,
57
57
[<Optional; DefaultParameterValue( null ) >] ? Hole ,
58
58
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
59
59
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
@@ -63,7 +63,7 @@ module ChartDomain =
63
63
let hole ' = if Hole.IsSome then Hole.Value else 0.4
64
64
TraceDomain.initPie ( TraceDomainStyle.Pie( Values= values,? Labels= Labels,? Textinfo= Textinfo, Hole= hole'))
65
65
|> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity,? Hoverinfo= Hoverinfo)
66
- |> TraceStyle.Marker( ?Colors = Colors )
66
+ |> TraceStyle.Marker( ?Color = Color )
67
67
|> TraceStyle.TextLabel( ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
68
68
|> GenericChart.ofTraceObject
69
69
@@ -72,15 +72,15 @@ module ChartDomain =
72
72
static member Doughnut ( data : seq < #IConvertible * #IConvertible >,
73
73
[<Optional; DefaultParameterValue( null ) >] ? Name ,
74
74
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
75
- [<Optional; DefaultParameterValue( null ) >] ? Colors ,
75
+ [<Optional; DefaultParameterValue( null ) >] ? Color ,
76
76
[<Optional; DefaultParameterValue( null ) >] ? Hole ,
77
77
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
78
78
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
79
79
[<Optional; DefaultParameterValue( null ) >] ? Hoverinfo ,
80
80
[<Optional; DefaultParameterValue( null ) >] ? Textinfo ,
81
81
[<Optional; DefaultParameterValue( null ) >] ? Opacity ) =
82
82
let values , labels = Seq.unzip data
83
- Chart.Doughnut( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Colors = Colors ,? Hole= Hole,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
83
+ Chart.Doughnut( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Color = Color ,? Hole= Hole,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
84
84
85
85
86
86
@@ -194,12 +194,12 @@ module ChartDomain =
194
194
///Colors: Sets the color of each sector of this trace. If not specified, the default trace color set is used to pick the sector colors.
195
195
static member Sunburst ( labels , parents ,
196
196
[<Optional; DefaultParameterValue( null ) >] ? Ids ,
197
- [<Optional; DefaultParameterValue( null ) >] ? Values ,
198
- [<Optional; DefaultParameterValue( null ) >] ? Text ,
199
- [<Optional; DefaultParameterValue( null ) >] ? Branchvalues ,
200
- [<Optional; DefaultParameterValue( null ) >] ? Level ,
201
- [<Optional; DefaultParameterValue( null ) >] ? Maxdepth ,
202
- [<Optional; DefaultParameterValue( null ) >] ? Colors : seq < string > ,
197
+ [<Optional; DefaultParameterValue( null ) >] ? Values ,
198
+ [<Optional; DefaultParameterValue( null ) >] ? Text ,
199
+ [<Optional; DefaultParameterValue( null ) >] ? Branchvalues ,
200
+ [<Optional; DefaultParameterValue( null ) >] ? Level ,
201
+ [<Optional; DefaultParameterValue( null ) >] ? Maxdepth ,
202
+ [<Optional; DefaultParameterValue( null ) >] ? Color ,
203
203
[<Optional; DefaultParameterValue( null ) >] ? ColorBar : ColorBar
204
204
) =
205
205
TraceDomain.initSunburst(
@@ -214,7 +214,7 @@ module ChartDomain =
214
214
?Maxdepth = Maxdepth
215
215
)
216
216
)
217
- |> TraceStyle.Marker( ?Colors = Colors ,? ColorBar= ColorBar)
217
+ |> TraceStyle.Marker( ?Color = Color ,? ColorBar= ColorBar)
218
218
|> GenericChart.ofTraceObject
219
219
220
220
@@ -243,14 +243,14 @@ module ChartDomain =
243
243
///Colors: Sets the color of each sector of this trace. If not specified, the default trace color set is used to pick the sector colors.
244
244
static member Treemap ( labels , parents ,
245
245
[<Optional; DefaultParameterValue( null ) >] ? Ids ,
246
- [<Optional; DefaultParameterValue( null ) >] ? Values ,
247
- [<Optional; DefaultParameterValue( null ) >] ? Text ,
248
- [<Optional; DefaultParameterValue( null ) >] ? Branchvalues ,
249
- [<Optional; DefaultParameterValue( null ) >] ? Tiling ,
250
- [<Optional; DefaultParameterValue( null ) >] ? PathBar ,
251
- [<Optional; DefaultParameterValue( null ) >] ? Level ,
252
- [<Optional; DefaultParameterValue( null ) >] ? Maxdepth ,
253
- [<Optional; DefaultParameterValue( null ) >] ? Colors : seq < string > ,
246
+ [<Optional; DefaultParameterValue( null ) >] ? Values ,
247
+ [<Optional; DefaultParameterValue( null ) >] ? Text ,
248
+ [<Optional; DefaultParameterValue( null ) >] ? Branchvalues ,
249
+ [<Optional; DefaultParameterValue( null ) >] ? Tiling ,
250
+ [<Optional; DefaultParameterValue( null ) >] ? PathBar ,
251
+ [<Optional; DefaultParameterValue( null ) >] ? Level ,
252
+ [<Optional; DefaultParameterValue( null ) >] ? Maxdepth ,
253
+ [<Optional; DefaultParameterValue( null ) >] ? Color ,
254
254
[<Optional; DefaultParameterValue( null ) >] ? ColorBar : ColorBar
255
255
) =
256
256
TraceDomain.initTreemap(
@@ -267,7 +267,7 @@ module ChartDomain =
267
267
?Maxdepth = Maxdepth
268
268
)
269
269
)
270
- |> TraceStyle.Marker( ?Colors = Colors ,? ColorBar= ColorBar)
270
+ |> TraceStyle.Marker( ?Color = Color ,? ColorBar= ColorBar)
271
271
|> GenericChart.ofTraceObject
272
272
273
273
0 commit comments