XPlot


ForceLayoutChart Type

Namespace: XPlot.D3

Assembly: XPlot.D3.dll

Base Type: obj

Record fields

Record Field Description

edges

Full Usage: edges

Modifiers: mutable

nodes

Full Usage: nodes

Modifiers: mutable

type

Full Usage: type

Modifiers: mutable

Constructors

Constructor Description

ForceLayoutChart()

Full Usage: ForceLayoutChart()

Returns: ForceLayoutChart

Returns: ForceLayoutChart

Instance members

Instance member Description

this.GetHtml()

Full Usage: this.GetHtml()

Returns: string

Returns: string

this.GetInlineHtml()

Full Usage: this.GetInlineHtml()

Returns: string

Returns: string

this.GetInlineJS()

Full Usage: this.GetInlineJS()

Returns: string

The chart's inline JavaScript code.

Returns: string

this.Height

Full Usage: this.Height

this.Id

Full Usage: this.Id

The chart's container div id.

this.Options

Full Usage: this.Options

this.Show()

Full Usage: this.Show()

Displays a chart in the default browser.

this.Width

Full Usage: this.Width

this.WithCharge(charge)

Full Usage: this.WithCharge(charge)

Parameters:
    charge : float

charge : float

this.WithEdgeOptions(edgeOptions)

Full Usage: this.WithEdgeOptions(edgeOptions)

Parameters:

edgeOptions : Edge -> EdgeOptions

this.WithGravity(gravity)

Full Usage: this.WithGravity(gravity)

Parameters:
    gravity : float

gravity : float

this.WithHeight(height)

Full Usage: this.WithHeight(height)

Parameters:
    height : int

Sets the chart's height.

height : int

this.WithId(newId)

Full Usage: this.WithId(newId)

Parameters:
    newId : string

Sets the chart's container div id.

newId : string

this.WithNodeOptions(nodeOptions)

Full Usage: this.WithNodeOptions(nodeOptions)

Parameters:

nodeOptions : Node -> NodeOptions

this.WithWidth(width)

Full Usage: this.WithWidth(width)

Parameters:
    width : int

width : int

Static members

Static member Description

ForceLayoutChart.Create(edgeMappings)

Full Usage: ForceLayoutChart.Create(edgeMappings)

Parameters:
    edgeMappings : seq<string * string>

Returns: ForceLayoutChart

edgeMappings : seq<string * string>
Returns: ForceLayoutChart

ForceLayoutChart.Create(nodes)

Full Usage: ForceLayoutChart.Create(nodes)

Parameters:
Returns: ForceLayoutChart

nodes : seq<Node>
Returns: ForceLayoutChart