Protected
axisThe chart's axis object instance
Protected
chartThe chart's config object
Protected
chartThe chart's data array
Protected
chartAn event watcher for the user moving the mouse out of the chart
Protected
chartThe chart's type
Private
containerDOM reference to container element that wraps SVG
Protected
d3SVG d3 object for d3 operations on the chart
Private
Optional
d3d3 reference to chart title element
Protected
doWhether to transform keys from an unknown data schema
Protected
heightThe current calculated height of the chart
Private
initialThe width before any browser resize
Protected
innerThe current calculated inner height of the chart
Protected
innerThe current calculated inner width of the chart
Protected
keyThe chart's key object instance
Private
loaderDOM reference to loader display element
Protected
paddingThe padding for the chart within the container
Protected
resizeThe chart's resize offset
Protected
resizeAn event watcher for the user resizing the browser
Protected
svgSVG DOM object for displaying the chart
Protected
tooltipChart's tooltip object instance
Protected
transitionDefault time for d3 transitions on the chart
Protected
widthThe current calculated width of the chart
Protected
renderPrivate
setSets the local config options for the chart.
missing configuration
JSON configuration object
determine whether to add random colours to the config
Private
setPrivate
setSets the local data for the chart.
missing data
array of JSON objects
Protected
setUpdates the local config for the chart.
updateConfig
config JSON style object
Updates the local data for the chart.
array of JSON objects
Generated using TypeDoc
The parent class for all types of Chart used to initialise all of the base settings universal to all charts. In handles data setting/updating, document resizing and includes the tooltip.