BarConfig

BarConfig

new BarConfig()

Source:

API to parse consumer input for Bar graph

Methods

clone() → {BarConfig}

Source:

Clones the input JSON into the config object

Returns:

instance object

Type
BarConfig

getConfig() → {object}

Source:

Returns the config object

Returns:

config object

Type
object

setInput(inputJSON) → {BarConfig}

Source:

Sets the input object

Parameters:
Name Type Description
inputJSON object

Input JSON

Returns:

instance object

Type
BarConfig

validateInput() → {BarConfig}

Source:

Validates and verifies the input JSON object.

Returns:

instance object

Type
BarConfig

BarConfig

new BarConfig()

Source:

Methods

clone() → {BarConfig}

Source:

Clones the input JSON into the config object

Returns:

instance object

Type
BarConfig

getConfig() → {object}

Source:

Returns the config object

Returns:

config object

Type
object

setInput(inputJSON) → {BarConfig}

Source:

Sets the input object

Parameters:
Name Type Description
inputJSON object

Input JSON

Returns:

instance object

Type
BarConfig

validateInput() → {BarConfig}

Source:

Validates and verifies the input JSON object.

Returns:

instance object

Type
BarConfig