@@ -6,6 +6,7 @@ open FSharp.Care.Collections
66
77open GenericChart
88open Trace
9+ open Trace3d
910open Layout
1011
1112/// Provides a set of static methods for creating charts.
@@ -376,27 +377,33 @@ type Chart =
376377
377378 /// Uses points, line or both depending on the mode to represent 3d-data points
378379 static member Scatter3d ( x , y , z , mode , ? Name ,? Showlegend ,? MarkerSymbol ,? Color ,? Opacity ,? Labels ,? TextPosition ,? TextFont ,? Dash ,? Width ) =
379- Trace3d.initScatter3d ( Trace3d. Trace3dStyle.Scatter3d( X = x, Y = y, Z= z, Mode= mode) )
380+ Trace3d.initScatter3d ( Trace3dStyle.Scatter3d( X = x, Y = y, Z= z, Mode= mode) )
380381 |> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity)
381382 |> TraceStyle.Line( ?Color= Color,? Dash= Dash,? Width= Width)
382383 |> TraceStyle.Marker( ?Color= Color,? Symbol= MarkerSymbol)
383384 |> TraceStyle.TextLabel( ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
384385 |> GenericChart.ofTraceObject
385386
386387
387- /// Displays the distribution of data based on the five number summary: minimum, first quartile, median, third quartile, and maximum.
388+ /// Uses points, line or both depending on the mode to represent 3d-data points
388389 static member Scatter3d ( xyz , mode , ? Name ,? Showlegend ,? MarkerSymbol ,? Color ,? Opacity ,? Labels ,? TextPosition ,? TextFont ,? Dash ,? Width ) =
389390 let x , y , z = Seq.unzip3 xyz
390391 Chart.Scatter3d( x, y, z, mode, ?Name= Name,? Showlegend= Showlegend,? MarkerSymbol= MarkerSymbol,? Color= Color,? Opacity= Opacity,? Labels= Labels,? TextPosition= TextPosition,? TextFont= TextFont,? Dash= Dash,? Width= Width)
391392
392- // /// Uses points, line or both depending on the mode to represent 3d-data points
393- // static member Surface(data:seq<#seq<#IConvertible>>,?X,?Y, ?Name,?Showlegend,?Opacity,?Colorscale,?Showscale,?zSmooth,?Colorbar) =
394- // let trace =
395- // Trace3dObjects.Surface()
396- // |> Options.IMapZ(Z=data,?X=X, ?Y=Y)
397- // |> Options.IColormap(?Colorscale=Colorscale,?Showscale=Showscale,?zSmooth=zSmooth,?Colorbar=Colorbar)
398- // |> Options.ITraceInfo(?Name=Name,?Showlegend=Showlegend,?Opacity=Opacity)
399- // //|> Options.ITextLabel(?Text=Labels,?Textposition=TextPosition,?Textfont=TextFont)
400- // GenericChart.Chart (trace,None)
393+ /// Uses points, line or both depending on the mode to represent 3d-data points
394+ static member Surface ( data : seq < #seq < #IConvertible >>,? X ,? Y , ? Name ,? Showlegend ,? Opacity ,? Contours ,? Colorscale ,? Showscale ,? Colorbar ) =
395+ Trace3d.initSurface ( Trace3dStyle.Surface ( Z= data,? X= X, ?Y= Y,? Contours= Contours,
396+ ?Colorscale= Colorscale,? Showscale= Showscale,? Colorbar= Colorbar ) )
397+ |> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity)
398+ //|> TraceStyle.TextLabel(?Text=Labels,?Textposition=TextPosition,?Textfont=TextFont)
399+ |> GenericChart.ofTraceObject
400+
401+
402+ /// Uses points, line or both depending on the mode to represent 3d-data points
403+ static member Mesh3d ( x , y , z , mode , ? Name ,? Showlegend ,? MarkerSymbol ,? Color ,? Opacity ,? Labels ,? TextPosition ,? TextFont ,? Dash ,? Width ) =
404+ Trace3d.initMesh3d ( Trace3dStyle.Mesh3d( X = x, Y = y, Z= z) )
405+ |> TraceStyle.TraceInfo( ?Name= Name,? Showlegend= Showlegend,? Opacity= Opacity)
406+ |> TraceStyle.TextLabel( ?Text= Labels,? Textposition= TextPosition,? Textfont= TextFont)
407+ |> GenericChart.ofTraceObject
401408
402409
0 commit comments