@@ -10,36 +10,36 @@ open GenericChart
1010type Chart =
1111
1212 /// Uses points, line or both depending on the mode to represent data points
13- static member Scatter ( x , y , mode , ? Name ,? Showlegend ,? MakerSymbol ,? Color ,? Opacity ,? Labels ,? TextPosition ,? TextFont ,? Dash ,? Width ) =
13+ static member Scatter ( x , y , mode , ? Name ,? Showlegend ,? MarkerSymbol ,? Color ,? Opacity ,? Labels ,? TextPosition ,? TextFont ,? Dash ,? Width ) =
1414 let trace =
1515 TraceObjects.Scatter()
1616 |> Options.Scatter( X = x, Y = y, Mode= mode,
1717 TraceOptions= Options.Trace( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity), //
1818 Line= Options.Line( ?Color= Color,? Dash= Dash,? Width= Width),
19- Marker= Options.Marker( ?Color= Color,? Symbol= MakerSymbol ),
19+ Marker= Options.Marker( ?Color= Color,? Symbol= MarkerSymbol ),
2020 ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
2121 GenericChart.Chart ( trace, None)
2222
2323
2424 /// Uses points to represent data points.
25- static member Point ( x , y , ? Name ,? Showlegend ,? Color ,? Opacity ,? MakerSymbol ,? Labels ) =
25+ static member Point ( x , y , ? Name ,? Showlegend ,? Color ,? Opacity ,? MarkerSymbol ,? Labels ) =
2626 let trace =
2727 TraceObjects.Scatter()
2828 |> Options.Scatter( X = x, Y = y, Mode= StyleOption.Markers,
2929 TraceOptions= Options.Trace( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity),
30- Marker= Options.Marker( ?Color= Color,? Symbol= MakerSymbol ),
30+ Marker= Options.Marker( ?Color= Color,? Symbol= MarkerSymbol ),
3131 ?Fillcolor= Color,? Text= Labels)
3232 GenericChart.Chart ( trace, None)
3333
3434
3535 /// Uses points to represent data points.
36- static member Point ( xy , ? Name ,? Showlegend ,? Color ,? Opacity ,? MakerSymbol ,? Labels ) =
36+ static member Point ( xy , ? Name ,? Showlegend ,? Color ,? Opacity ,? MarkerSymbol ,? Labels ) =
3737 let x , y = Seq.unzip xy
38- Chart.Point( x, y, ?Name= Name,? Showlegend= Showlegend,? Color= Color,? Opacity= Opacity,? MakerSymbol = MakerSymbol ,? Labels= Labels)
38+ Chart.Point( x, y, ?Name= Name,? Showlegend= Showlegend,? Color= Color,? Opacity= Opacity,? MarkerSymbol = MarkerSymbol ,? Labels= Labels)
3939
4040
4141 /// Uses a line to connect the data points represented.
42- static member Line ( x , y ,? Name ,? ShowMarkers ,? Dash ,? Showlegend ,? Width ,? Color ,? Opacity ,? MakerSymbol ,? Labels ) =
42+ static member Line ( x , y ,? Name ,? ShowMarkers ,? Dash ,? Showlegend ,? Width ,? Color ,? Opacity ,? MarkerSymbol ,? Labels ) =
4343 let mode ' = match ShowMarkers with
4444 | Some show -> if show then StyleOption.Lines_ Markers else StyleOption.Lines
4545 | None -> StyleOption.Lines_ Markers // default
@@ -48,20 +48,20 @@ type Chart =
4848 |> Options.Scatter( X = x, Y = y, Mode= mode',
4949 TraceOptions= Options.Trace( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity),
5050 Line= Options.Line( ?Color= Color,? Dash= Dash,? Width= Width),
51- Marker= Options.Marker( ?Color= Color,? Symbol= MakerSymbol ),
51+ Marker= Options.Marker( ?Color= Color,? Symbol= MarkerSymbol ),
5252 ?Fillcolor= Color,? Text= Labels)
5353 GenericChart.Chart ( trace, None)
5454
5555
5656 /// Uses a line to connect the data points represented.
57- static member Line ( xy ,? Name ,? ShowMarkers ,? Dash ,? Showlegend ,? Width ,? Color ,? Opacity ,? MakerSymbol ,? Labels ) =
57+ static member Line ( xy ,? Name ,? ShowMarkers ,? Dash ,? Showlegend ,? Width ,? Color ,? Opacity ,? MarkerSymbol ,? Labels ) =
5858 let x , y = Seq.unzip xy
5959 Chart.Line( x, y,? Name= Name,? ShowMarkers= ShowMarkers,? Dash= Dash,? Showlegend= Showlegend,
60- ?Width= Width,? Color= Color,? Opacity= Opacity,? MakerSymbol = MakerSymbol ,? Labels= Labels)
60+ ?Width= Width,? Color= Color,? Opacity= Opacity,? MarkerSymbol = MarkerSymbol ,? Labels= Labels)
6161
6262
6363 /// A Line chart that plots a fitted curve through each data point in a series.
64- static member Spline ( x , y ,? Name ,? ShowMarkers ,? Dash ,? Showlegend ,? Width ,? Color ,? Opacity ,? MakerSymbol ,? Labels ,? Smoothing ) =
64+ static member Spline ( x , y ,? Name ,? ShowMarkers ,? Dash ,? Showlegend ,? Width ,? Color ,? Opacity ,? MarkerSymbol ,? Labels ,? Smoothing ) =
6565 let mode ' = match ShowMarkers with
6666 | Some show -> if show then StyleOption.Lines_ Markers else StyleOption.Lines
6767 | None -> StyleOption.Lines_ Markers // default
@@ -70,18 +70,18 @@ type Chart =
7070 |> Options.Scatter( X = x, Y = y, Mode= mode',
7171 TraceOptions= Options.Trace( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity),
7272 Line= Options.Line( ?Color= Color,? Dash= Dash,? Width= Width, Shape= StyleOption.Shape.Spline,? Smoothing= Smoothing),
73- Marker= Options.Marker( ?Color= Color,? Symbol= MakerSymbol ),
73+ Marker= Options.Marker( ?Color= Color,? Symbol= MarkerSymbol ),
7474 ?Fillcolor= Color,? Text= Labels)
7575 GenericChart.Chart ( trace, None)
7676
7777
7878 /// A variation of the Point chart type, where the data points are replaced by bubbles of different sizes.
79- static member Bubble ( x , y , sizes : seq < #IConvertible >,? Name ,? Showlegend ,? Color ,? Opacity ,? Labels ,? MakerSymbol ) =
79+ static member Bubble ( x , y , sizes : seq < #IConvertible >,? Name ,? Showlegend ,? Color ,? Opacity ,? Labels ,? MarkerSymbol ) =
8080 let trace =
8181 TraceObjects.Scatter()
8282 |> Options.Scatter( X = x, Y = y, Mode= StyleOption.Markers,
8383 TraceOptions= Options.Trace( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity),
84- Marker= Options.Marker( ?Color= Color,? Symbol= MakerSymbol , MultiSizes= sizes),
84+ Marker= Options.Marker( ?Color= Color,? Symbol= MarkerSymbol , MultiSizes= sizes),
8585 ?Text= Labels)
8686 GenericChart.Chart ( trace, None)
8787
0 commit comments