Guiándome de la documentación la data es un ejemplo como el de ellos, sin embargo no me muestra la data.
var ctx = document.getElementById("myChart").getContext('2d');
var myLineChart = new Chart(ctx, {
type: 'line',
data: [{
x: 10,
y: 20
}, {
x: 15,
y: 10
}, {
x: 25,
y: 20
}, {
x: 35,
y: 25
}],
options: {
scales: {
xAxes: [{
stacked: true
}],
yAxes: [{
stacked: true
}]
},
elements: {
line: {
tension: 0, // disables bezier curves
}
}
}
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
<canvas id="myChart" style="height: 180px; width: 633px;" height="180" width="633"></canvas>