Flot.js, Codeigniter and pulling data from Piwik Lib |
[eluser]the_unforgiven[/eluser]
Hi All, I really stumbled here, I'm using flot.js to generate a graph to show amount of visits (tried Google but the stupid Oauth thing happens every time so gone with Piwik, plus its better) So i have done tutorials on the net and tried different libs and methods but no joy. Here's all my code in parts controller header etc in pastie.org Controller View File Then in my header i have the two javascript files for flot.js and jquery like so: http://pastie.org/5620692 So i need to know how to get the varibles to work with all of which i have shown you when i do dummy data like: Dummy Java it works! Would some please help me get this right much appreciation Cheers!
[eluser]the_unforgiven[/eluser]
Look through some other posts on the net seems like i need to json_encode or something, anyone had experience with this pulling data from $vars and doing a print_r($visits) shows the visits which is currently 6 so do i need to do something else in order to get this within the graph?
|
Welcome Guest, Not a member yet? Register Sign In |