javascript - Using ChartbuilderDispatcher for loading external data -
using chartbuilder 3.x , attempting create ability load external objects build charts. function exists when reload page, button appears says "reload previous data". uses localstorage object.
however functions load data anonymous.
looking create button load specified version of chart based on local json object, not localstorage object.
the chart uses function said anonymous @ runtime cannot test via consolhttp://quartz.github.io/chartbuilder/api-docs/#chartbuilderdispatcher
the call is: chartserveractions.receivemodel(json.parse(localstorage.getitem("model")));
the application great job of storing state, id able add functionality instead or replacing it.
Comments
Post a Comment