google.charts.load('current', {packages: ['corechart', 'line']}); var charts = [drawMarketPrice]; charts.map(google.charts.setOnLoadCallback); function drawMarketPrice() { var data = new google.visualization.DataTable(); data.addColumn('date', 'X'); data.addColumn('number', 'USD'); data.addRows([ [new Date(1709510400000), 0.000090349027850236111111],[new Date(1709596800000), 0.000093837429851804000000],[new Date(1709683200000), 0.000090306978113755000000],[new Date(1710028800000), 0.00025635268473780963],[new Date(1710115200000), 0.00025387516551716525],[new Date(1710633600000), 0.000091460676317785217391],[new Date(1710720000000), 0.000091821314226100000000],[new Date(1711584000000), 3.2904396331707464],[new Date(1711670400000), 1.9185571047287444],[new Date(1711756800000), 1.5823445957258730],[new Date(1711843200000), 1.2884806461256136],[new Date(1711929600000), 0.30991532519203553182],[new Date(1712016000000), 0.21052261995651974667],[new Date(1712102400000), 0.26395379192458080120],[new Date(1712188800000), 0.25026519653240883832],[new Date(1712275200000), 0.22532531440805696634],[new Date(1712361600000), 0.25095577402798825673],[new Date(1712448000000), 0.28916346089970324706],[new Date(1712534400000), 0.50577913755478699223],[new Date(1712620800000), 0.43274714756127561742],[new Date(1712707200000), 0.35558755296785628881],[new Date(1712793600000), 0.36895388928373005763],[new Date(1712880000000), 0.27201562208034673288],[new Date(1712966400000), 0.16560636634498442124],[new Date(1713052800000), 0.10638204246946077872],[new Date(1713139200000), 0.11558304339775722188],[new Date(1713225600000), 0.06861077215311294787],[new Date(1713312000000), 0.06651519625628518571],[new Date(1713398400000), 0.06055010477779309130],[new Date(1713484800000), 0.06705953585082730952],[new Date(1713571200000), 0.06457208361261110278],[new Date(1713657600000), 0.07006877973799492895],[new Date(1713744000000), 0.07264259993326087971],[new Date(1713830400000), 0.07124649296443094545],[new Date(1713916800000), 0.07069085289782236444],[new Date(1714003200000), 0.05823326371026502184],[new Date(1714089600000), 0.05470968196753899000],[new Date(1714176000000), 0.05854733876571823571],[new Date(1714262400000), 0.07910333363332238533],[new Date(1714348800000), 0.05713996559873888000],[new Date(1714435200000), 0.04773462041466739556],[new Date(1714521600000), 0.04063818323465502951],[new Date(1714608000000), 0.04508618352039850652],[new Date(1714694400000), 0.06238900014896725254],[new Date(1714780800000), 0.07969136040318079130],[new Date(1714867200000), 0.08087937245121966373],[new Date(1714953600000), 0.08172467484169258105],[new Date(1715040000000), 0.05599877764831136941], ]); var options = { hAxis: { title: '', gridlines: {color: 'none'} }, vAxis: { title: 'Market Price (USD)', textPosition: 'none', }, legend: {position: 'none'}, chartArea: {'width': '100%', 'height': '80%'}, backgroundColor: { fill:'transparent' }, }; var chart = new google.visualization.LineChart(document.getElementById('market_price')); chart.draw(data, options); }