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(1709942400000), 0.06339801988201697381],[new Date(1710028800000), 0.05797370959104858206],[new Date(1710115200000), 0.05174222361626881486],[new Date(1710201600000), 0.04268659397785407882],[new Date(1710288000000), 0.02962659356932180917],[new Date(1710374400000), 0.02005181674348740271],[new Date(1710460800000), 0.02178604488510785528],[new Date(1710547200000), 0.02031726834205890681],[new Date(1710633600000), 0.02270722457564761278],[new Date(1710720000000), 0.02086754565052970711],[new Date(1710979200000), 0.01927258916436644370],[new Date(1711065600000), 0.02265698179816664047],[new Date(1711152000000), 0.02256272832048855417],[new Date(1711238400000), 0.02218914181175603611],[new Date(1711324800000), 0.02304494371270337361],[new Date(1711411200000), 0.02645561221799124639],[new Date(1711497600000), 0.02489127114906760799],[new Date(1711584000000), 0.02276285606906624535],[new Date(1711670400000), 0.01774585902063011114],[new Date(1711756800000), 0.02346445721737314146],[new Date(1711843200000), 0.03295840762659598852],[new Date(1711929600000), 0.03767153837466092928],[new Date(1712016000000), 0.04383691597022133354],[new Date(1712102400000), 0.04808378788727566778],[new Date(1712188800000), 0.05287774094974333063],[new Date(1712275200000), 0.04998752018710266889],[new Date(1712361600000), 0.05423454293845092757],[new Date(1712448000000), 0.05087202941237291153],[new Date(1712534400000), 0.04575250524406177806],[new Date(1712620800000), 0.04816165185282532604],[new Date(1712707200000), 0.04282038537107040585],[new Date(1712793600000), 0.03589930115402544743],[new Date(1712880000000), 0.02756374928538304359],[new Date(1713139200000), 0.01648468267978377977],[new Date(1713225600000), 0.01787969036444472389],[new Date(1713312000000), 0.01786554559383297222],[new Date(1713398400000), 0.02143626841068559147],[new Date(1713484800000), 0.01813796617060175359],[new Date(1713571200000), 0.02142874186249440172],[new Date(1713657600000), 0.02439384454312797886],[new Date(1713744000000), 0.03117531902752148024],[new Date(1713916800000), 0.03596905730454421315],[new Date(1714003200000), 0.03634112483562487958],[new Date(1714089600000), 0.03908106112152444976], ]); 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); }