GenericChartExtensions Module
Extension methods for providing a Plotly.NET fluent interface pattern for C#
Type extensions
Type extension | Description |
Full Usage:
this.SaveHtml
Parameters:
string
?OpenInBrowser : bool
|
|
Full Usage:
this.Show
Parameters:
unit
|
|
Full Usage:
this.WithAdditionalHeadTags
Parameters:
XmlNode list
Returns: GenericChart
|
|
Full Usage:
this.WithAngularAxis
Parameters:
AngularAxis
?Id : int
Returns: GenericChart
|
|
Full Usage:
this.WithAnnotation
Parameters:
Annotation
?Append : bool
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithAnnotations
Parameters:
Annotation seq
?Append : bool
Returns: GenericChart
|
Extended Type:
|
|
|
|
|
|
Extended Type:
|
|
Extended Type:
|
|
|
|
|
Full Usage:
this.WithGeoStyle
Parameters:
SubPlotId
?FitBounds : GeoFitBounds
?Resolution : GeoResolution
?Scope : GeoScope
?Projection : GeoProjection
?Center : float * float
?Visible : bool
?Domain : Domain
?ShowCoastLines : bool
?CoastLineColor : Color
?CoastLineWidth : float
?ShowLand : bool
?LandColor : Color
?ShowOcean : bool
?OceanColor : Color
?ShowLakes : bool
?LakeColor : Color
?ShowRivers : bool
?RiverColor : Color
?RiverWidth : float
?ShowCountries : bool
?CountryColor : Color
?CountryWidth : float
?ShowSubunits : bool
?SubunitColor : Color
?SubunitWidth : float
?ShowFrame : bool
?FrameColor : Color
?FrameWidth : float
?BgColor : Color
?LatAxis : LinearAxis
?LonAxis : LinearAxis
Returns: GenericChart
|
Sets the map style for the given chart (will only work with traces supporting geo, e.g. choropleth, scattergeo) Parameters : FitBounds : Determines if and how this subplot's view settings are auto-computed to fit trace data Resolution : Sets the resolution of the base layers Scope : Set the scope of the map. Projection : Determines the type of projection used to display the map Center : Sets the (lon,lat) coordinates of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. For all projection types, the map's latitude center lies at the middle of the latitude range by default. Visible : Whether or not the base layers are visible Domain : The domain of this geo subplot ShowCoastLine : Sets whether or not the coastlines are drawn. CoastLineColor : Sets the coastline color. CoastLineWidth : Sets the coastline stroke width (in px). ShowLand : Sets whether or not land masses are filled in color. LandColor : Sets the land mass color. ShowOcean : Sets whether or not oceans are filled in color. OceanColor : Sets the ocean color ShowLakes : Sets whether or not lakes are drawn. LakeColor : Sets the color of the lakes. ShowRivers : Sets whether or not rivers are drawn. RiverColor : Sets color of the rivers. RiverWidth : Sets the stroke width (in px) of the rivers. ShowCountries : Sets whether or not country boundaries are drawn. CountryColor : Sets line color of the country boundaries. CountryWidth : Sets line width (in px) of the country boundaries. ShowSubunits : Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. SubunitColor : Sets the color of the subunits boundaries. SubunitWidth : Sets the stroke width (in px) of the subunits boundaries. ShowFrame : Sets whether or not a frame is drawn around the map. FrameColor : Sets the color the frame. FrameWidth : Sets the stroke width (in px) of the frame. BgColor : Set the background color of the map LatAxis : Sets the latitudinal axis for this geo trace LonAxis : Sets the longitudinal axis for this geo trace
Extended Type:
|
|
|
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
this.WithLayoutGridStyle
Parameters:
(LinearAxisId * LinearAxisId)[][]
?XAxes : LinearAxisId[]
?YAxes : LinearAxisId[]
?Rows : int
?Columns : int
?RowOrder : LayoutGridRowOrder
?Pattern : LayoutGridPattern
?XGap : float
?YGap : float
?Domain : Domain
?XSide : LayoutGridXSide
?YSide : LayoutGridYSide
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithLayoutImage
Parameters:
LayoutImage
?Append : bool
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithLayoutImages
Parameters:
LayoutImage seq
?Append : bool
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithLayoutStyle
Parameters:
Title
?ShowLegend : bool
?Margin : Margin
?AutoSize : bool
?Width : int
?Height : int
?Font : Font
?UniformText : UniformText
?Separators : string
?PaperBGColor : Color
?PlotBGColor : Color
?AutoTypeNumbers : AutoTypeNumbers
?Colorscale : DefaultColorScales
?Colorway : Color
?ModeBar : ModeBar
?HoverMode : HoverMode
?ClickMode : ClickMode
?DragMode : DragMode
?SelectDirection : SelectDirection
?HoverDistance : int
?SpikeDistance : int
?Hoverlabel : Hoverlabel
?Transition : Transition
?DataRevision : string
?UIRevision : string
?EditRevision : string
?SelectRevision : string
?Template : DynamicObj
?Meta : string
?Computed : string
?Grid : LayoutGrid
?Calendar : Calendar
?NewShape : NewShape
?ActiveShape : ActiveShape
?HideSources : bool
?BarGap : float
?BarGroupGap : float
?BarMode : BarMode
?BarNorm : BarNorm
?ExtendPieColors : bool
?HiddenLabels : 'a seq
?PieColorWay : Color
?BoxGap : float
?BoxGroupGap : float
?BoxMode : BoxMode
?ViolinGap : float
?ViolinGroupGap : float
?ViolinMode : ViolinMode
?WaterfallGap : float
?WaterfallGroupGap : float
?WaterfallMode : WaterfallMode
?FunnelGap : float
?FunnelGroupGap : float
?FunnelMode : FunnelMode
?ExtendFunnelAreaColors : bool
?FunnelAreaColorWay : Color
?ExtendSunBurstColors : bool
?SunBurstColorWay : Color
?ExtendTreeMapColors : bool
?TreeMapColorWay : Color
?ExtendIcicleColors : bool
?IcicleColorWay : Color
?Annotations : Annotation seq
?Shapes : Shape seq
?Images : LayoutImage seq
?Sliders : Slider seq
?UpdateMenus : UpdateMenu seq
Returns: GenericChart
|
Extended Type:
|
|
Extended Type:
|
|
Extended Type:
|
|
|
Full Usage:
this.WithLineStyle
Parameters:
bool
?CAuto : bool
?CMax : float
?CMid : float
?CMin : float
?Color : Color
?ColorAxis : SubPlotId
?Colorscale : Colorscale
?ReverseScale : bool
?ShowScale : bool
?ColorBar : ColorBar
?Dash : DrawingStyle
?Shape : Shape
?Simplify : bool
?Smoothing : float
?Width : float
?MultiWidth : float seq
?OutlierColor : Color
?OutlierWidth : float
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithMapProjection
Parameters:
GeoProjectionType
?Rotation : GeoProjectionRotation
?Parallels : float * float
?Scale : float
?Id : 'a
Returns: GenericChart
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
this.WithMarginSize
Parameters:
'a
?Right : 'b
?Top : 'c
?Bottom : 'd
?Pad : 'e
?Autoexpand : 'f
Returns: GenericChart
|
Extended Type:
|
|
|
Full Usage:
this.WithMarkerStyle
Parameters:
bool
?CAuto : bool
?CMax : float
?CMid : float
?CMin : float
?Color : Color
?Colors : Color seq
?ColorAxis : SubPlotId
?ColorBar : ColorBar
?Colorscale : Colorscale
?Gradient : Gradient
?Outline : Line
?MaxDisplayed : int
?Opacity : float
?MultiOpacity : float seq
?Pattern : Pattern
?ReverseScale : bool
?ShowScale : bool
?Size : int
?MultiSize : int seq
?SizeMin : int
?SizeMode : MarkerSizeMode
?SizeRef : int
?Symbol : MarkerSymbol
?MultiSymbol : MarkerSymbol seq
?Symbol3D : MarkerSymbol3D
?MultiSymbol3D : MarkerSymbol3D seq
?OutlierColor : Color
?OutlierWidth : int
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithMathTex
Parameters:
bool
?MathJaxVersion : int
Returns: GenericChart
|
|
|
|
|
|
|
|
|
Extended Type:
|
|
Extended Type:
|
|
Extended Type:
|
|
Extended Type:
|
|
Extended Type:
|
|
Extended Type:
|
|
|
|
Extended Type:
|
Full Usage:
this.WithTraceInfo
Parameters:
string
?Visible : Visible
?ShowLegend : bool
?LegendRank : int
?LegendGroup : string
?LegendGroupTitle : Title
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithUpdateMenu
Parameters:
UpdateMenu
?Append : bool
Returns: GenericChart
|
Extended Type:
|
Full Usage:
this.WithUpdateMenus
Parameters:
UpdateMenu seq
?Append : bool
Returns: GenericChart
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
this.WithXAxisRangeSlider
Parameters:
RangeSlider
?Id : SubPlotId
Returns: GenericChart
|
|
Full Usage:
this.WithXAxisStyle
Parameters:
Title
?MinMax : IConvertible * IConvertible
?ShowGrid : bool
?ShowLine : bool
?Side : Side
?Overlaying : LinearAxisId
?Id : SubPlotId
?Domain : IConvertible * IConvertible
?Position : float
?ZeroLine : bool
?Anchor : LinearAxisId
Returns: GenericChart
|
Extended Type:
|
|
|
Full Usage:
this.WithXErrorStyle
Parameters:
'a seq
?Arrayminus : 'b seq
?Symmetric : bool
?Color : Color
?Thickness : float
?Width : float
Returns: GenericChart
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
this.WithYAxisStyle
Parameters:
Title
?MinMax : IConvertible * IConvertible
?ShowGrid : bool
?ShowLine : bool
?Side : Side
?Overlaying : LinearAxisId
?Id : SubPlotId
?Domain : IConvertible * IConvertible
?Position : float
?ZeroLine : bool
?Anchor : LinearAxisId
Returns: GenericChart
|
Extended Type:
|
|
|
Full Usage:
this.WithYErrorStyle
Parameters:
'a seq
?Arrayminus : 'b seq
?Symmetric : bool
?Color : Color
?Thickness : float
?Width : float
Returns: GenericChart
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
this.WithZAxisStyle
Parameters:
Title
?MinMax : IConvertible * IConvertible
?ShowGrid : bool
?ShowLine : bool
?Domain : IConvertible * IConvertible
?Anchor : LinearAxisId
Returns: GenericChart
|
Extended Type:
|
|
|
Full Usage:
this.WithZErrorStyle
Parameters:
'a seq
?Arrayminus : 'b seq
?Symmetric : bool
?Color : Color
?Thickness : float
?Width : float
Returns: GenericChart
|
Extended Type:
|
|
Extended Type:
|
Full Usage:
this.withMapbox (mapBox, ?Id)
Parameters:
Mapbox
?Id : int
Returns: GenericChart
|