mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Time Scale Samples updated to import moment beforehand
This commit is contained in:
parent
5543041fcd
commit
4c79c5756f
@ -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'
|
||||
}
|
||||
|
||||
@ -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'
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user