Sliders

BinderScriptNotebook

Summary: This example shows how to create charts with update menus in F#.

#r "nuget: FSharp.Data"
#r "nuget: Deedle"

open FSharp.Data
open Deedle
open Plotly.NET
open Plotly.NET.LayoutObjects

let data =
    "https://raw.githubusercontent.com/plotly/datasets/master/volcano.csv"
    |> Http.RequestString
    |> Frame.ReadCsvString
    |> Frame.toJaggedArray

let updateMenu =
    UpdateMenu.init(
        Buttons = [
            UpdateMenuButton.init(
                Args = ["type"; "surface"],
                Label = "Surface",
                Method = StyleParam.UpdateMethod.Restyle
            )            
            UpdateMenuButton.init(
                Args = ["type"; "heatmap"],
                Label = "Heatmap",
                Method = StyleParam.UpdateMethod.Restyle
            )
        ],
        Direction = StyleParam.UpdateMenuDirection.Down,
        Pad = Padding.init(R = 10, T = 10),
        ShowActive = true,
        X = 0.1,
        XAnchor = StyleParam.XAnchorPosition.Left,
        Y = 1.1,
        YAnchor = StyleParam.YAnchorPosition.Top
    )

let updateChart = 
    Chart.Surface(
        data
    )
    |> Chart.withUpdateMenu updateMenu
    |> Chart.withAnnotation (
        Annotation.init(
            Text = "Trace Type:", 
            ShowArrow = false,
            X = 0,
            Y = 1.085,
            YRef = "paper",
            Align = StyleParam.AnnotationAlignment.Left
        )
    )
    |> Chart.withScene(
        Scene.init(
            AspectRatio = AspectRatio.init(X=1.,Y=1.,Z=0.7),
            AspectMode = StyleParam.AspectMode.Manual
        )
    )
    |> Chart.withLayoutStyle(
        Width = 800,
        Height = 900,
        AutoSize = false,
        Margin = Margin.init(0,0,0,0)
    )
Multiple items
namespace FSharp

--------------------
namespace Microsoft.FSharp
Multiple items
namespace FSharp.Data

--------------------
namespace Microsoft.FSharp.Data
namespace Deedle
namespace Plotly
namespace Plotly.NET
namespace Plotly.NET.LayoutObjects
val data: float[][]
type Http = static member AsyncRequest: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?responseEncodingOverride: string * ?customizeHttpRequest: (HttpWebRequest -> HttpWebRequest) * ?timeout: int -> Async<HttpResponse> static member AsyncRequestStream: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?customizeHttpRequest: (HttpWebRequest -> HttpWebRequest) * ?timeout: int -> Async<HttpResponseWithStream> static member AsyncRequestString: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?responseEncodingOverride: string * ?customizeHttpRequest: (HttpWebRequest -> HttpWebRequest) * ?timeout: int -> Async<string> static member Request: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?responseEncodingOverride: string * ?customizeHttpRequest: (HttpWebRequest -> HttpWebRequest) * ?timeout: int -> HttpResponse static member RequestStream: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?customizeHttpRequest: (HttpWebRequest -> HttpWebRequest) * ?timeout: int -> HttpResponseWithStream static member RequestString: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?responseEncodingOverride: string * ?customizeHttpRequest: (HttpWebRequest -> HttpWebRequest) * ?timeout: int -> string
<summary> Utilities for working with network via HTTP. Includes methods for downloading resources with specified headers, query parameters and HTTP body </summary>
Multiple items
static member Http.RequestString: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: System.Net.CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?responseEncodingOverride: string * ?customizeHttpRequest: (System.Net.HttpWebRequest -> System.Net.HttpWebRequest) * ?timeout: int -> string

--------------------
static member Http.RequestString: url: string * ?query: (string * string) list * ?headers: seq<string * string> * ?httpMethod: string * ?body: HttpRequestBody * ?cookies: seq<string * string> * ?cookieContainer: System.Net.CookieContainer * ?silentHttpErrors: bool * ?silentCookieErrors: bool * ?responseEncodingOverride: string * ?customizeHttpRequest: (System.Net.HttpWebRequest -> System.Net.HttpWebRequest) * ?timeout: int -> string
Multiple items
module Frame from Deedle

