Mintos
February 15, 2021
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<p><canvas id="mintosChart" width="400" height="200"></canvas></p>
<script>
var ctx = document.getElementById('mintosChart').getContext('2d');
var myChart = new Chart(ctx, {
type: 'line',
data: {
labels: ['15/11/2020','15/12/2020','15/01/2021','15/02/2021'],
datasets: [{
label: 'Deposit',
data: [40,40,319,375],
backgroundColor: 'rgba(255, 255, 255, 0)',
borderColor: 'rgba(255, 99, 132, 1)',
borderWidth: 1
},{
label: 'Value',
data: [40.1,40.31,329.75,387.38],
backgroundColor: 'rgba(255, 255, 255, 0)',
borderColor: 'rgba(132, 99, 255, 1)',
borderWidth: 1
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
});
</script>