'use strict' var flotStackedData1 = [ [0,19.57749563156254], [1,21.990117798360984], [2,16.33951429212372], [3,20.81299261981016], [4,18.43049180497279], [5,20.50742948537699], [6,22.15321230561721], [7,13.734038382708317], [8,39.48248771261796], [9,31.406002456692214], [10,26.59886277727973], [11,12.156859927914581], [12,9.229765251904174], [13,5.183401848384374], [14,9.605706708466142], [15,10.832074796645134], [16,13.268792742800557], [17,18.216203428328363], [18,13.963666987062208], [19,18.712081450016612], [20,13.72401606510321], [21,11.305095416130975], [22,13.773906992422056], [23,15.834031310396583], [24,12.926545228583812], [25,17.595569228566347], [26,21.90850212276817], [27,18.29990271583387], [28,14.340994854410802], [29,18.22389641710976], [30,14.883609800856053], [31,13.019139849150623], [32,14.553083951054631], [33,15.417025583778472], [34,16.640872368623782], [35,19.456813236353057], [36,14.595960349995135], [37,17.729784515799526], [38,13.86824197051369], [39,9.492952801660538], [40,11.912479814449945], [41,9.798782954230068], [42,6.117552232900492], [43,1.4130313413037507], [44,2.3640186232524685], [45,2.3620174492590778], [46,4.523611468529182], [47,3.7627065666017216], [48,5.7686167365911043], [49,5.08594242151745846], [50,1.905264426860338], [51,8.27642052341136036], [52,7.9183672429606382], [53,5.027341617316905], [54,2.8449308083068967], [55,6.827661569105635], [56,6.215632967625112], [57,9.831855054294463], [58,9.393752601741996], [59,11.962549642491954], [60,10.01016629019579], [61,9.03698508678906], [62,6.053332776990388], [63,4.56216961329746], [64,2.7601184969979364], [65,4.345620131013858], [66,3.6626759042117385], [67,4.27936456640813], [68,2.0166954203189142], [69,1.4881023513956224], [70,3.7196511214339196] ]; var flotStackedData2 = [ [0,49.331065063219285], [1,48.79814898366035], [2,50.61793547911337], [3,53.31696317779434], [4,54.78560952831719], [5,53.84293992505776], [6,54.682958355082874], [7,56.742547193381654], [8,56.99677491680908], [9,56.144488388681445], [10,56.567122269843885], [11,60.355022877262684], [12,58.7457726121753], [13,61.445407102315514], [14,61.112870581452086], [15,58.57202276349258], [16,54.72497594269612], [17,52.070341498681124], [18,51.09867716530438], [19,47.48185519192089], [20,48.57861168097493], [21,48.99789250679436], [22,53.582491800119456], [23,50.28407438696142], [24,46.24606628705599], [25,48.614330310543856], [26,51.75313497797672], [27,51.34463925296746], [28,50.217320673443936], [29,54.657281647073304], [30,52.445057217757245], [31,53.063914668561345], [32,57.07494250387825], [33,52.970403392565515], [34,48.723854145068756], [35,52.69064629353968], [36,53.590890118378205], [37,58.52332126105745], [38,55.1037709679581], [39,58.05347017020425], [40,61.350810521199946], [41,57.746188675088575], [42,60.276910973029786], [43,61.00841651851749], [44,57.786733623457636], [45,56.805721677811356], [46,58.90301959619822], [47,62.45091969566289], [48,58.75007922945926], [49,58.405842466185355], [50,56.746633122658444], [51,52.76631598845634], [52,52.3020769891715], [53,50.56370473325533], [54,55.407205992344544], [55,50.49825590435839], [56,52.4975614755482], [57,48.79614749316488], [58,47.46776704767111], [59,43.317880548036456], [60,38.96296121124144], [61,34.73218432559628], [62,31.033700732272116], [63,32.637987000382296], [64,36.89513637594264], [65,35.89701755609185], [66,32.742284578187544], [67,33.20516407297906], [68,30.82094321791933], [69,28.64770271525896], [70,28.44679026902145] ]; $(function(){ 'use strict' // Stacked Chart $.plot('#flotStackedGraph', [{ data: flotStackedData1, color: '#1a8e5f' },{ data: flotStackedData2, color: '#262b31' }], { series: { stack: 0, bars: { show: true, lineWidth: 0, barWidth: .55, fill: 1 } }, grid: { hoverable: true, borderWidth: 1, borderColor: '#f0f1f7' }, yaxis: { max: 120, tickColor: '#f0f1f7', ticks: 6, font: { color: '#666666', size: 10 } }, xaxis: { min: 0, max: 30, tickColor: '#f0f1f7', font: { color: '#666666', size: 10 } }, tooltip: { show: true, shifts: { x: 20, y: 0 }, defaultTheme: false }, }); });