Update menus

BinderNotebook

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

open Deedle
open Plotly.NET
open Plotly.NET.LayoutObjects

let data =
    __SOURCE_DIRECTORY__ + "/../data/volcano.csv"
    |> Frame.ReadCsv
    |> 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(zData = 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))
namespace Plotly
namespace Plotly.NET
module Defaults from Plotly.NET
<summary> Contains mutable global default values. Changing these values will apply the default values to all consecutive Chart generations. </summary>
val mutable DefaultDisplayOptions: DisplayOptions
Multiple items
type DisplayOptions = inherit DynamicObj new: unit -> DisplayOptions static member addAdditionalHeadTags: additionalHeadTags: XmlNode list -> (DisplayOptions -> DisplayOptions) static member addDescription: description: XmlNode list -> (DisplayOptions -> DisplayOptions) static member combine: first: DisplayOptions -> second: DisplayOptions -> DisplayOptions static member getAdditionalHeadTags: displayOpts: DisplayOptions -> XmlNode list static member getDescription: displayOpts: DisplayOptions -> XmlNode list static member getPlotlyReference: displayOpts: DisplayOptions -> PlotlyJSReference static member init: ?AdditionalHeadTags: XmlNode list * ?Description: XmlNode list * ?PlotlyJSReference: PlotlyJSReference -> DisplayOptions static member initCDNOnly: unit -> DisplayOptions ...

--------------------
new: unit -> DisplayOptions
static member DisplayOptions.init: ?AdditionalHeadTags: Giraffe.ViewEngine.HtmlElements.XmlNode list * ?Description: Giraffe.ViewEngine.HtmlElements.XmlNode list * ?PlotlyJSReference: PlotlyJSReference -> DisplayOptions
type PlotlyJSReference = | CDN of string | Full | Require of string | NoReference
<summary> Sets how plotly is referenced in the head of html docs. </summary>
union case PlotlyJSReference.NoReference: PlotlyJSReference
namespace Deedle
namespace Plotly.NET.LayoutObjects
val data: float[][]
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 IFrameFormattable 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 ...

--------------------
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.ReadCsv: path: string * ?hasHeaders: bool * ?inferTypes: bool * ?inferRows: int * ?schema: string * ?separators: string * ?culture: string * ?maxRows: int * ?missingValues: string[] * ?preferOptions: bool -> Frame<int,string>
static member Frame.ReadCsv: stream: System.IO.Stream * ?hasHeaders: bool * ?inferTypes: bool * ?inferRows: int * ?schema: string * ?separators: string * ?culture: string * ?maxRows: int * ?missingValues: string[] * ?preferOptions: bool -> Frame<int,string>
static member Frame.ReadCsv: reader: System.IO.TextReader * ?hasHeaders: bool * ?inferTypes: bool * ?inferRows: int * ?schema: string * ?separators: string * ?culture: string * ?maxRows: int * ?missingValues: string[] * ?preferOptions: bool -> Frame<int,string>
static member Frame.ReadCsv: stream: System.IO.Stream * hasHeaders: System.Nullable<bool> * inferTypes: System.Nullable<bool> * inferRows: System.Nullable<int> * schema: string * separators: string * culture: string * maxRows: System.Nullable<int> * missingValues: string[] * preferOptions: System.Nullable<bool> -> Frame<int,string>
static member Frame.ReadCsv: location: string * hasHeaders: System.Nullable<bool> * inferTypes: System.Nullable<bool> * inferRows: System.Nullable<int> * schema: string * separators: string * culture: string * maxRows: System.Nullable<int> * missingValues: string[] * preferOptions: bool -> Frame<int,string>
static member Frame.ReadCsv: path: string * indexCol: string * ?hasHeaders: bool * ?inferTypes: bool * ?inferRows: int * ?schema: string * ?separators: string * ?culture: string * ?maxRows: int * ?missingValues: string[] * ?preferOptions: bool -> Frame<'R,string> (requires equality)
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<'a3> * ?MultiX: seq<seq<'a3>> * ?XGap: int * ?Y: seq<'a4> * ?MultiY: seq<seq<'a4>> * ?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 'a3 :> IConvertible and 'a4 :> 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 * ?AlignmentGroup: string * ?OffsetGroup: string * ?StackGroup: string * ?Orientation: Orientation * ?GroupNorm: GroupNorm * ?FillColor: Color * ?FillPatternShape: PatternShape * ?FillPattern: Pattern * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) + 1 overload static member Bar: values: seq<#IConvertible> * ?Keys: seq<'a1> * ?MultiKeys: seq<seq<'a1>> * ?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 'a1 :> IConvertible and 'a2 :> IConvertible and 'a4 :> IConvertible) + 1 overload static member BoxPlot: ?X: seq<'a0> * ?MultiX: seq<seq<'a0>> * ?Y: seq<'a1> * ?MultiY: seq<seq<'a1>> * ?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 'a0 :> IConvertible and 'a1 :> IConvertible and '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 * ?AlignmentGroup: string * ?OffsetGroup: string * ?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<'a4> * ?MultiX: seq<seq<'a4>> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?Text: 'a5 * ?MultiText: seq<'a5> * ?Line: Line * ?IncreasingColor: Color * ?Increasing: FinanceMarker * ?DecreasingColor: Color * ?Decreasing: FinanceMarker * ?WhiskerWidth: float * ?ShowXAxisRangeSlider: bool * ?UseDefaults: bool -> GenericChart (requires 'a4 :> IConvertible and 'a5 :> IConvertible) + 2 overloads static member Column: values: seq<#IConvertible> * ?Keys: seq<'a1> * ?MultiKeys: seq<seq<'a1>> * ?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 'a1 :> IConvertible and 'a2 :> IConvertible and 'a4 :> IConvertible) + 1 overload static member Contour: zData: seq<#seq<'a1>> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?X: seq<'a2> * ?MultiX: seq<seq<'a2>> * ?Y: seq<'a3> * ?MultiY: seq<seq<'a3>> * ?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 'a2 :> IConvertible and 'a3 :> 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>> * ?X: seq<'a2> * ?MultiX: seq<seq<'a2>> * ?Y: seq<'a3> * ?MultiY: seq<seq<'a3>> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?XGap: int * ?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 'a2 :> IConvertible and 'a3 :> 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 * ?CameraProjectionType: StyleParam.CameraProjectionType * ?Camera: Camera * ?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
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 * ?ActiveSelection: ActiveSelection * ?NewSelection: NewSelection * ?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 * ?MinReducedHeight: int * ?MinReducedWidth: int * ?NewShape: NewShape * ?ActiveShape: ActiveShape * ?HideSources: bool * ?ScatterGap: float * ?ScatterMode: StyleParam.ScatterMode * ?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> * ?Selections: seq<Selection> * ?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