Class: ChartFactory

ChartFactory

new epiviz.ui.charts.ChartFactory(config)

ui/charts/chart-factory.js, line 17
Name Type Description
config epiviz.Config

Methods

foreach(func)

ui/charts/chart-factory.js, line 116

Iterates through all types in the factory, or until func returns something that evaluates to true.

Iterates through all types in the factory, or until func returns something that evaluates to true.

Name Type Description
func function

A function called for each (typeName, descriptor) pair in the factory.

get(typeName){epiviz.ui.charts.ChartType}

ui/charts/chart-factory.js, line 104
Name Type Description
typeName string
Returns:
Type Description
epiviz.ui.charts.ChartType

register(typeName){boolean}

ui/charts/chart-factory.js, line 77
Name Type Description
typeName string
Returns:
Type Description
boolean

registerType(type)

ui/charts/chart-factory.js, line 53
Name Type Description
type epiviz.ui.charts.ChartType

size(){number}

ui/charts/chart-factory.js, line 46
Returns:
Type Description
number

unregister(typeName){boolean}

ui/charts/chart-factory.js, line 91
Name Type Description
typeName string
Returns:
Type Description
boolean

unregisterType(type){boolean}

ui/charts/chart-factory.js, line 64
Name Type Description
type epiviz.ui.charts.ChartType
Returns:
Type Description
boolean
comments powered by Disqus