I tried fleet diagrams, but I continue to encounter this error:
TypeError: $ .plot is not a function
I have imported all the necessary javascripts before my own functions.
HTML:
<div class="row"> <div id="monthly_balance" class="col-md-12" style="height: 200px;"> </div> </div>
JS:
<script src="//cdn.jsdelivr.net/jquery/2.1.3/jquery.min.js"></script> <script src="//cdn.jsdelivr.net/bootstrap/3.3.4/js/bootstrap.min.js"></script> <script src="//cdn.jsdelivr.net/excanvas/r3/excanvas.compiled.js"></script> <script src="//cdn.jsdelivr.net/jquery.flot/0.8.4/jquery.flot.min.js"></script> <script type="text/javascript"> $(function () { var data = [[1, 12], [2, 25], [3, 4]]; </script>
My js is at the bottom of the page (I also tried to put it in my head, but kept the same error).
source share