function headlineSalesChart(placeholder) {

    var currentWeek = [
        [gt(2013, 10, 21), 50], [gt(2013, 10, 22), 75], [gt(2013, 10, 23), 205], [gt(2013, 10, 24), 170], [gt(2013, 10, 25), 205],
        [gt(2013, 10, 26), 198], [gt(2013, 10, 27), 195]
    ];

    var plot = $.plot(placeholder,
        [
            {
                data: currentWeek,
                label: "Current Week",
            },
        ],

        {
            series: {
                lines: {
                    show: true,
                    lineWidth: headlineChart.linesLineWidth,
                    fill: true,
                },
                points: {
                    show: true,
                    lineWidth: headlineChart.pointsLineWidth,
                    fill: true,
                    fillColor: headlineChart.pointsFillColor
                },

                shadowSize: 0
            },
            grid: {
                hoverable: true,
                clickable: true,
                borderWidth: 0,
                tickColor: headlineChart.gridTickColor
            },
            colors: ["#78AF2C"],
            yaxis: {
                font: { color: headlineChart.axisFontColor },
            },
            xaxis: {
                mode: "time",
                timezone: "browser",
                minTickSize: [1, "day"],
                timeformat: "%a",
                font: { color: headlineChart.axisFontColor },
                tickColor: "transparent",
                autoscaleMargin: 0.02
            },
            legend: {
                labelBoxBorderColor: "transparent",
                backgroundColor: "transparent"
            },
            tooltip: true,
            tooltipOpts: {
                content: '%s: %y'
            }

        });

    return plot;
}
// init headline flot chart: sales area chart
init headline flot chart: sales area chart
init headline flot chart : sales area chart
function headlineSalesChart(placeholder) {
    var currentWeek = [
        [gt(2013, 10, 21), 50], [gt(2013, 10, 22), 75], [gt(2013, 10, 23), 205], [gt(2013, 10, 24), 170], [gt(2013, 10, 25), 205],
        [gt(2013, 10, 26), 198], [gt(2013, 10, 27), 195]
    ];
    var plot = $.plot(placeholder,
        [
            {
                data: currentWeek,
                label: "Current Week",
            },
        ],
        {
            series: {
                lines: {
                    show: true,
                    lineWidth: headlineChart.linesLineWidth,
                    fill: true,
                },
                points: {
                    show: true,
                    lineWidth: headlineChart.pointsLineWidth,
                    fill: true,
                    fillColor: headlineChart.pointsFillColor
                },
                shadowSize: 0
            },
            grid: {
                hoverable: true,
                clickable: true,
                borderWidth: 0,
                tickColor: headlineChart.gridTickColor
            },
            colors: ["#78AF2C"],
            yaxis: {
                font: { color: headlineChart.axisFontColor },
            },
            xaxis: {
                mode: "time",
                timezone: "browser",
                minTickSize: [1, "day"],
                timeformat: "%a",
                font: { color: headlineChart.axisFontColor },
                tickColor: "transparent",
                autoscaleMargin: 0.02
            },
            legend: {
                labelBoxBorderColor: "transparent",
                backgroundColor: "transparent"
            },
            tooltip: true,
            tooltipOpts: {
                content: '%s: %y'
            }
        });
    return plot;
}
function headlineSalesChart ( placeholder ) { var currentWeek = [ [ gt ( 2013 , 10 , 21 ) , 50 ] , [ gt ( 2013 , 10 , 22 ) , 75 ] , [ gt ( 2013 , 10 , 23 ) , 205 ] , [ gt ( 2013 , 10 , 24 ) , 170 ] , [ gt ( 2013 , 10 , 25 ) , 205 ] , [ gt ( 2013 , 10 , 26 ) , 198 ] , [ gt ( 2013 , 10 , 27 ) , 195 ] ] ; var plot = $ . plot ( placeholder , [ { data : currentWeek , label : "Current Week" , } , ] , { series : { lines : { show : true , lineWidth : headlineChart . linesLineWidth , fill : true , } , points : { show : true , lineWidth : headlineChart . pointsLineWidth , fill : true , fillColor : headlineChart . pointsFillColor } , shadowSize : 0 } , grid : { hoverable : true , clickable : true , borderWidth : 0 , tickColor : headlineChart . gridTickColor } , colors : [ "#78AF2C" ] , yaxis : { font : { color : headlineChart . axisFontColor } , } , xaxis : { mode : "time" , timezone : "browser" , minTickSize : [ 1 , "day" ] , timeformat : "%a" , font : { color : headlineChart . axisFontColor } , tickColor : "transparent" , autoscaleMargin : 0.02 } , legend : { labelBoxBorderColor : "transparent" , backgroundColor : "transparent" } , tooltip : true , tooltipOpts : { content : '%s: %y' } } ) ; return plot ; }
init headline flot chart: sales area chart
init headline flot chart : sales area chart