You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So all charts get generated with the "drawChart()" function, which I bind the initial chart to the dom and render a new one. Any time a new chart gets rendered, all charts are redrawn. Also, if I need to update a chart, all charts are redrawn.
Any chance we can get an option to name the drawChart function for each chart? Defaulting to drawChart() is great, but an option would be nice.
Activity
kmd1970 commentedon Dec 23, 2016
@drcrook1 This can be added easily, see below.
Main.fs (line 162) replace:
let jsTemplate = """google.setOnLoadCallback(drawChart); function drawChart() {with
let jsTemplate = """google.setOnLoadCallback({CALLBACK}); function {CALLBACK}() { var data = new google.visualization.DataTable({DATA});Main.fs (near line 296) replace:
with
Main.fs (near line 306) add:
Main.fs (near line 329) add:
Main.fs (near line 404) add:
You can now use the syntax:
which creates