Created
June 23, 2011 04:55
-
-
Save johnrobertwilson/1041926 to your computer and use it in GitHub Desktop.
dataviz jquery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DATAVIZ = { }; | |
DATAVIZ.adapters = new Array(); | |
DATAVIZ.adapters['jqplot'] = { }; | |
DATAVIZ.adapters['jqplot'] = { | |
init : function() { | |
//Maybe load the file here instead? | |
}, | |
render : function(data_object, type, container_id) { | |
$.getScript('sites/all/modules/custom/energy_data_viz_api/DATAVIZ.jqplot.js', function(data, textStatus){ | |
DATAVIZ.jqplot.render(data_object, type, container_id); | |
return true; | |
}); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment