function generateData(e,a,t){for(var r=0,o=[];r<a;){var n=Math.floor(750*Math.random())+1,m=Math.floor(Math.random()*(t.max-t.min+1))+t.min,i=Math.floor(61*Math.random())+15;o.push([n,m,i]),r++}return o}var colors=["#4697ce","#7dcc93","#53389f"],options={chart:{height:380,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},series:[{name:"Bubble 1",data:generateData(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble 2",data:generateData(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:60})},{name:"Bubble 3",data:generateData(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:60})}],fill:{opacity:.8,gradient:{enabled:!1}},colors:colors,xaxis:{tickAmount:12,type:"category"},yaxis:{max:70},grid:{borderColor:"#f1f3fa",padding:{bottom:5}},legend:{offsetY:7}},chart=new ApexCharts(document.querySelector("#simple-bubble"),options);function generateData1(e,a,t){for(var r=0,o=[];r<a;){var n=Math.floor(Math.random()*(t.max-t.min+1))+t.min,m=Math.floor(61*Math.random())+15;o.push([e,n,m]),e+=864e5,r++}return o}chart.render();var colors=["#4697ce","#7dcc93","#e06d94","#63b7e6"],options2={chart:{height:380,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},series:[{name:"Product 1",data:generateData1(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:80})},{name:"Product 2",data:generateData1(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:80})},{name:"Product 3",data:generateData1(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:80})},{name:"Product 4",data:generateData1(new Date("23 Oct 2023 GMT").getTime(),20,{min:10,max:80})}],fill:{type:"gradient"},colors:colors,xaxis:{tickAmount:12,type:"datetime",labels:{rotate:0}},yaxis:{max:70},legend:{offsetY:7},grid:{borderColor:"#f1f3fa",padding:{bottom:5}}};(chart=new ApexCharts(document.querySelector("#second-bubble"),options2)).render();