XPlot


GoogleChart

Namespace: XPlot.GoogleCharts

Record Fields

Record FieldDescription
dataTable
Signature: DataTable
Modifiers: mutable
Attributes:
[<DefaultValue>]
options
Signature: Options
Modifiers: mutable
Attributes:
[<DefaultValue>]
type
Signature: ChartGallery
Modifiers: mutable
Attributes:
[<DefaultValue>]

Constructors

ConstructorDescription
new()
Signature: unit -> GoogleChart

CompiledName: .ctor

Instance members

Instance memberDescription
ApiKey()
Signature: unit -> string

The Google Maps API Key, used with Goe and Map charts.

CompiledName: set_ApiKey

ApiKey()
Signature: unit -> unit

The Google Maps API Key, used with Goe and Map charts.

CompiledName: get_ApiKey

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 (provided that it has a reference to Google APIs and loads the required Google Charts packages).

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

Show()
Signature: unit -> unit

Displays a chart in the default browser.

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

WithApiKey(newApiKey)
Signature: newApiKey:string -> unit

Sets the Google Maps API Key, used by Goe and Map charts.

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 method 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.

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