new PfChartUtil()
Methods
-
generate(config)
-
generate chart
Parameters:
Name Type Description configobject -
getJSONAttribute(e, attribute)
-
replace single quotes with double while parsing JSON strings
Parameters:
Name Type Description ethis
attributestring attribute's name
-
load(chart, obj)
-
c3 load function
Parameters:
Name Type Description chartobjobject -
unload(chart, obj)
-
c3 unload function
Parameters:
Name Type Description chartobjobject