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(1683417600000), 0.00045495889288913632],[new Date(1683504000000), 0.00034226361710482613],[new Date(1683590400000), 0.00031329199279997609],[new Date(1683676800000), 0.00032880893481076819],[new Date(1683763200000), 0.00030276493545017924],[new Date(1683849600000), 0.00026644415730148319],[new Date(1683936000000), 0.00026932312496043558],[new Date(1684368000000), 0.00028125040331354235],[new Date(1684454400000), 0.00027875395733889465],[new Date(1684540800000), 0.00027280107805053583],[new Date(1684627200000), 0.00026696497040361563],[new Date(1709164800000), 0.00010544777096113226],[new Date(1709337600000), 0.000085184543084546220570],[new Date(1709424000000), 0.000061400913726522701149],[new Date(1709510400000), 0.000022779535235099020294],[new Date(1709596800000), 0.000034840027599512934631],[new Date(1709683200000), 0.00013572213468263967],[new Date(1709769600000), 0.000030048462643839372822],[new Date(1709856000000), 0.000076259898125866518354],[new Date(1709942400000), 0.00014342956509324444],[new Date(1710028800000), 0.00014691937588018584],[new Date(1710201600000), 0.00014516432505365881],[new Date(1710288000000), 0.00014733065764476498],[new Date(1710460800000), 0.00013617422757390195],[new Date(1710547200000), 0.00013770261999518172],[new Date(1710806400000), 0.00011833411128537964],[new Date(1710892800000), 0.00011431265921172887],[new Date(1710979200000), 0.00012028387457527901],[new Date(1711065600000), 0.00012157987536835979],[new Date(1711411200000), 0.00012223180248524375],[new Date(1711497600000), 0.00012123358615075179],[new Date(1711843200000), 0.00012296859490561712],[new Date(1711929600000), 0.00012088396290840019],[new Date(1712188800000), 0.00011147576957078755],[new Date(1712275200000), 0.00011045281542172012],[new Date(1712361600000), 0.00010898393377153675],[new Date(1712448000000), 0.00010988140798385289],[new Date(1713312000000), 0.000098123738871604101222],[new Date(1713398400000), 0.000097297894821562328767],[new Date(1713830400000), 0.000000665896579134513274],[new Date(1713916800000), 0.000000541850148436065574],[new Date(1714003200000), 0.00010165985428284230],[new Date(1714089600000), 0.00010083886958047935],[new Date(1714176000000), 0.00010036108387978924],[new Date(1714262400000), 0.000103430693807550000000], ]); 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); }