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