Skip to content
Snippets Groups Projects
Commit 316b5ced authored by jkerdreu's avatar jkerdreu
Browse files

Change time format


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2194 b32b6428-25c9-4566-ad07-03861ab6144f
parent 5e8d857f
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
<br/>
<div class="content">
<div id="data">Warp10 datas for ${addr} daily</div>
<canvas id="chart" height=150></canvas>
<canvas id="chart"></canvas>
</div>
......@@ -87,11 +87,14 @@ var config = {
},
options: {
responsive: true,
//maintainAspectRatio: false,
scales: {
xAxes: [{
type: 'time',
time: {
parser: 'X'
parser: 'X',
displayFormats: { hour: 'H:mm'}
}
}],
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment