Reference Source
import BubbleChart from 'd-theia/src/components/BubbleChart.js'
public class | source

BubbleChart

Extends:

Chart → BubbleChart

Create BubbleCharts from the supplied data, based on the supplied JSON config.

Constructor Summary

Public Constructor
public

constructor(oParams: Object)

Constructor function supersedes parent class.

Member Summary

Public Members
public

The local collection of bubbles

public
public
public
public

oAxis: *

public

oForce: *

public

oKey: *

public
public

Method Summary

Public Methods
public

Render the chart including bubbles, axes and labels

public

Supersede the parent method to update local scaling objects

Inherited Summary

From class Chart
public

The chart's data

public

SVG d3 object for d3 operations on the chart

public

DOM reference to container element that wraps SVG

public

DOM reference to loader display element

public

SVG DOM object for displaying the chart

public

The current calculated height of the chart

public

The width before any browser resize

public

The current calculated inner height of the chart

public

The current calculated inner width of the chart

public
public

Default time for d3 transitions on the chart

public

The current calculated width of the chart

public

The chart's config object

public

The padding for the chart within the container

public
public
public

Chart's tooltip object

public

init(): *

Check chart is ready and render.

public

setConfig(jConfig: Object)

Sets the local config options for the chart.

public

setContainer(dContainer: Object)

Sets the local container object.

public

setData(aData: Array, bTransform: Boolean)

Sets the local data for the chart.

public

Sets the local chart dimensions based on the size of the container.

public

updateConfig(jConfig: JSON)

Updates the local config for the chart.

public

updateData(aData: Array, bTransform: Boolean)

Updates the local data for the chart.

Public Constructors

public constructor(oParams: Object) source

Constructor function supersedes parent class.

Override:

Chart#constructor

Params:

NameTypeAttributeDescription
oParams Object

same as Chart

Public Members

public aBubbles: Array source

The local collection of bubbles

Properties:

NameTypeAttributeDescription
aBubbles *

public d3AxisGroup: * source

public d3BubblesGroup: * source

public d3Circles: * source

public oAxis: * source

public oForce: * source

public oKey: * source

public oScaleColor: * source

public sChartType: string source

Public Methods

public renderChart() source

Render the chart including bubbles, axes and labels

public setDimensions() source

Supersede the parent method to update local scaling objects

Override:

Chart#setDimensions