XPlot


GoogleChart

Record Fields

Record FieldDescription
dataTable
Signature: DataTable
Modifiers: mutable
options
Signature: Options
Modifiers: mutable
type
Signature: ChartGallery
Modifiers: mutable

Constructors

ConstructorDescription
new()
Signature: unit -> GoogleChart

Instance members

Instance memberDescription
Height()
Signature: unit -> int

The height of the chart container element.

Height()
Signature: unit -> unit

The height of the chart container element.

Html
Signature: string

The chart's complete HTML code.

Id()
Signature: unit -> string

The chart's container div id.

Id()
Signature: unit -> unit

The chart's container div id.

InlineHtml
Signature: string

Inline HTML that can be embedded in a larger page (provided that the page has a reference to Google APIs and loads required Google Charts)

Js
Signature: string

The chart's JavaScript code. Doesn't contain the necessary line for loading the appropiate Google visualization package.

Width()
Signature: unit -> int

The width of the chart container element.

Width()
Signature: unit -> unit

The width of the chart container element.

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 member if the chart's data is a series collection.

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

Display/hide the legend.

WithOptions(options)
Signature: options:Options -> 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.

Static members

Static memberDescription
Create(data labels options type)
Signature: data:seq<Series> -> (labels:seq<string> option) -> options:Options -> type:ChartGallery -> GoogleChart
CreateFromDataTable(...)
Signature: dataTable:DataTable -> options:Options -> type:ChartGallery -> GoogleChart
Fork me on GitHub