--------------------
type Frame = inherit DynamicObj new: unit -> Frame

--------------------
type Frame<'TRowKey,'TColumnKey (requires equality and equality)> = interface IDynamicMetaObjectProvider interface INotifyCollectionChanged interface IFsiFormattable interface IFrame new: rowIndex: IIndex<'TRowKey> * columnIndex: IIndex<'TColumnKey> * data: IVector<IVector> * indexBuilder: IIndexBuilder * vectorBuilder: IVectorBuilder -> Frame<'TRowKey,'TColumnKey> + 1 overload member AddColumn: column: 'TColumnKey * series: seq<'V> -> unit + 3 overloads member AggregateRowsBy: groupBy: seq<'TColumnKey> * aggBy: seq<'TColumnKey> * aggFunc: Func<Series<'TRowKey,'a>,'b> -> Frame<int,'TColumnKey> member Clone: unit -> Frame<'TRowKey,'TColumnKey> member ColumnApply: f: Func<Series<'TRowKey,'T>,ISeries<'TRowKey>> -> Frame<'TRowKey,'TColumnKey> + 1 overload member DropColumn: column: 'TColumnKey -> unit ...

--------------------
new: unit -> Frame

--------------------
new: names: seq<'TColumnKey> * columns: seq<ISeries<'TRowKey>> -> Frame<'TRowKey,'TColumnKey>
new: rowIndex: Indices.IIndex<'TRowKey> * columnIndex: Indices.IIndex<'TColumnKey> * data: IVector<IVector> * indexBuilder: Indices.IIndexBuilder * vectorBuilder: Vectors.IVectorBuilder -> Frame<'TRowKey,'TColumnKey>
static member Frame.ReadCsvString: csvString: string * ?hasHeaders: bool * ?inferTypes: bool * ?inferRows: int * ?schema: string * ?separators: string * ?culture: string * ?maxRows: int * ?missingValues: string[] * ?preferOptions: bool -> Frame<int,string>
val toJaggedArray: frame: Frame<'R,'C> -> float[][] (requires equality and equality)
val updateMenu: UpdateMenu
Multiple items
type UpdateMenu = inherit DynamicObj new: unit -> UpdateMenu static member init: ?Active: int * ?BGColor: Color * ?BorderColor: Color * ?Buttons: seq<UpdateMenuButton> * ?Direction: UpdateMenuDirection * ?Font: Font * ?Name: string * ?Pad: Padding * ?ShowActive: bool * ?TemplateItemName: string * ?Type: UpdateMenuType * ?Visible: bool * ?X: float * ?XAnchor: XAnchorPosition * ?Y: float * ?YAnchor: YAnchorPosition -> UpdateMenu static member style: ?Active: int * ?BGColor: Color * ?BorderColor: Color * ?Buttons: seq<UpdateMenuButton> * ?Direction: UpdateMenuDirection * ?Font: Font * ?Name: string * ?Pad: Padding * ?ShowActive: bool * ?TemplateItemName: string * ?Type: UpdateMenuType * ?Visible: bool * ?X: float * ?XAnchor: XAnchorPosition * ?Y: float * ?YAnchor: YAnchorPosition -> (UpdateMenu -> UpdateMenu)

--------------------
new: unit -> UpdateMenu
static member UpdateMenu.init: ?Active: int * ?BGColor: Color * ?BorderColor: Color * ?Buttons: seq<UpdateMenuButton> * ?Direction: StyleParam.UpdateMenuDirection * ?Font: Font * ?Name: string * ?Pad: Padding * ?ShowActive: bool * ?TemplateItemName: string * ?Type: StyleParam.UpdateMenuType * ?Visible: bool * ?X: float * ?XAnchor: StyleParam.XAnchorPosition * ?Y: float * ?YAnchor: StyleParam.YAnchorPosition -> UpdateMenu
Multiple items
type UpdateMenuButton = inherit DynamicObj new: unit -> UpdateMenuButton static member init: ?Args: seq<string> * ?Args2: seq<string> * ?Execute: bool * ?Label: string * ?Method: UpdateMethod * ?Name: string * ?TemplateItemName: string * ?Visible: bool -> UpdateMenuButton static member style: ?Args: seq<string> * ?Args2: seq<string> * ?Execute: bool * ?Label: string * ?Method: UpdateMethod * ?Name: string * ?TemplateItemName: string * ?Visible: bool -> (UpdateMenuButton -> UpdateMenuButton)

