@@ -1269,15 +1269,15 @@ type Chart =
1269
1269
[<Optional; DefaultParameterValue( null ) >] ? Labels ,
1270
1270
[<Optional; DefaultParameterValue( null ) >] ? Name ,
1271
1271
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
1272
- [<Optional; DefaultParameterValue( null ) >] ? Color ,
1272
+ [<Optional; DefaultParameterValue( null ) >] ? Colors ,
1273
1273
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
1274
1274
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
1275
1275
[<Optional; DefaultParameterValue( null ) >] ? Hoverinfo ,
1276
1276
[<Optional; DefaultParameterValue( null ) >] ? Textinfo ,
1277
1277
[<Optional; DefaultParameterValue( null ) >] ? Opacity ) =
1278
1278
Trace.initPie ( TraceStyle.Pie( Values= values,? Labels= Labels,? Textinfo= Textinfo))
1279
1279
|> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity,? Hoverinfo= Hoverinfo)
1280
- |> TraceStyle.Marker( ?Color = Color )
1280
+ |> TraceStyle.Marker( ?Colors = Colors )
1281
1281
|> TraceStyle.TextLabel( ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
1282
1282
|> GenericChart.ofTraceObject
1283
1283
@@ -1286,22 +1286,22 @@ type Chart =
1286
1286
static member Pie ( data : seq < #IConvertible * #IConvertible >,
1287
1287
[<Optional; DefaultParameterValue( null ) >] ? Name ,
1288
1288
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
1289
- [<Optional; DefaultParameterValue( null ) >] ? Color ,
1289
+ [<Optional; DefaultParameterValue( null ) >] ? Colors ,
1290
1290
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
1291
1291
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
1292
1292
[<Optional; DefaultParameterValue( null ) >] ? Hoverinfo ,
1293
1293
[<Optional; DefaultParameterValue( null ) >] ? Textinfo ,
1294
1294
[<Optional; DefaultParameterValue( null ) >] ? Opacity ) =
1295
1295
let values , labels = Seq.unzip data
1296
- Chart.Pie( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Color = Color ,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
1296
+ Chart.Pie( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Colors = Colors ,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
1297
1297
1298
1298
1299
1299
/// Shows how proportions of data, shown as pie-shaped pieces, contribute to the data as a whole.
1300
1300
static member Doughnut ( values ,
1301
1301
[<Optional; DefaultParameterValue( null ) >] ? Labels ,
1302
1302
[<Optional; DefaultParameterValue( null ) >] ? Name ,
1303
1303
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
1304
- [<Optional; DefaultParameterValue( null ) >] ? Color ,
1304
+ [<Optional; DefaultParameterValue( null ) >] ? Colors ,
1305
1305
[<Optional; DefaultParameterValue( null ) >] ? Hole ,
1306
1306
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
1307
1307
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
@@ -1311,7 +1311,7 @@ type Chart =
1311
1311
let hole ' = if Hole.IsSome then Hole.Value else 0.4
1312
1312
Trace.initPie ( TraceStyle.Pie( Values= values,? Labels= Labels,? Textinfo= Textinfo, Hole= hole'))
1313
1313
|> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity,? Hoverinfo= Hoverinfo)
1314
- |> TraceStyle.Marker( ?Color = Color )
1314
+ |> TraceStyle.Marker( ?Colors = Colors )
1315
1315
|> TraceStyle.TextLabel( ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
1316
1316
|> GenericChart.ofTraceObject
1317
1317
@@ -1320,15 +1320,15 @@ type Chart =
1320
1320
static member Doughnut ( data : seq < #IConvertible * #IConvertible >,
1321
1321
[<Optional; DefaultParameterValue( null ) >] ? Name ,
1322
1322
[<Optional; DefaultParameterValue( null ) >] ? Showlegend ,
1323
- [<Optional; DefaultParameterValue( null ) >] ? Color ,
1323
+ [<Optional; DefaultParameterValue( null ) >] ? Colors ,
1324
1324
[<Optional; DefaultParameterValue( null ) >] ? Hole ,
1325
1325
[<Optional; DefaultParameterValue( null ) >] ? TextPosition ,
1326
1326
[<Optional; DefaultParameterValue( null ) >] ? TextFont ,
1327
1327
[<Optional; DefaultParameterValue( null ) >] ? Hoverinfo ,
1328
1328
[<Optional; DefaultParameterValue( null ) >] ? Textinfo ,
1329
1329
[<Optional; DefaultParameterValue( null ) >] ? Opacity ) =
1330
1330
let values , labels = Seq.unzip data
1331
- Chart.Doughnut( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Color = Color ,? Hole= Hole,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
1331
+ Chart.Doughnut( values, Labels= labels,? Name= Name,? Showlegend= Showlegend,? Colors = Colors ,? Hole= Hole,? TextPosition= TextPosition,? TextFont= TextFont,? Hoverinfo= Hoverinfo,? Textinfo= Textinfo,? Opacity= Opacity)
1332
1332
1333
1333
1334
1334
/// Uses points, line or both depending on the mode to represent data points in a polar chart
0 commit comments