JqPlot - Does not show simple graph
Hi guys,
I'm really new to Javascrip/Jquery/Jqplot and I'm trying to learn by myself.
Then I have some questions,
Is this code enough to show a simple graph? Because it's not working, it shows a blank page.
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>Test</title>
- <script type="text/javascript" src="js/jqplot.canvasTextRenderer.min.js"></script>
- <script type="text/javascript" src="js/jqplot.canvasAxisLabelRenderer.min.js"></script>
- <script language="javascript">
- $(document).ready(function(){
- var plot1 = $.jqplot ('chart1', [[3,7,9,1,4,6,8,2,5]]);
- });
- </script>
- </head>
- <body>
- </body>
- </html>