Class: Container

Container


new Container(elementID)

Collects values designated for sgvizler in the given. See also property PREFIX.

Parameters:
Name Type Description
elementID string

The ID for which the attributes should be collected.

Members


chart


chartName

Get the name of chart object.


chartOptions


id


lang


loadingIcon

Get the loading icon of container.


loglevel


request

Methods


draw()

Returns:
Type
Promise.<void>

saveRefOfContainer()

Save the reference of container


<static> create(elementID, endpoint, query, chartName, options, loglevel)

Parameters:
Name Type Description
elementID string
endpoint string
query string
chartName string
options string
loglevel string
Returns:
Type
string

<static> drawAll()

Draws all sgvizler-containers on page.

Returns:
Type
Promise.<any>