Hi,
I am trying to create pie charts within a JS callback once a user clicks somewhere in a standalone html file.
However, I can not access the Bokeh.Charts object (module? I am kind of noobish at JS…), the following piece of code fails on the Browser:
source.callback = CustomJS(args=dict(source=source), code="""
data = ....
var pie = Bokeh.Charts.pie(data)
""")
… with error (Firefox):
TypeError: Bokeh.Charts is undefined[Learn More]
Bokeh.Charts.pie should be available according to the docs:
Any help appreciated…
Thanks,
Georg

