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(1684627200000), 0.00262347276491667987],[new Date(1684713600000), 0.00262313879309965230],[new Date(1691452800000), 0.00262895563886709986],[new Date(1691539200000), 0.00262923923999682000],[new Date(1692576000000), 0.00895032012344772863],[new Date(1697155200000), 0.00828261056025982269],[new Date(1697241600000), 0.00831939506978478966],[new Date(1699660800000), 0.01109302425888435103],[new Date(1699747200000), 0.01105698605034798159],[new Date(1699833600000), 0.01117501861375753635],[new Date(1699920000000), 0.01107983545929666404],[new Date(1700006400000), 0.01092311327154473456],[new Date(1700092800000), 0.01117147478176525778],[new Date(1700179200000), 0.01051225409720432279],[new Date(1700265600000), 0.01056521262453894175],[new Date(1700352000000), 0.01055268907576455429],[new Date(1700438400000), 0.01073127400271938462],[new Date(1700611200000), 0.01092998330216514923],[new Date(1700697600000), 0.01117586846511462247],[new Date(1700784000000), 0.01121563650990540605],[new Date(1700870400000), 0.01121195653336222500],[new Date(1700956800000), 0.01116282023684240605],[new Date(1701043200000), 0.01088474210757458545],[new Date(1701129600000), 0.01093374158476904724],[new Date(1701302400000), 0.01106971040179010408],[new Date(1701388800000), 0.01130497555141979520],[new Date(1701475200000), 0.01141540974174582957],[new Date(1701561600000), 0.01165428249768259744],[new Date(1701648000000), 0.01195163392489927456],[new Date(1701907200000), 0.01270205649578834815],[new Date(1701993600000), 0.01271883745495403107],[new Date(1702771200000), 0.01193225943461748481],[new Date(1702857600000), 0.01166137947584703815],[new Date(1703116800000), 0.01204073209471881873],[new Date(1703203200000), 0.01232443061266699922],[new Date(1703289600000), 0.01234387822587278350],[new Date(1703808000000), 0.01239547577594953952],[new Date(1703894400000), 0.01240730671752052940],[new Date(1703980800000), 0.01238507093595065687],[new Date(1704067200000), 0.01235372296936171422],[new Date(1704240000000), 0.01217965417154657091],[new Date(1704326400000), 0.01201628372111300375],[new Date(1706227200000), 0.01220686902863782895],[new Date(1706313600000), 0.01224214553617691680],[new Date(1706400000000), 0.01225640706623468788],[new Date(1706572800000), 0.01278933688282359683],[new Date(1706659200000), 0.01254436953715116417],[new Date(1708732800000), 0.01607429074094559034],[new Date(1708819200000), 0.01630429244902458370],[new Date(1712707200000), 0.01887217097499732400],[new Date(1712793600000), 0.01907877371822841696],[new Date(1714435200000), 0.01642690093993198632],[new Date(1714521600000), 0.01613601641005064516], ]); 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); }