--------------------
new: unit -> UpdateMenuButton
static member UpdateMenuButton.init: ?Args: seq<string> * ?Args2: seq<string> * ?Execute: bool * ?Label: string * ?Method: StyleParam.UpdateMethod * ?Name: string * ?TemplateItemName: string * ?Visible: bool -> UpdateMenuButton
module StyleParam from Plotly.NET
type UpdateMethod = | Restyle | Relayout | Animate | Update | Skip member Convert: unit -> obj override ToString: unit -> string static member convert: (UpdateMethod -> obj) static member toString: (UpdateMethod -> string)
union case StyleParam.UpdateMethod.Restyle: StyleParam.UpdateMethod
[<Struct>] type Direction = | Backward = 0 | Forward = 1
type UpdateMenuDirection = | Left | Right | Up | Down member Convert: unit -> obj override ToString: unit -> string static member convert: (UpdateMenuDirection -> obj) static member toString: (UpdateMenuDirection -> string)
union case StyleParam.UpdateMenuDirection.Down: StyleParam.UpdateMenuDirection
Multiple items
type Padding = inherit DynamicObj new: unit -> Padding static member init: ?B: int * ?L: int * ?R: int * ?T: int -> Padding static member style: ?B: int * ?L: int * ?R: int * ?T: int -> (Padding -> Padding)

