Initial commit
This commit is contained in:
31
client/jsFiles/SEAWebClientGraphics.js
Normal file
31
client/jsFiles/SEAWebClientGraphics.js
Normal file
@ -0,0 +1,31 @@
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
// % GRAPHICS
|
||||
/*
|
||||
var swiperGraphics = []; // This array contains graphics-swiper-Instances.
|
||||
var begin = -10; // Time to look back (in seconds).
|
||||
var timeServer; // Every time a graph-update-mesage is received the
|
||||
// server-timestamp is stored.
|
||||
var timeRange; // Range of time to regard (unix-time in seconds).
|
||||
var blocks; // array of graphic-blocks sorted by units. (as from var_list, but values added)
|
||||
|
||||
var MARGIN_TOP = 10;
|
||||
var MARGIN_RIGHT = 10;
|
||||
var MARGIN_BOTTOM = 20;
|
||||
var MARGIN_LEFT = 60;
|
||||
|
||||
var width;
|
||||
var height;
|
||||
var margin;
|
||||
|
||||
var scaleX;
|
||||
|
||||
zoomSelection = false;
|
||||
|
||||
|
||||
function createCharts(graph) {
|
||||
createCharts2(graph);
|
||||
return
|
||||
}
|
||||
function updateCharts(graph){
|
||||
updateCharts2(graph)
|
||||
}
|
Reference in New Issue
Block a user