randNum function

This commit is contained in:
William 2020-01-11 20:34:50 -05:00
parent 2e25773fe1
commit ff63a031d0
3 changed files with 7 additions and 5 deletions

View File

@ -336,8 +336,9 @@ function init_flot_chart() {
if (typeof ($.plot) === 'undefined') { return; }
console.log('init_flot_chart');
var randNum = function () {
return (Math.floor(Math.random() * (1 + 40 - 20))) + 20;
};
var arr_data1 = [
[gd(2012, 1, 1), 17],

File diff suppressed because one or more lines are too long

View File

@ -42,8 +42,9 @@ function init_flot_chart() {
if (typeof ($.plot) === 'undefined') { return; }
console.log('init_flot_chart');
var randNum = function () {
return (Math.floor(Math.random() * (1 + 40 - 20))) + 20;
};
var arr_data1 = [
[gd(2012, 1, 1), 17],