--------------------
new: unit -> Padding
static member Padding.init: ?B: int * ?L: int * ?R: int * ?T: int -> Padding
argument R: int option
<summary> Set the padding of the slider component along each side </summary>
<param name="B">The amount of padding (in px) along the bottom of the component</param>
<param name="L">The amount of padding (in px) on the left side of the component</param>
<param name="R">The amount of padding (in px) on the right side of the component</param>
<param name="T">The amount of padding (in px) along the top of the component</param>
argument T: int option
<summary> Set the padding of the slider component along each side </summary>
<param name="B">The amount of padding (in px) along the bottom of the component</param>
<param name="L">The amount of padding (in px) on the left side of the component</param>
<param name="R">The amount of padding (in px) on the right side of the component</param>
<param name="T">The amount of padding (in px) along the top of the component</param>
argument X: float option
type XAnchorPosition = | Auto | Left | Center | Right member Convert: unit -> obj override ToString: unit -> string static member convert: (XAnchorPosition -> obj) static member toString: (XAnchorPosition -> string)
union case StyleParam.XAnchorPosition.Left: StyleParam.XAnchorPosition
argument Y: float option
type YAnchorPosition = | Auto | Top | Middle | Bottom member Convert: unit -> obj override ToString: unit -> string static member convert: (YAnchorPosition -> obj) static member toString: (YAnchorPosition -> string)
union case StyleParam.YAnchorPosition.Top: StyleParam.YAnchorPosition
val updateChart: GenericChart.GenericChart
type Chart = static member AnnotatedHeatmap: zData: seq<#seq<'a1>> * annotationText: seq<#seq<string>> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?X: seq<#IConvertible> * ?XGap: int * ?Y: seq<#IConvertible> * ?YGap: int * ?Text: 'a5 * ?MultiText: seq<'a5> * ?ColorBar: ColorBar * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?ZSmooth: SmoothAlg * ?Transpose: bool * ?UseWebGL: bool * ?ReverseYAxis: bool * ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a5 :> IConvertible) + 1 overload static member Area: x: seq<#IConvertible> * y: seq<#IConvertible> * ?ShowMarkers: bool * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'a2 * ?MultiText: seq<'a2> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?MarkerColor: Color * ?MarkerColorScale: Colorscale * ?MarkerOutline: Line * ?MarkerSymbol: MarkerSymbol * ?MultiMarkerSymbol: seq<MarkerSymbol> * ?Marker: Marker * ?LineColor: Color * ?LineColorScale: Colorscale * ?LineWidth: float * ?LineDash: DrawingStyle * ?Line: Line * ?StackGroup: string * ?Orientation: Orientation * ?GroupNorm: GroupNorm * ?FillColor: Color * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) + 1 overload static member Bar: values: seq<#IConvertible> * ?Keys: seq<#IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'a2 * ?MultiText: seq<'a2> * ?MarkerColor: Color * ?MarkerColorScale: Colorscale * ?MarkerOutline: Line * ?MarkerPatternShape: PatternShape * ?MultiMarkerPatternShape: seq<PatternShape> * ?MarkerPattern: Pattern * ?Marker: Marker * ?Base: #IConvertible * ?Width: 'a4 * ?MultiWidth: seq<'a4> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible and 'a4 :> IConvertible) + 1 overload static member BoxPlot: ?X: seq<#IConvertible> * ?Y: seq<#IConvertible> * ?Name: string * ?ShowLegend: bool * ?Text: 'a2 * ?MultiText: seq<'a2> * ?FillColor: Color * ?MarkerColor: Color * ?Marker: Marker * ?Opacity: float * ?WhiskerWidth: float * ?BoxPoints: BoxPoints * ?BoxMean: BoxMean * ?Jitter: float * ?PointPos: float * ?Orientation: Orientation * ?OutlineColor: Color * ?OutlineWidth: float * ?Outline: Line * ?AlignmentGroup: string * ?OffsetGroup: string * ?Notched: bool * ?NotchWidth: float * ?QuartileMethod: QuartileMethod * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) + 2 overloads static member Bubble: x: seq<#IConvertible> * y: seq<#IConvertible> * sizes: seq<int> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'a2 * ?MultiText: seq<'a2> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?MarkerColor: Color * ?MarkerColorScale: Colorscale * ?MarkerOutline: Line * ?MarkerSymbol: MarkerSymbol * ?MultiMarkerSymbol: seq<MarkerSymbol> * ?Marker: Marker * ?LineColor: Color * ?LineColorScale: Colorscale * ?LineWidth: float * ?LineDash: DrawingStyle * ?Line: Line * ?StackGroup: string * ?Orientation: Orientation * ?GroupNorm: GroupNorm * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) + 1 overload static member Candlestick: ``open`` : seq<#IConvertible> * high: seq<#IConvertible> * low: seq<#IConvertible> * close: seq<#IConvertible> * x: seq<#IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?Text: 'a5 * ?MultiText: seq<'a5> * ?Line: Line * ?IncreasingColor: Color * ?Increasing: FinanceMarker * ?DecreasingColor: Color * ?Decreasing: FinanceMarker * ?WhiskerWidth: float * ?UseDefaults: bool -> GenericChart (requires 'a5 :> IConvertible) + 1 overload static member Column: values: seq<#IConvertible> * ?Keys: seq<#IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'a2 * ?MultiText: seq<'a2> * ?MarkerColor: Color * ?MarkerColorScale: Colorscale * ?MarkerOutline: Line * ?MarkerPatternShape: PatternShape * ?MultiMarkerPatternShape: seq<PatternShape> * ?MarkerPattern: Pattern * ?Marker: Marker * ?Base: #IConvertible * ?Width: 'a4 * ?MultiWidth: seq<'a4> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible and 'a4 :> IConvertible) + 1 overload static member Contour: zData: seq<#seq<'a1>> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?X: seq<#IConvertible> * ?Y: seq<#IConvertible> * ?Text: 'a4 * ?MultiText: seq<'a4> * ?ColorBar: ColorBar * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?Transpose: bool * ?ContourLineColor: Color * ?ContourLineDash: DrawingStyle * ?ContourLineSmoothing: float * ?ContourLine: Line * ?ContoursColoring: ContourColoring * ?ContoursOperation: ConstraintOperation * ?ContoursType: ContourType * ?ShowContourLabels: bool * ?ContourLabelFont: Font * ?Contours: Contours * ?FillColor: Color * ?NContours: int * ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a4 :> IConvertible) static member Funnel: x: seq<#IConvertible> * y: seq<#IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?Width: float * ?Offset: float * ?Text: 'a2 * ?MultiText: seq<'a2> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?Orientation: Orientation * ?AlignmentGroup: string * ?OffsetGroup: string * ?MarkerColor: Color * ?MarkerOutline: Line * ?Marker: Marker * ?TextInfo: TextInfo * ?ConnectorLineColor: Color * ?ConnectorLineStyle: DrawingStyle * ?ConnectorFillColor: Color * ?ConnectorLine: Line * ?Connector: FunnelConnector * ?InsideTextFont: Font * ?OutsideTextFont: Font * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) static member Heatmap: zData: seq<#seq<'a1>> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?X: seq<#IConvertible> * ?XGap: int * ?Y: seq<#IConvertible> * ?YGap: int * ?Text: 'a4 * ?MultiText: seq<'a4> * ?ColorBar: ColorBar * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?ZSmooth: SmoothAlg * ?Transpose: bool * ?UseWebGL: bool * ?ReverseYAxis: bool * ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a4 :> IConvertible) + 1 overload ...
static member Chart.Surface: zData: seq<#seq<'b>> * ?X: seq<#System.IConvertible> * ?Y: seq<#System.IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?Text: 'e * ?MultiText: seq<'e> * ?Contours: TraceObjects.Contours * ?ColorScale: StyleParam.Colorscale * ?ShowScale: bool * ?UseDefaults: bool -> GenericChart.GenericChart (requires 'b :> System.IConvertible and 'e :> System.IConvertible)
static member Chart.withUpdateMenu: updateMenu: UpdateMenu * ?Append: bool -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withAnnotation: annotation: Annotation * ?Append: bool -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
type Annotation = inherit DynamicObj new: unit -> Annotation static member init: ?X: #IConvertible * ?Y: #IConvertible * ?Align: AnnotationAlignment * ?ArrowColor: Color * ?ArrowHead: ArrowHead * ?ArrowSide: ArrowSide * ?ArrowSize: float * ?AX: #IConvertible * ?AXRef: #IConvertible * ?AY: #IConvertible * ?AYRef: #IConvertible * ?BGColor: Color * ?BorderColor: Color * ?BorderPad: int * ?BorderWidth: int * ?CaptureEvents: bool * ?ClickToShow: ClickToShow * ?Font: Font * ?Height: int * ?HoverLabel: Hoverlabel * ?HoverText: string * ?Name: string * ?Opacity: float * ?ShowArrow: bool * ?StandOff: int * ?StartArrowHead: int * ?StartArrowSize: float * ?StartStandOff: int * ?TemplateItemName: string * ?Text: string * ?TextAngle: float * ?VAlign: VerticalAlign * ?Visible: bool * ?Width: int * ?XAnchor: XAnchorPosition * ?XClick: #IConvertible * ?XRef: #IConvertible * ?XShift: int * ?YAnchor: YAnchorPosition * ?YClick: #IConvertible * ?YRef: #IConvertible * ?YShift: int -> Annotation static member style: ?X: #IConvertible * ?Y: #IConvertible * ?Align: AnnotationAlignment * ?ArrowColor: Color * ?ArrowHead: ArrowHead * ?ArrowSide: ArrowSide * ?ArrowSize: float * ?AX: #IConvertible * ?AXRef: #IConvertible * ?AY: #IConvertible * ?AYRef: #IConvertible * ?BGColor: Color * ?BorderColor: Color * ?BorderPad: int * ?BorderWidth: int * ?CaptureEvents: bool * ?ClickToShow: ClickToShow * ?Font: Font * ?Height: int * ?HoverLabel: Hoverlabel * ?HoverText: string * ?Name: string * ?Opacity: float * ?ShowArrow: bool * ?StandOff: int * ?StartArrowHead: int * ?StartArrowSize: float * ?StartStandOff: int * ?TemplateItemName: string * ?Text: string * ?TextAngle: float * ?VAlign: VerticalAlign * ?Visible: bool * ?Width: int * ?XAnchor: XAnchorPosition * ?XClick: #IConvertible * ?XRef: #IConvertible * ?XShift: int * ?YAnchor: YAnchorPosition * ?YClick: #IConvertible * ?YRef: #IConvertible * ?YShift: int -> (Annotation -> Annotation)
<summary> Text annotations inside a plot </summary>

