
Premade templates can be accessed via the ChartTemplates
module. In fact, the ChartTemplates.plotly
template is always active by default (see global defaults)
open Plotly.NET
let lightMirrored =
Chart.Point(xy = [ 1, 2 ]) |> Chart.withTemplate ChartTemplates.lightMirrored
Here are the contents of the template plotly
which is used by default for all charts: https://github.com/plotly/Plotly.NET/blob/6e28decca64441320d8cffab5bcfee664b118c36/src/Plotly.NET/Templates/ChartTemplates.fs#L163-L665
Chart Templates consist of a Layout
object and a collection of Trace
objects. Both are used to set default values for all possible styling options:
open Plotly.NET.TraceObjects
let layoutTemplate =
Layout.init (Title = Title.init ("I will always be there now!"))
let traceTemplates =
[ Trace2D.initScatter (
Trace2DStyle.Scatter(Marker = Marker.init (Symbol = StyleParam.MarkerSymbol.ArrowLeft, Size = 20))
) ]
let myTemplate = Template.init (layoutTemplate, traceTemplates)
let myTemplateExampleChart =
Chart.Point(xy = [ 1, 2 ]) |> Chart.withTemplate myTemplate
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
val lightMirrored: 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.Point: xy: seq<#System.IConvertible * #System.IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'c * ?MultiText: seq<'c> * ?TextPosition: StyleParam.TextPosition * ?MultiTextPosition: seq<StyleParam.TextPosition> * ?MarkerColor: Color * ?MarkerColorScale: StyleParam.Colorscale * ?MarkerOutline: Line * ?MarkerSymbol: StyleParam.MarkerSymbol * ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol> * ?Marker: TraceObjects.Marker * ?AlignmentGroup: string * ?OffsetGroup: string * ?StackGroup: string * ?Orientation: StyleParam.Orientation * ?GroupNorm: StyleParam.GroupNorm * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart.GenericChart (requires 'c :> System.IConvertible)
static member Chart.Point: x: seq<#System.IConvertible> * y: seq<#System.IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'a2 * ?MultiText: seq<'a2> * ?TextPosition: StyleParam.TextPosition * ?MultiTextPosition: seq<StyleParam.TextPosition> * ?MarkerColor: Color * ?MarkerColorScale: StyleParam.Colorscale * ?MarkerOutline: Line * ?MarkerSymbol: StyleParam.MarkerSymbol * ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol> * ?Marker: TraceObjects.Marker * ?AlignmentGroup: string * ?OffsetGroup: string * ?StackGroup: string * ?Orientation: StyleParam.Orientation * ?GroupNorm: StyleParam.GroupNorm * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart.GenericChart (requires 'a2 :> System.IConvertible)
static member Chart.withTemplate: template: Template -> (GenericChart.GenericChart -> GenericChart.GenericChart)
module ChartTemplates
from Plotly.NET
val lightMirrored: Template
module GenericChart
from Plotly.NET
<summary>
Module to represent a GenericChart
</summary>
val toChartHTML: gChart: GenericChart.GenericChart -> string
namespace Plotly.NET.TraceObjects
val layoutTemplate: Layout
Multiple items
type Layout =
inherit DynamicObj
new: unit -> Layout
static member combine: first: Layout -> second: Layout -> Layout
static member getColorAxisById: id: SubPlotId -> (Layout -> ColorAxis)
static member getGeoById: id: SubPlotId -> (Layout -> Geo)
static member getLayoutGrid: layout: Layout -> LayoutGrid
static member getLegend: layout: Layout -> Legend
static member getLinearAxisById: id: SubPlotId -> (Layout -> LinearAxis)
static member getMapboxById: id: SubPlotId -> (Layout -> Mapbox)
static member getPolarById: id: SubPlotId -> (Layout -> Polar)
...
<summary>
A Layout object in the context of plotly charts contains all styling options that are not directly related to the visualization of the data itself, such as axes, legends, watermarks, etc.
</summary>
--------------------
new: unit -> Layout
static member Layout.init: ?Title: Title * ?ShowLegend: bool * ?Legend: LayoutObjects.Legend * ?Margin: LayoutObjects.Margin * ?AutoSize: bool * ?Width: int * ?Height: int * ?Font: Font * ?UniformText: LayoutObjects.UniformText * ?Separators: string * ?PaperBGColor: Color * ?PlotBGColor: Color * ?AutoTypeNumbers: StyleParam.AutoTypeNumbers * ?Colorscale: LayoutObjects.DefaultColorScales * ?Colorway: Color * ?ModeBar: LayoutObjects.ModeBar * ?HoverMode: StyleParam.HoverMode * ?ClickMode: StyleParam.ClickMode * ?DragMode: StyleParam.DragMode * ?SelectDirection: StyleParam.SelectDirection * ?ActiveSelection: LayoutObjects.ActiveSelection * ?NewSelection: LayoutObjects.NewSelection * ?HoverDistance: int * ?SpikeDistance: int * ?Hoverlabel: LayoutObjects.Hoverlabel * ?Transition: LayoutObjects.Transition * ?DataRevision: string * ?UIRevision: string * ?EditRevision: string * ?SelectRevision: string * ?Template: DynamicObj.DynamicObj * ?Meta: string * ?Computed: string * ?Grid: LayoutObjects.LayoutGrid * ?Calendar: StyleParam.Calendar * ?MinReducedHeight: int * ?MinReducedWidth: int * ?NewShape: LayoutObjects.NewShape * ?ActiveShape: LayoutObjects.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<LayoutObjects.Annotation> * ?Shapes: seq<LayoutObjects.Shape> * ?Selections: seq<LayoutObjects.Selection> * ?Images: seq<LayoutObjects.LayoutImage> * ?Sliders: seq<LayoutObjects.Slider> * ?UpdateMenus: seq<LayoutObjects.UpdateMenu> -> Layout
Multiple items
type Title =
inherit DynamicObj
new: unit -> Title
static member init: ?Text: string * ?AutoMargin: bool * ?Font: Font * ?Standoff: int * ?Side: Side * ?X: float * ?XAnchor: XAnchorPosition * ?XRef: string * ?Y: float * ?YAnchor: YAnchorPosition * ?YRef: string -> Title
static member style: ?Text: string * ?AutoMargin: bool * ?Font: Font * ?Standoff: int * ?Side: Side * ?X: float * ?XAnchor: XAnchorPosition * ?XRef: string * ?Y: float * ?YAnchor: YAnchorPosition * ?YRef: string -> (Title -> Title)
--------------------
new: unit -> Title
static member Title.init: ?Text: string * ?AutoMargin: bool * ?Font: Font * ?Standoff: int * ?Side: StyleParam.Side * ?X: float * ?XAnchor: StyleParam.XAnchorPosition * ?XRef: string * ?Y: float * ?YAnchor: StyleParam.YAnchorPosition * ?YRef: string -> Title
val traceTemplates: Trace2D list
Multiple items
type Trace2D =
inherit Trace
new: traceTypeName: string -> Trace2D
static member initBar: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initBoxPlot: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initCandlestick: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initContour: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initFunnel: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initHeatmap: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initHeatmapGL: applyStyle: (Trace2D -> Trace2D) -> Trace2D
static member initHistogram: applyStyle: (Trace2D -> Trace2D) -> Trace2D
...
<summary>
The most commonly-used kind of subplot is a two-dimensional Cartesian subplot. Traces compatible with these subplots
support xaxis and yaxis attributes whose values must refer to corresponding objects in the layout portion of the figure.
For example, if xaxis="x", and yaxis="y" (which is the default) then this trace is drawn on the subplot at the intersection
of the axes configured under layout.xaxis and layout.yaxis, but if xaxis="x2" and yaxis="y3" then the trace is drawn at the
intersection of the axes configured under layout.xaxis2 and layout.yaxis3. Note that attributes such as layout.xaxis and
layout.xaxis2 etc do not have to be explicitly defined, in which case default values will be inferred. Multiple traces of
different types can be drawn on the same subplot.
X- and Y-axes support the type attribute, which enables them to represent continuous values (type="linear", type="log"),
temporal values (type="date") or categorical values (type="category", type="multicategory). Axes can also be overlaid on
top of one another to create dual-axis or multiple-axis charts. 2-d cartesian subplots lend themselves very well to creating
"small multiples" figures, also known as facet or trellis plots.
The following trace types are compatible with 2D-cartesian subplots via the xaxis and yaxis attributes:
- scatter-like trace types: scatter and scattergl can be used to draw scatter plots, line plots and curves, time-series plots,
bubble charts, dot plots and filled areas and also support error bars
- bar, funnel, waterfall: bar-like trace types which can also be used to draw timelines and Gantt charts
- histogram: an aggregating bar-like trace type
- box and violin: 1-dimensional distribution-like trace types
- histogram2D and histogram2Dcontour: 2-dimensional distribution-like density trace types
- image, heatmap and contour: matrix trace types
- ohlc and candlestick: stock-like trace types
- splom: multi-dimensional scatter plots which implicitly refer to many 2-d cartesian subplots at once.
</summary>
--------------------
new: traceTypeName: string -> Trace2D
static member Trace2D.initScatter: applyStyle: (Trace2D -> Trace2D) -> Trace2D
Multiple items
type Trace2DStyle =
new: unit -> Trace2DStyle
static member Bar: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?X0: #IConvertible * ?DX: #IConvertible * ?Y: seq<'e> * ?MultiY: seq<seq<'e>> * ?Y0: #IConvertible * ?DY: #IConvertible * ?Base: #IConvertible * ?Width: 'i * ?MultiWidth: seq<'i> * ?Offset: 'j * ?MultiOffset: seq<'j> * ?Text: 'k * ?MultiText: seq<'k> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?TextTemplate: string * ?MultiTextTemplate: seq<string> * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?Orientation: Orientation * ?AlignmentGroup: string * ?OffsetGroup: string * ?XPeriod: #IConvertible * ?XPeriodAlignment: PeriodAlignment * ?XPeriod0: #IConvertible * ?YPeriod: #IConvertible * ?YPeriodAlignment: PeriodAlignment * ?YPeriod0: #IConvertible * ?Marker: Marker * ?TextAngle: float * ?TextFont: Font * ?XError: Error * ?YError: Error * ?SelectedPoints: seq<#IConvertible> * ?Selected: TraceSelection * ?Unselected: TraceSelection * ?ClipOnAxis: bool * ?Constraintext: ConstrainText * ?HoverLabel: Hoverlabel * ?InsideTextAnchor: InsideTextAnchor * ?InsideTextFont: Font * ?OutsideTextFont: Font * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'e :> IConvertible and 'i :> IConvertible and 'j :> IConvertible and 'k :> IConvertible and 'T :> Trace)
static member BoxPlot: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?X0: #IConvertible * ?DX: #IConvertible * ?Y: seq<'e> * ?MultiY: seq<seq<'e>> * ?Y0: #IConvertible * ?DY: #IConvertible * ?Width: float * ?Text: 'h * ?MultiText: seq<'h> * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?Orientation: Orientation * ?AlignmentGroup: string * ?OffsetGroup: string * ?XPeriod: #IConvertible * ?XPeriodAlignment: PeriodAlignment * ?XPeriod0: #IConvertible * ?YPeriod: #IConvertible * ?YPeriodAlignment: PeriodAlignment * ?YPeriod0: #IConvertible * ?Marker: Marker * ?Line: Line * ?BoxMean: BoxMean * ?BoxPoints: BoxPoints * ?Notched: bool * ?NotchWidth: float * ?WhiskerWidth: float * ?Q1: seq<IConvertible> * ?Median: seq<IConvertible> * ?Q3: seq<IConvertible> * ?LowerFence: seq<IConvertible> * ?UpperFence: seq<IConvertible> * ?NotchSpan: seq<IConvertible> * ?Mean: seq<IConvertible> * ?SD: seq<IConvertible> * ?QuartileMethod: QuartileMethod * ?SelectedPoints: seq<#IConvertible> * ?Selected: TraceSelection * ?Unselected: TraceSelection * ?FillColor: Color * ?HoverLabel: Hoverlabel * ?HoverOn: HoverOn * ?PointPos: float * ?Jitter: float * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'e :> IConvertible and 'h :> IConvertible and 'T :> Trace)
static member Candlestick: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?Close: seq<#IConvertible> * ?Open: seq<#IConvertible> * ?High: seq<#IConvertible> * ?Low: seq<#IConvertible> * ?Text: 'g * ?MultiText: seq<'g> * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?XPeriod: #IConvertible * ?XPeriodAlignment: PeriodAlignment * ?XPeriod0: #IConvertible * ?YPeriod: #IConvertible * ?YPeriodAlignment: PeriodAlignment * ?YPeriod0: #IConvertible * ?Line: Line * ?WhiskerWidth: float * ?SelectedPoints: seq<#IConvertible> * ?Increasing: FinanceMarker * ?Decreasing: FinanceMarker * ?HoverLabel: Hoverlabel * ?XCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'g :> IConvertible and 'T :> Trace)
static member Contour: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?X0: #IConvertible * ?DX: #IConvertible * ?XType: CoordinateType * ?Y: seq<'e> * ?MultiY: seq<seq<'e>> * ?Y0: #IConvertible * ?DY: #IConvertible * ?YType: CoordinateType * ?Z: seq<#seq<'i>> * ?Text: 'j * ?MultiText: seq<'j> * ?TextTemplate: string * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?ColorAxis: SubPlotId * ?XPeriod: #IConvertible * ?XPeriodAlignment: PeriodAlignment * ?XPeriod0: #IConvertible * ?YPeriod: #IConvertible * ?YPeriodAlignment: PeriodAlignment * ?YPeriod0: #IConvertible * ?Line: Line * ?TextFont: Font * ?ColorBar: ColorBar * ?AutoColorScale: bool * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?ZAuto: bool * ?ZHoverFormat: string * ?ZMax: #IConvertible * ?ZMid: #IConvertible * ?ZMin: #IConvertible * ?AutoContour: bool * ?ConnectGaps: bool * ?Contours: Contours * ?FillColor: Color * ?HoverLabel: Hoverlabel * ?HoverOnGaps: bool * ?NContours: int * ?Transpose: bool * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'e :> IConvertible and 'i :> IConvertible and 'j :> IConvertible and 'T :> Trace)
static member Funnel: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?X0: #IConvertible * ?DX: #IConvertible * ?Y: seq<'e> * ?MultiY: seq<seq<'e>> * ?Y0: #IConvertible * ?DY: #IConvertible * ?Width: float * ?Offset: float * ?Text: 'h * ?MultiText: seq<'h> * ?TextPosition: TextPosition * ?MultiTextPosition: seq<TextPosition> * ?TextTemplate: string * ?MultiTextTemplate: seq<string> * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?Orientation: Orientation * ?AlignmentGroup: string * ?OffsetGroup: string * ?XPeriod: #IConvertible * ?XPeriodAlignment: PeriodAlignment * ?XPeriod0: #IConvertible * ?YPeriod: #IConvertible * ?YPeriodAlignment: PeriodAlignment * ?YPeriod0: #IConvertible * ?Marker: Marker * ?TextAngle: float * ?TextFont: Font * ?TextInfo: TextInfo * ?SelectedPoints: seq<#IConvertible> * ?ClipOnAxis: bool * ?Connector: FunnelConnector * ?Constraintext: ConstrainText * ?HoverLabel: Hoverlabel * ?InsideTextAnchor: InsideTextAnchor * ?InsideTextFont: Font * ?OutsideTextFont: Font * ?UIRevision: string -> ('o -> 'o) (requires 'b :> IConvertible and 'e :> IConvertible and 'h :> IConvertible and 'o :> Trace)
static member Heatmap: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?X0: #IConvertible * ?DX: #IConvertible * ?XType: CoordinateType * ?XGap: int * ?Y: seq<'e> * ?MultiY: seq<seq<'e>> * ?Y0: #IConvertible * ?DY: #IConvertible * ?YType: CoordinateType * ?YGap: int * ?Z: seq<#seq<'i>> * ?Text: 'j * ?MultiText: seq<'j> * ?TextTemplate: string * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?ColorAxis: SubPlotId * ?XPeriod: #IConvertible * ?XPeriodAlignment: PeriodAlignment * ?XPeriod0: #IConvertible * ?YPeriod: #IConvertible * ?YPeriodAlignment: PeriodAlignment * ?YPeriod0: #IConvertible * ?TextFont: Font * ?ColorBar: ColorBar * ?AutoColorScale: bool * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?ZAuto: bool * ?ZHoverFormat: string * ?ZMax: #IConvertible * ?ZMid: #IConvertible * ?ZMin: #IConvertible * ?ZSmooth: SmoothAlg * ?ConnectGaps: bool * ?HoverLabel: Hoverlabel * ?HoverOnGaps: bool * ?Transpose: bool * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'e :> IConvertible and 'i :> IConvertible and 'j :> IConvertible and 'T :> Trace)
static member Histogram: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?Y: seq<'c> * ?MultiY: seq<seq<'c>> * ?Text: 'd * ?MultiText: seq<'d> * ?TextPosition: TextPosition * ?TextTemplate: string * ?MultiTextTemplate: seq<string> * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?Orientation: Orientation * ?HistFunc: HistFunc * ?HistNorm: HistNorm * ?AlignmentGroup: string * ?OffsetGroup: string * ?NBinsX: int * ?NBinsY: int * ?AutoBinX: bool * ?AutoBinY: bool * ?BinGroup: string * ?XBins: Bins * ?YBins: Bins * ?Marker: Marker * ?TextAngle: float * ?TextFont: Font * ?Line: Line * ?XError: Error * ?YError: Error * ?SelectedPoints: seq<#IConvertible> * ?Selected: TraceSelection * ?Unselected: TraceSelection * ?ClipOnAxis: bool * ?Constraintext: ConstrainText * ?Cumulative: Cumulative * ?HoverLabel: Hoverlabel * ?InsideTextAnchor: InsideTextAnchor * ?InsideTextFont: Font * ?OutsideTextFont: Font * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'c :> IConvertible and 'd :> IConvertible and 'T :> Trace)
static member Histogram2D: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?XGap: int * ?Y: seq<'c> * ?MultiY: seq<seq<'c>> * ?YGap: int * ?Z: seq<#seq<'e>> * ?TextTemplate: string * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?ColorAxis: SubPlotId * ?HistFunc: HistFunc * ?HistNorm: HistNorm * ?NBinsX: int * ?NBinsY: int * ?AutoBinX: bool * ?AutoBinY: bool * ?BinGroup: string * ?XBinGroup: string * ?XBins: Bins * ?YBinGroup: string * ?YBins: Bins * ?Marker: Marker * ?TextFont: Font * ?ColorBar: ColorBar * ?AutoColorScale: bool * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?ZAuto: bool * ?ZHoverFormat: string * ?ZMin: float * ?ZMid: float * ?ZMax: float * ?ZSmooth: SmoothAlg * ?HoverLabel: Hoverlabel * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'c :> IConvertible and 'e :> IConvertible and 'T :> Trace)
static member Histogram2DContour: ?Name: string * ?Visible: Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Ids: seq<#IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?Y: seq<'c> * ?MultiY: seq<seq<'c>> * ?Z: seq<#seq<'e>> * ?TextTemplate: string * ?HoverInfo: HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#IConvertible> * ?XAxis: LinearAxisId * ?YAxis: LinearAxisId * ?ColorAxis: SubPlotId * ?HistFunc: HistFunc * ?HistNorm: HistNorm * ?NBinsX: int * ?NBinsY: int * ?AutoBinX: bool * ?AutoBinY: bool * ?BinGroup: string * ?XBinGroup: string * ?XBins: Bins * ?YBinGroup: string * ?YBins: Bins * ?Marker: Marker * ?Line: Line * ?TextFont: Font * ?ColorBar: ColorBar * ?AutoColorScale: bool * ?ColorScale: Colorscale * ?ShowScale: bool * ?ReverseScale: bool * ?ZAuto: bool * ?ZHoverFormat: string * ?Zmin: float * ?Zmid: float * ?Zmax: float * ?AutoContour: bool * ?Contours: Contours * ?HoverLabel: Hoverlabel * ?NContours: int * ?XCalendar: Calendar * ?YCalendar: Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> IConvertible and 'c :> IConvertible and 'e :> IConvertible and 'T :> Trace)
...
<summary>
Create various functions for applying 2D chart styles to traces
</summary>
--------------------
new: unit -> Trace2DStyle
static member Trace2DStyle.Scatter: ?Name: string * ?Visible: StyleParam.Visible * ?ShowLegend: bool * ?LegendRank: int * ?LegendGroup: string * ?LegendGroupTitle: Title * ?Opacity: float * ?Mode: StyleParam.Mode * ?Ids: seq<#System.IConvertible> * ?X: seq<'b> * ?MultiX: seq<seq<'b>> * ?X0: #System.IConvertible * ?DX: #System.IConvertible * ?Y: seq<'e> * ?MultiY: seq<seq<'e>> * ?Y0: #System.IConvertible * ?DY: #System.IConvertible * ?Text: 'h * ?MultiText: seq<'h> * ?TextPosition: StyleParam.TextPosition * ?MultiTextPosition: seq<StyleParam.TextPosition> * ?TextTemplate: string * ?MultiTextTemplate: seq<string> * ?HoverText: string * ?MultiHoverText: seq<string> * ?HoverInfo: StyleParam.HoverInfo * ?HoverTemplate: string * ?MultiHoverTemplate: seq<string> * ?XHoverFormat: string * ?YHoverFormat: string * ?Meta: string * ?CustomData: seq<#System.IConvertible> * ?XAxis: StyleParam.LinearAxisId * ?YAxis: StyleParam.LinearAxisId * ?Orientation: StyleParam.Orientation * ?GroupNorm: StyleParam.GroupNorm * ?AlignmentGroup: string * ?OffsetGroup: string * ?StackGroup: string * ?XPeriod: #System.IConvertible * ?XPeriodAlignment: StyleParam.PeriodAlignment * ?XPeriod0: #System.IConvertible * ?YPeriod: #System.IConvertible * ?YPeriodAlignment: StyleParam.PeriodAlignment * ?YPeriod0: #System.IConvertible * ?Marker: Marker * ?Line: Line * ?TextFont: Font * ?XError: Error * ?YError: Error * ?SelectedPoints: seq<#System.IConvertible> * ?Selected: TraceSelection * ?Unselected: TraceSelection * ?ClipOnAxis: bool * ?ConnectGaps: bool * ?Fill: StyleParam.Fill * ?FillColor: Color * ?FillPattern: Pattern * ?HoverLabel: LayoutObjects.Hoverlabel * ?HoverOn: StyleParam.HoverOn * ?StackGaps: StyleParam.StackGaps * ?XCalendar: StyleParam.Calendar * ?YCalendar: StyleParam.Calendar * ?UIRevision: string -> ('T -> 'T) (requires 'b :> System.IConvertible and 'e :> System.IConvertible and 'h :> System.IConvertible and 'T :> Trace)
Multiple items
type Marker =
inherit DynamicObj
new: unit -> Marker
static member init: ?Angle: float * ?AngleRef: AngleRef * ?AutoColorScale: bool * ?CAuto: bool * ?CMax: float * ?CMid: float * ?CMin: float * ?Color: Color * ?Colors: seq<Color> * ?ColorAxis: SubPlotId * ?ColorBar: ColorBar * ?Colorscale: Colorscale * ?CornerRadius: int * ?Gradient: Gradient * ?Outline: Line * ?MaxDisplayed: int * ?Opacity: float * ?MultiOpacity: seq<float> * ?Pattern: Pattern * ?ReverseScale: bool * ?ShowScale: bool * ?Size: int * ?MultiSize: seq<int> * ?SizeMin: int * ?SizeMode: MarkerSizeMode * ?SizeRef: int * ?StandOff: float * ?MultiStandOff: seq<float> * ?Symbol: MarkerSymbol * ?MultiSymbol: seq<MarkerSymbol> * ?Symbol3D: MarkerSymbol3D * ?MultiSymbol3D: seq<MarkerSymbol3D> * ?OutlierColor: Color * ?OutlierWidth: int -> Marker
static member style: ?Angle: float * ?AngleRef: AngleRef * ?AutoColorScale: bool * ?CAuto: bool * ?CMax: float * ?CMid: float * ?CMin: float * ?Color: Color * ?Colors: seq<Color> * ?ColorAxis: SubPlotId * ?ColorBar: ColorBar * ?Colorscale: Colorscale * ?CornerRadius: int * ?Gradient: Gradient * ?Outline: Line * ?MaxDisplayed: int * ?Opacity: float * ?MultiOpacity: seq<float> * ?Pattern: Pattern * ?ReverseScale: bool * ?ShowScale: bool * ?Size: int * ?MultiSize: seq<int> * ?SizeMin: int * ?SizeMode: MarkerSizeMode * ?SizeRef: int * ?StandOff: float * ?MultiStandOff: seq<float> * ?Symbol: MarkerSymbol * ?MultiSymbol: seq<MarkerSymbol> * ?Symbol3D: MarkerSymbol3D * ?MultiSymbol3D: seq<MarkerSymbol3D> * ?OutlierColor: Color * ?OutlierWidth: int -> (Marker -> Marker)
<summary>
The marker object determines the style of the markers representing datums in various types of plots.
</summary>
--------------------
new: unit -> Marker
static member Marker.init: ?Angle: float * ?AngleRef: StyleParam.AngleRef * ?AutoColorScale: bool * ?CAuto: bool * ?CMax: float * ?CMid: float * ?CMin: float * ?Color: Color * ?Colors: seq<Color> * ?ColorAxis: StyleParam.SubPlotId * ?ColorBar: ColorBar * ?Colorscale: StyleParam.Colorscale * ?CornerRadius: int * ?Gradient: Gradient * ?Outline: Line * ?MaxDisplayed: int * ?Opacity: float * ?MultiOpacity: seq<float> * ?Pattern: Pattern * ?ReverseScale: bool * ?ShowScale: bool * ?Size: int * ?MultiSize: seq<int> * ?SizeMin: int * ?SizeMode: StyleParam.MarkerSizeMode * ?SizeRef: int * ?StandOff: float * ?MultiStandOff: seq<float> * ?Symbol: StyleParam.MarkerSymbol * ?MultiSymbol: seq<StyleParam.MarkerSymbol> * ?Symbol3D: StyleParam.MarkerSymbol3D * ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D> * ?OutlierColor: Color * ?OutlierWidth: int -> Marker
module StyleParam
from Plotly.NET
type MarkerSymbol =
| Modified of MarkerSymbol * SymbolStyle
| Circle
| Square
| Diamond
| Cross
| X
| TriangleUp
| TriangleDown
| TriangleLeft
| TriangleRight
...
member Convert: unit -> obj
override ToString: unit -> string
static member convert: (MarkerSymbol -> obj)
static member toInteger: (MarkerSymbol -> int)
union case StyleParam.MarkerSymbol.ArrowLeft: StyleParam.MarkerSymbol
val myTemplate: Template
Multiple items
type Template =
inherit DynamicObj
new: unit -> Template
static member init: layoutTemplate: Layout * ?TraceTemplates: seq<#Trace> -> Template
static member mapLayoutTemplate: styleF: (Layout -> Layout) -> template: Template -> Template
static member mapTraceTemplates: styleF: (#Trace[] -> #Trace[]) -> template: Template -> Template
static member style: layoutTemplate: Layout * ?TraceTemplates: seq<#Trace> -> (Template -> Template)
static member withColorWay: colorway: Color -> template: Template -> Template
--------------------
new: unit -> Template
static member Template.init: layoutTemplate: Layout * ?TraceTemplates: seq<#Trace> -> Template
val myTemplateExampleChart: GenericChart.GenericChart
static member Chart.Point: xy: seq<#System.IConvertible * #System.IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'c * ?MultiText: seq<'c> * ?TextPosition: StyleParam.TextPosition * ?MultiTextPosition: seq<StyleParam.TextPosition> * ?MarkerColor: Color * ?MarkerColorScale: StyleParam.Colorscale * ?MarkerOutline: Line * ?MarkerSymbol: StyleParam.MarkerSymbol * ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol> * ?Marker: Marker * ?AlignmentGroup: string * ?OffsetGroup: string * ?StackGroup: string * ?Orientation: StyleParam.Orientation * ?GroupNorm: StyleParam.GroupNorm * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart.GenericChart (requires 'c :> System.IConvertible)
static member Chart.Point: x: seq<#System.IConvertible> * y: seq<#System.IConvertible> * ?Name: string * ?ShowLegend: bool * ?Opacity: float * ?MultiOpacity: seq<float> * ?Text: 'a2 * ?MultiText: seq<'a2> * ?TextPosition: StyleParam.TextPosition * ?MultiTextPosition: seq<StyleParam.TextPosition> * ?MarkerColor: Color * ?MarkerColorScale: StyleParam.Colorscale * ?MarkerOutline: Line * ?MarkerSymbol: StyleParam.MarkerSymbol * ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol> * ?Marker: Marker * ?AlignmentGroup: string * ?OffsetGroup: string * ?StackGroup: string * ?Orientation: StyleParam.Orientation * ?GroupNorm: StyleParam.GroupNorm * ?UseWebGL: bool * ?UseDefaults: bool -> GenericChart.GenericChart (requires 'a2 :> System.IConvertible)