Time Scale Samples updated to import moment beforehand

This commit is contained in:
Tanner Linsley 2015-09-28 12:46:25 -06:00
parent 5543041fcd
commit 4c79c5756f
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@
<head>
<title>Line Chart</title>
<script src="../node_modules/moment/min/moment.min.js"></script>
<script src="../Chart.js"></script>
<script src="../node_modules/jquery/dist/jquery.min.js"></script>
<style>
@ -81,7 +82,7 @@
xAxes: [{
type: "time",
display: true,
tick: {
time: {
format: 'MM/DD/YYYY HH:mm',
// round: 'day'
}

View File

@ -3,6 +3,7 @@
<head>
<title>Line Chart</title>
<script src="../node_modules/moment/min/moment.min.js"></script>
<script src="../Chart.js"></script>
<script src="../node_modules/jquery/dist/jquery.min.js"></script>
<style>
@ -70,7 +71,7 @@
xAxes: [{
type: "time",
display: true,
tick: {
time: {
format: 'MM/DD/YYYY HH:mm',
// round: 'day'
},