--------------------
new: unit -> Annotation
static member Annotation.init: ?X: #System.IConvertible * ?Y: #System.IConvertible * ?Align: StyleParam.AnnotationAlignment * ?ArrowColor: Color * ?ArrowHead: StyleParam.ArrowHead * ?ArrowSide: StyleParam.ArrowSide * ?ArrowSize: float * ?AX: #System.IConvertible * ?AXRef: #System.IConvertible * ?AY: #System.IConvertible * ?AYRef: #System.IConvertible * ?BGColor: Color * ?BorderColor: Color * ?BorderPad: int * ?BorderWidth: int * ?CaptureEvents: bool * ?ClickToShow: StyleParam.ClickToShow * ?Font: Font * ?Height: int * ?HoverLabel: Hoverlabel * ?HoverText: string * ?Name: string * ?Opacity: float * ?ShowArrow: bool * ?StandOff: int * ?StartArrowHead: int * ?StartArrowSize: float * ?StartStandOff: int * ?TemplateItemName: string * ?Text: string * ?TextAngle: float * ?VAlign: StyleParam.VerticalAlign * ?Visible: bool * ?Width: int * ?XAnchor: StyleParam.XAnchorPosition * ?XClick: #System.IConvertible * ?XRef: #System.IConvertible * ?XShift: int * ?YAnchor: StyleParam.YAnchorPosition * ?YClick: #System.IConvertible * ?YRef: #System.IConvertible * ?YShift: int -> Annotation
union case HttpResponseBody.Text: string -> HttpResponseBody
argument X: int option
<summary> Init Annotation type </summary>
argument Y: float option
<summary> Init Annotation type </summary>
type AnnotationAlignment = | Left | Center | Right member Convert: unit -> obj override ToString: unit -> string static member convert: (AnnotationAlignment -> obj) static member toString: (AnnotationAlignment -> string)
union case StyleParam.AnnotationAlignment.Left: StyleParam.AnnotationAlignment
static member Chart.withScene: scene: Scene * ?Id: int -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
type Scene = inherit DynamicObj new: unit -> Scene static member getXAxis: scene: Scene -> LinearAxis static member getYAxis: scene: Scene -> LinearAxis static member getZAxis: scene: Scene -> LinearAxis static member init: ?Annotations: seq<Annotation> * ?AspectMode: AspectMode * ?AspectRatio: AspectRatio * ?BGColor: Color * ?Camera: Camera * ?Domain: Domain * ?DragMode: DragMode * ?HoverMode: HoverMode * ?UIRevision: string * ?XAxis: LinearAxis * ?YAxis: LinearAxis * ?ZAxis: LinearAxis -> Scene static member setXAxis: xAxis: LinearAxis -> (Scene -> Scene) static member setYAxis: yAxis: LinearAxis -> (Scene -> Scene) static member setZAxis: zAxis: LinearAxis -> (Scene -> Scene) static member style: ?Annotations: seq<Annotation> * ?AspectMode: AspectMode * ?AspectRatio: AspectRatio * ?BGColor: Color * ?Camera: Camera * ?Domain: Domain * ?DragMode: DragMode * ?HoverMode: HoverMode * ?UIRevision: string * ?XAxis: LinearAxis * ?YAxis: LinearAxis * ?ZAxis: LinearAxis -> (Scene -> Scene) ...
<summary> Scene </summary>

