XPlot


PlotlyChart

Namespace: XPlot.Plotly

Record Fields

Record FieldDescription
labels
Signature: seq<string> option
Modifiers: mutable
Attributes:
[<DefaultValue>]
layout
Signature: Layout option
Modifiers: mutable
Attributes:
[<DefaultValue>]
traces
Signature: seq<Trace>
Modifiers: mutable
Attributes:
[<DefaultValue>]

Constructors

ConstructorDescription
new()
Signature: unit -> PlotlyChart

CompiledName: .ctor

Instance members

Instance memberDescription
GetHtml()
Signature: unit -> string

Returns the chart's full HTML source.

GetInlineHtml()
Signature: unit -> string

Inline markup that can be embedded in a HTML document.

GetInlineJS()
Signature: unit -> string

The chart's inline JavaScript code.

Height()
Signature: unit -> int

The height of the chart container element.

CompiledName: set_Height

Height()
Signature: unit -> unit

The height of the chart container element.

CompiledName: get_Height

Id()
Signature: unit -> string

The chart's container div id.

CompiledName: set_Id

Id()
Signature: unit -> unit

The chart's container div id.

CompiledName: get_Id

Plot(data, Layout, Labels)
Signature: (data:seq<'?9620> * Layout:Layout option * Labels:seq<string> option) -> unit
Type parameters: '?9620
Show()
Signature: unit -> unit
Width()
Signature: unit -> int

The width of the chart container element.

CompiledName: set_Width

Width()
Signature: unit -> unit

The width of the chart container element.

CompiledName: get_Width

WithHeight(height)
Signature: height:int -> unit

Sets the chart's height.

WithId(newId)
Signature: newId:string -> unit

Sets the chart's container div id.

WithLabel(label)
Signature: label:string -> unit

Sets the data series label. Use this member if the chart's data is a single series.

WithLabels(labels)
Signature: labels:seq<string> -> unit

Sets the data series labels. Use this method if the chart's data is a series collection.

WithLayout(layoutObj)
Signature: layoutObj:Layout -> unit

Sets the chart's configuration options.

WithLegend(enabled)
Signature: enabled:bool -> unit

Display/hide the legend.

WithOptions(options)
Signature: options:Layout -> unit

Sets the chart's configuration options.

WithSize(width, height)
Signature: (width:int * height:int) -> unit

Sets the chart's width and height.

WithTitle(title)
Signature: title:string -> unit

Sets the chart's title.

WithWidth(width)
Signature: width:int -> unit

Sets the chart's width.

WithXTitle(xTitle)
Signature: xTitle:string -> unit

Sets the chart's X-axis title.

WithYTitle(yTitle)
Signature: yTitle:string -> unit

Sets the chart's Y-axis title.

Fork me on GitHub