randNum function
This commit is contained in:
parent
2e25773fe1
commit
ff63a031d0
|
@ -336,8 +336,9 @@ function init_flot_chart() {
|
||||||
if (typeof ($.plot) === 'undefined') { return; }
|
if (typeof ($.plot) === 'undefined') { return; }
|
||||||
|
|
||||||
console.log('init_flot_chart');
|
console.log('init_flot_chart');
|
||||||
|
var randNum = function () {
|
||||||
|
return (Math.floor(Math.random() * (1 + 40 - 20))) + 20;
|
||||||
|
};
|
||||||
|
|
||||||
var arr_data1 = [
|
var arr_data1 = [
|
||||||
[gd(2012, 1, 1), 17],
|
[gd(2012, 1, 1), 17],
|
||||||
|
|
2
build/js/custom.min.js
vendored
2
build/js/custom.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -42,8 +42,9 @@ function init_flot_chart() {
|
||||||
if (typeof ($.plot) === 'undefined') { return; }
|
if (typeof ($.plot) === 'undefined') { return; }
|
||||||
|
|
||||||
console.log('init_flot_chart');
|
console.log('init_flot_chart');
|
||||||
|
var randNum = function () {
|
||||||
|
return (Math.floor(Math.random() * (1 + 40 - 20))) + 20;
|
||||||
|
};
|
||||||
|
|
||||||
var arr_data1 = [
|
var arr_data1 = [
|
||||||
[gd(2012, 1, 1), 17],
|
[gd(2012, 1, 1), 17],
|
||||||
|
|
Loading…
Reference in a new issue