```html
// Sample data (Replace this with your actual stock return data)
const dates = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'];
const returns = [5, 7, 3, 8, 6, 9, 10]; // Replace with actual return values
// Creating a line chart
const ctx = document.getElementById('stockReturnChart').getContext('2d');
const stockReturnChart = new Chart(ctx, {
type: 'line',
data: {
labels: dates,
datasets: [{
label: 'Stock Returns',
data: returns,
fill: false,
borderColor: 'rgb(75, 192, 192)',
tension: 0.1
}]
},
options: {
scales: {
y: {
beginAtZero: true
}
}
}
});