function getChartColorsArray(e){if(null!==document.getElementById(e)){var t=document.getElementById(e).getAttribute("data-colors");return(t=JSON.parse(t)).map(function(e){var t=e.replace(" ","");if(-1===t.indexOf(",")){var a=getComputedStyle(document.documentElement).getPropertyValue(t);return a||t}var i=e.split(",");return 2!=i.length?t:"rgba("+getComputedStyle(document.documentElement).getPropertyValue(i[0])+","+i[1]+")"})}}var chartTimelineBasicColors=getChartColorsArray("basic_timeline");chartTimelineBasicColors&&(options={series:[{data:[{x:"Code",y:[new Date("2019-03-02").getTime(),new Date("2019-03-04").getTime()]},{x:"Test",y:[new Date("2019-03-04").getTime(),new Date("2019-03-08").getTime()]},{x:"Validation",y:[new Date("2019-03-08").getTime(),new Date("2019-03-12").getTime()]},{x:"Deployment",y:[new Date("2019-03-12").getTime(),new Date("2019-03-18").getTime()]}]}],chart:{height:350,type:"rangeBar",toolbar:{show:!1}},plotOptions:{bar:{horizontal:!0}},xaxis:{type:"datetime"},colors:chartTimelineBasicColors},(chart=new ApexCharts(document.querySelector("#basic_timeline"),options)).render());var chartTimelineColors=getChartColorsArray("color_timeline");chartTimelineColors&&(options={series:[{data:[{x:"Analysis",y:[new Date("2019-02-27").getTime(),new Date("2019-03-04").getTime()],fillColor:chartTimelineColors[0]},{x:"Design",y:[new Date("2019-03-04").getTime(),new Date("2019-03-08").getTime()],fillColor:chartTimelineColors[1]},{x:"Coding",y:[new Date("2019-03-07").getTime(),new Date("2019-03-10").getTime()],fillColor:chartTimelineColors[2]},{x:"Testing",y:[new Date("2019-03-08").getTime(),new Date("2019-03-12").getTime()],fillColor:chartTimelineColors[3]},{x:"Deployment",y:[new Date("2019-03-12").getTime(),new Date("2019-03-17").getTime()],fillColor:chartTimelineColors[4]}]}],chart:{height:350,type:"rangeBar",toolbar:{show:!1}},plotOptions:{bar:{horizontal:!0,distributed:!0,dataLabels:{hideOverflowingLabels:!1}}},dataLabels:{enabled:!0,formatter:function(e,t){var a=t.w.globals.labels[t.dataPointIndex],i=moment(e[0]),n=moment(e[1]).diff(i,"days");return a+": "+n+(1
'+(i.seriesName?i.seriesName:"")+'
'+i.ylabel+' '+t+' - '+a+"
"}}},(chart=new ApexCharts(document.querySelector("#multi_series_group"),options)).render());var options,chart,chartTimelineDumbellColors=getChartColorsArray("dumbbell_timeline");chartTimelineDumbellColors&&(options={series:[{data:[{x:"Operations",y:[2800,4500]},{x:"Customer Success",y:[3200,4100]},{x:"Engineering",y:[2950,7800]},{x:"Marketing",y:[3e3,4600]},{x:"Product",y:[3500,4100]},{x:"Data Science",y:[4500,6500]},{x:"Sales",y:[4100,5600]}]}],chart:{height:350,type:"rangeBar",zoom:{enabled:!1}},colors:chartTimelineDumbellColors,plotOptions:{bar:{horizontal:!0,isDumbbell:!0,dumbbellColors:[chartTimelineDumbellColors]}},title:{text:"Paygap Disparity"},legend:{show:!0,showForSingleSeries:!0,position:"top",horizontalAlign:"left",customLegendItems:["Female","Male"]},fill:{type:"gradient",gradient:{gradientToColors:[chartTimelineDumbellColors[1]],inverseColors:!1,stops:[0,100]}},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}}}},(chart=new ApexCharts(document.querySelector("#dumbbell_timeline"),options)).render());