Hi,
I want to use flot charts in my application.I tried running an example
which required jquery.js ,jquery.flot.js ,jquery.flot.navigate.js files.I
uploaded all these files in the static/js folder and in the view I used
<script src="{{=URL('static','js','jquery.js')}}"></script>
<script src="{{=URL('static','js','jquery.flot.js')}}"></script>
<script src="{{=URL('static','js','jquery.flot.navigate.js')}}"></script>
I also uploaded some images and included them in the view as follows:
...........
function addArrow(dir, right, top, offset) {
var filename='arrow-'+dir+'gif';
$("<img class='button'
src="{{=URL('static','images')}}"+"/"+filename style='right:' + right +
"px;top:" + top + 'px'>")........
............................................}
But the graph is not getting displayed.Could anyone please point out what I
am doing wrong and why it is wrong.Thanks in advance.
Regards
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.