Am I doing something wrong with jquery?

I want to display charts on a site so I downloaded ElyCharts from . I’ve never used jquery before so I don’t know what to expect.

According to their documentation you need to have jquery and Raphael installed, so I downloaded both of those and uploaded them to my website.

My website contains the following:

– cgi-bin folder
– elycharts.js
– index.htm
– jquery-1.10.2.min.js
– raphael-min.js

I renamed the .js files to match what they are called in the code.

According to their documentation page you need to include the libraries and then include some code to make a chart. My index.htm file is this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="jquery.js" type="text/javascript"></script>
  <script src="raphael.js" type="text/javascript"></script>
  <script src="elycharts.js" type="text/javascript"></script>
</head>

<body>
<div id="chart"></div>
<script type="text/javascript">
  $("#chart").chart({
 type : "line",
 values : {
  serie1 : [9, 73, 59, 24],
  serie2 : [9, 63, 47, 20]
 }
});
</script>

</body>
</html>

When I load the page I don’t see anything. I would expect to see the example chart on their page that I copied the code from.

That’s the index.htm file. Do I need to upload anything else?

Seems I’m not the only one who can’t get it to work. It says it doesn’t work with jquery 1.9 or later.

It says it works if jsquery-migrate is included. I downloaded a file called jquery-migrate-1.2.1.min.js and uploaded it and added <script src="jquery-migrate-1.2.1.min.js" type="text/javascript"></script> but it still doesn’t work. Is that how you include it?

Should I use another graphing script if this one doesn’t work with current jquery?

Should I try to find jquery 1.6 and use that instead?

I got jquery1.6.4 and it still doesn’t work.

It works in their examples in jsfiddle unless you use a later version of jsquery.

if you’re trying to include 2 jquery files

1 of them 1.10

the other 1.6

you’re going to have a bad time.