Namespace: cg

cg

Functions inside this namespace can be used outside of the module with cg.functionName(). All the functions here call a private function of the same name in the columnGraphs module. Contains functions for initializing data and metadata, drawing graphs and helper functions like wrapping text or getting text width.

Click the links to the private function to check the parameters and functionality description.
Version:
  • 1.0.0
Source:

Methods

(static) addResizeFunc()

Calls private function module:columnGraphs.optimizedResize.add.
Source:

(static) addTitle()

Calls private function module:columnGraphs.addTitle.
Source:

(static) drawCompareCategories()

Source:

(static) drawStackedBars()

Calls private function module:columnGraphs.drawStackedBars.
Source:

(static) getArrayMax()

Calls private function module:columnGraphs.getArrayMax.
Source:

(static) getArrayMin()

Calls private function module:columnGraphs.getArrayMin.
Source:

(static) getAxisTextWidths()

Calls private function module:columnGraphs.getAxisTextWidths.
Source:

(static) getConf()

Calls private function module:columnGraphs.getConf.
Source:

(static) getTextColor()

Calls private function module:columnGraphs.getTextColor.
Source:

(static) getTextWidth()

Calls private function module:columnGraphs.getTextWidth.
Source:

(static) initData()

Calls private function module:columnGraphs.initData.
Source:

(static) initMetadata()

Calls private function module:columnGraphs.initMetadata.
Source:

(static) initSvg()

Calls private function module:columnGraphs.initSvg.
Source:

(static) removeResizeFunc()

Source:

(static) roundOneDec()

Calls private function module:columnGraphs.roundOneDec.
Source:

(static) roundTwoDec()

Calls private function module:columnGraphs.roundTwoDec.
Source:

(static) setConf()

Calls private function module:columnGraphs.setConf.
Source:

(static) wrapText()

Calls private function module:columnGraphs.wrapText.
Source: