randyzwitch / ECharts.jl

Julia package for the Apache ECharts v4 visualization library
https://randyzwitch.com/ECharts.jl/
Other
84 stars 9 forks source link

Factor out as much literal JS as possible #47

Open randyzwitch opened 6 years ago

randyzwitch commented 6 years ago

One of the downsides of the JSFunction type is that it deviates from JSON standard. Thus, the code works if you splat it into an HTML page, but you can't read the JSON from an endpoint.

Factor out the usage as much as possible, so that external JSON files can be read.