function dashboardFlotOne() {

    var data1 = [
        [0, 4],
        [1, 8],
        [2, 5],
        [3, 10],
        [4, 4],
        [5, 16],
        [6, 5],
        [7, 11],
        [8, 6],
        [9, 11],
        [10, 30],
        [11, 10],
        [12, 13],
        [13, 4],
        [14, 3],
        [15, 3],
        [16, 6]
    ];
    var data2 = [
        [0, 1],
        [1, 0],
        [2, 2],
        [3, 0],
        [4, 1],
        [5, 3],
        [6, 1],
        [7, 5],
        [8, 2],
        [9, 3],
        [10, 2],
        [11, 1],
        [12, 0],
        [13, 2],
        [14, 8],
        [15, 0],
        [16, 0]
    ];

    var options = {
        series: {
            lines: {
                show: false,
                fill: true
            },
            splines: {
                show: true,
                tension: 0.4,
                lineWidth: 1,
                fill: 0.4
            },
            points: {
                radius: 0,
                show: true
            },
            shadowSize: 2,
            grow: {stepMode:"linear",stepDirection:"up",steps:80}
        },
        grow: {stepMode:"linear",stepDirection:"up",steps:80},
        grid: {
            hoverable: true,
            clickable: true,
            tickColor: "#d5d5d5",
            borderWidth: 1,
            color: '#d5d5d5'
        },
        colors: ["#1ab394", "#1C84C6"],
        xaxis: {
        },
        yaxis: {
            ticks: 4
        },
        tooltip: false
    };

    /**
     * Definition of variables
     * Flot chart
     */
    this.flotData = [data1, data2];
    this.flotOptions = options;
}
/**
 * dashboardFlotOne - simple controller for data
 * for Flot chart in Dashboard view
 */
simple controller for data
for Flot chart in Dashboard view
simple controller for data for Flot chart in Dashboard view
function dashboardFlotOne() {
    var data1 = [
        [0, 4],
        [1, 8],
        [2, 5],
        [3, 10],
        [4, 4],
        [5, 16],
        [6, 5],
        [7, 11],
        [8, 6],
        [9, 11],
        [10, 30],
        [11, 10],
        [12, 13],
        [13, 4],
        [14, 3],
        [15, 3],
        [16, 6]
    ];
    var data2 = [
        [0, 1],
        [1, 0],
        [2, 2],
        [3, 0],
        [4, 1],
        [5, 3],
        [6, 1],
        [7, 5],
        [8, 2],
        [9, 3],
        [10, 2],
        [11, 1],
        [12, 0],
        [13, 2],
        [14, 8],
        [15, 0],
        [16, 0]
    ];
    var options = {
        series: {
            lines: {
                show: false,
                fill: true
            },
            splines: {
                show: true,
                tension: 0.4,
                lineWidth: 1,
                fill: 0.4
            },
            points: {
                radius: 0,
                show: true
            },
            shadowSize: 2,
            grow: {stepMode:"linear",stepDirection:"up",steps:80}
        },
        grow: {stepMode:"linear",stepDirection:"up",steps:80},
        grid: {
            hoverable: true,
            clickable: true,
            tickColor: "#d5d5d5",
            borderWidth: 1,
            color: '#d5d5d5'
        },
        colors: ["#1ab394", "#1C84C6"],
        xaxis: {
        },
        yaxis: {
            ticks: 4
        },
        tooltip: false
    };
    this.flotData = [data1, data2];
    this.flotOptions = options;
}
function dashboardFlotOne ( ) { var data1 = [ [ 0 , 4 ] , [ 1 , 8 ] , [ 2 , 5 ] , [ 3 , 10 ] , [ 4 , 4 ] , [ 5 , 16 ] , [ 6 , 5 ] , [ 7 , 11 ] , [ 8 , 6 ] , [ 9 , 11 ] , [ 10 , 30 ] , [ 11 , 10 ] , [ 12 , 13 ] , [ 13 , 4 ] , [ 14 , 3 ] , [ 15 , 3 ] , [ 16 , 6 ] ] ; var data2 = [ [ 0 , 1 ] , [ 1 , 0 ] , [ 2 , 2 ] , [ 3 , 0 ] , [ 4 , 1 ] , [ 5 , 3 ] , [ 6 , 1 ] , [ 7 , 5 ] , [ 8 , 2 ] , [ 9 , 3 ] , [ 10 , 2 ] , [ 11 , 1 ] , [ 12 , 0 ] , [ 13 , 2 ] , [ 14 , 8 ] , [ 15 , 0 ] , [ 16 , 0 ] ] ; var options = { series : { lines : { show : false , fill : true } , splines : { show : true , tension : 0.4 , lineWidth : 1 , fill : 0.4 } , points : { radius : 0 , show : true } , shadowSize : 2 , grow : { stepMode : "linear" , stepDirection : "up" , steps : 80 } } , grow : { stepMode : "linear" , stepDirection : "up" , steps : 80 } , grid : { hoverable : true , clickable : true , tickColor : "#d5d5d5" , borderWidth : 1 , color : '#d5d5d5' } , colors : [ "#1ab394" , "#1C84C6" ] , xaxis : { } , yaxis : { ticks : 4 } , tooltip : false } ; this . flotData = [ data1 , data2 ] ; this . flotOptions = options ; }
dashboardFlotOne - simple controller for data
 for Flot chart in Dashboard view
dashboardFlotOne - simple controller for data for Flot chart in Dashboard view
/**
     * Definition of variables
     * Flot chart
     */