Axes information will be lost otherwise

This commit is contained in:
dadav 2019-12-02 19:20:47 +01:00
parent 988d093e36
commit 95557ab37d

@ -65,6 +65,15 @@ TEMPLATE = """
}, },
rowSpacing: '0px' rowSpacing: '0px'
}, },
highlighter: {
show: true,
sizeAdjust: 7.5
},
cursor:{
show: true,
tooltipLocation:'sw'
}
}).replot({
axes:{ axes:{
xaxis:{ xaxis:{
renderer:$.jqplot.DateAxisRenderer, renderer:$.jqplot.DateAxisRenderer,
@ -74,16 +83,8 @@ TEMPLATE = """
min: 0, min: 0,
tickOptions:{formatString:'%.2f'} tickOptions:{formatString:'%.2f'}
} }
},
highlighter: {
show: true,
sizeAdjust: 7.5
},
cursor:{
show: true,
tooltipLocation:'sw'
} }
}).replot({resetAxes: true}); });
} }
function loadAll() { function loadAll() {