Re: Chart JS error
Posted: Tue Jul 01, 2014 2:26 am
thank you for your advice.
It seems to be two problems.
1. Chart html can not upload csv to upload.php
Missing jQuery link.
I modified html as below:
CSV file seems to be uploaded to upload.php, but I got error "Data of Engine RPM is not available in this log file."
2. Doesn't parse csv file in upload.php or chartdata.js
upload.php responded to me redirect response.
chartdata.js responds to me broken json data...
I want to fix it because I think the first problem is easily resolved.
For Problem 2, I do not know how they are processed on the server, please let me know the situation.
Thanks.
It seems to be two problems.
1. Chart html can not upload csv to upload.php
Missing jQuery link.
I modified html as below:
Code: Select all
--- Freematics OBD-II GPS Data Charting Service-orig.html 2014-07-01 01:13:41.000000000 +0900
+++ Freematics OBD-II GPS Data Charting Service.html 2014-07-01 01:06:14.000000000 +0900
@@ -4,6 +4,8 @@
<title>Freematics OBD-II/GPS Data Charting Service</title>
<!-- Le styles -->
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
+
<link href="http://freematics.com/chart/css/bootstrap.css" rel="stylesheet">
<link href="http://freematics.com/chart/css/bootstrap-responsive.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
CSV file seems to be uploaded to upload.php, but I got error "Data of Engine RPM is not available in this log file."
2. Doesn't parse csv file in upload.php or chartdata.js
upload.php responded to me redirect response.
chartdata.js responds to me broken json data...
I want to fix it because I think the first problem is easily resolved.
For Problem 2, I do not know how they are processed on the server, please let me know the situation.
Thanks.