AxisChart
Extends:
Create AxisChart 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 d3 object for the chart's axis |
|
public |
The d3 object for the chart's group |
|
public |
iMaxValue: * |
|
public |
iMinValue: * |
|
public |
iSection: * |
|
public |
|
|
public |
The chart's axis object |
|
public |
The chart's key object |
|
public |
oScaleX: * |
|
public |
oScaleY: * |
Method Summary
Public Methods | ||
public |
Render the chart including 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 |
Sets the local config options for the chart. |
|
public |
setContainer(dContainer: Object) Sets the local container object. |
|
public |
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#constructorParams:
Name | Type | Attribute | Description |
oParams | Object | same as Chart |
Public Members
public d3AxisGroup: Object source
The d3 object for the chart's axis
Properties:
Name | Type | Attribute | Description |
d3AxisGroup | * |
public d3ChartGroup: Object source
The d3 object for the chart's group
Properties:
Name | Type | Attribute | Description |
d3ChartGroup | * |
public iMaxValue: * source
public iMinValue: * source
public iSection: * source
public jPadding: {"l": number, "r": number, "t": number, "b": number} source
The padding for the chart within the container
Override:
Chart#jPaddingpublic oAxis: Object source
The chart's axis object
Properties:
Name | Type | Attribute | Description |
oAxis | * |
public oScaleX: * source
public oScaleY: * source
Public Methods
public setDimensions() source
Supersede the parent method to update local scaling objects