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