```html
// Data for the blockchain development trend in Qingdao
const years = ["2018", "2019", "2020", "2021", "2022", "2023", "2024"];
const investments = [500, 800, 1200, 1500, 2000, 2500, 2800]; // in millions RMB
// Create chart
const ctx = document.getElementById('blockchainChart').getContext('2d');
const blockchainChart = new Chart(ctx, {
type: 'line',
data: {
labels: years,
datasets: [{
label: '区块链发展投资趋势',
data: investments,
backgroundColor: 'rgba(54, 162, 235, 0.2)',
borderColor: 'rgba(54, 162, 235, 1)',
borderWidth: 1,
pointRadius: 5,
pointBackgroundColor: 'rgba(54, 162, 235, 1)',
pointBorderColor: 'fff',
pointHoverRadius: 8,
pointHoverBackgroundColor: 'fff',
pointHoverBorderColor: 'rgba(54, 162, 235, 1)',
pointHitRadius: 10,
pointBorderWidth: 2
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
},
tooltips: {
callbacks: {
label: function (tooltipItem, data) {
return tooltipItem.yLabel.toString().replace(/\B(?=(\d{3}) (?!\d))/g, ",") ' 万元人民币';
}
}
}
}
});