Closed GoogleCodeExporter closed 8 years ago
This isn't a Flot issue; JSON is designed to describe data, independent of any
language, and has no real support for functions.
The general solution is to add those options before creating the plot; for
example:
var options = getDynamicJSONOptions();
options.grid.markings = weekendAreas;
$.plot(...
Original comment by dnsch...@gmail.com
on 30 Apr 2012 at 12:28
Thanks. I solved this by creating the options data in the external script that
creates the json data.
Original comment by WernerSc...@gmail.com
on 2 May 2012 at 12:15
Original issue reported on code.google.com by
WernerSc...@gmail.com
on 26 Apr 2012 at 6:10