--------------------
new: unit -> Scene
static member Scene.init: ?Annotations: seq<Annotation> * ?AspectMode: StyleParam.AspectMode * ?AspectRatio: AspectRatio * ?BGColor: Color * ?Camera: Camera * ?Domain: Domain * ?DragMode: StyleParam.DragMode * ?HoverMode: StyleParam.HoverMode * ?UIRevision: string * ?XAxis: LinearAxis * ?YAxis: LinearAxis * ?ZAxis: LinearAxis -> Scene
Multiple items
type AspectRatio = inherit DynamicObj new: unit -> AspectRatio static member init: ?X: float * ?Y: float * ?Z: float -> AspectRatio static member style: ?X: float * ?Y: float * ?Z: float -> (AspectRatio -> AspectRatio)

--------------------
new: unit -> AspectRatio
static member AspectRatio.init: ?X: float * ?Y: float * ?Z: float -> AspectRatio
argument Z: float option
type AspectMode = | Auto | Cube | Data | Manual member Convert: unit -> obj override ToString: unit -> string static member convert: (AspectMode -> obj) static member toString: (AspectMode -> string)
union case StyleParam.AspectMode.Manual: StyleParam.AspectMode
static member Chart.withLayoutStyle: ?Title: Title * ?ShowLegend: bool * ?Legend: Legend * ?Margin: Margin * ?AutoSize: bool * ?Width: int * ?Height: int * ?Font: Font * ?UniformText: UniformText * ?Separators: string * ?PaperBGColor: Color * ?PlotBGColor: Color * ?AutoTypeNumbers: StyleParam.AutoTypeNumbers * ?Colorscale: DefaultColorScales * ?Colorway: Color * ?ModeBar: ModeBar * ?HoverMode: StyleParam.HoverMode * ?ClickMode: StyleParam.ClickMode * ?DragMode: StyleParam.DragMode * ?SelectDirection: StyleParam.SelectDirection * ?HoverDistance: int * ?SpikeDistance: int * ?Hoverlabel: Hoverlabel * ?Transition: Transition * ?DataRevision: string * ?UIRevision: string * ?EditRevision: string * ?SelectRevision: string * ?Template: DynamicObj.DynamicObj * ?Meta: string * ?Computed: string * ?Grid: LayoutGrid * ?Calendar: StyleParam.Calendar * ?NewShape: Shape * ?ActiveShape: ActiveShape * ?HideSources: bool * ?BarGap: float * ?BarGroupGap: float * ?BarMode: StyleParam.BarMode * ?BarNorm: StyleParam.BarNorm * ?ExtendPieColors: bool * ?HiddenLabels: seq<#System.IConvertible> * ?PieColorWay: Color * ?BoxGap: float * ?BoxGroupGap: float * ?BoxMode: StyleParam.BoxMode * ?ViolinGap: float * ?ViolinGroupGap: float * ?ViolinMode: StyleParam.ViolinMode * ?WaterfallGap: float * ?WaterfallGroupGap: float * ?WaterfallMode: StyleParam.WaterfallMode * ?FunnelGap: float * ?FunnelGroupGap: float * ?FunnelMode: StyleParam.FunnelMode * ?ExtendFunnelAreaColors: bool * ?FunnelAreaColorWay: Color * ?ExtendSunBurstColors: bool * ?SunBurstColorWay: Color * ?ExtendTreeMapColors: bool * ?TreeMapColorWay: Color * ?ExtendIcicleColors: bool * ?IcicleColorWay: Color * ?Annotations: seq<Annotation> * ?Shapes: seq<Shape> * ?Images: seq<LayoutImage> * ?Sliders: seq<Slider> * ?UpdateMenus: seq<UpdateMenu> -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
type Margin = inherit DynamicObj new: unit -> Margin static member init: ?Left: 'a * ?Right: 'b * ?Top: 'c * ?Bottom: 'd * ?Pad: 'k * ?Autoexpand: 'l -> Margin static member style: ?Left: 'a0 * ?Right: 'a1 * ?Top: 'a2 * ?Bottom: 'a3 * ?Pad: 'a4 * ?Autoexpand: 'a5 -> (Margin -> Margin)
<summary> Margin </summary>

--------------------
new: unit -> Margin
static member Margin.init: ?Left: 'a * ?Right: 'b * ?Top: 'c * ?Bottom: 'd * ?Pad: 'k * ?Autoexpand: 'l -> Margin
module GenericChart from Plotly.NET
<summary> Module to represent a GenericChart </summary>
val toChartHTML: gChart: GenericChart.GenericChart -> string
<summary> Converts a GenericChart to it HTML representation. The div layer has a default size of 600 if not specified otherwise. </summary>