mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
refactor: Change cost chart to scatter plot with markers
This commit is contained in:
parent
4f9b907b4d
commit
088dd99ec1
1 changed files with 10 additions and 10 deletions
|
@ -26,14 +26,13 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
}, {
|
}, {
|
||||||
label: 'Total Cost ($)',
|
label: 'Total Cost ($)',
|
||||||
data: [],
|
data: [],
|
||||||
type: 'line',
|
type: 'scatter',
|
||||||
yAxisID: 'y1',
|
yAxisID: 'y1',
|
||||||
fill: false,
|
backgroundColor: 'rgba(153, 102, 255, 1)',
|
||||||
borderColor: 'rgba(153, 102, 255, 1)',
|
borderColor: '#fff',
|
||||||
borderWidth: 2,
|
borderWidth: 1,
|
||||||
pointBackgroundColor: 'rgba(153, 102, 255, 1)',
|
pointRadius: 5,
|
||||||
pointBorderColor: '#fff',
|
pointHoverRadius: 7
|
||||||
pointRadius: 4
|
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -129,9 +128,10 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Total Cost ($)',
|
text: 'Total Cost ($)',
|
||||||
fillStyle: 'rgba(0, 0, 0, 0)',
|
fillStyle: 'rgba(153, 102, 255, 1)',
|
||||||
strokeStyle: 'rgba(153, 102, 255, 1)',
|
strokeStyle: '#fff',
|
||||||
lineWidth: 2
|
lineWidth: 1,
|
||||||
|
pointStyle: 'circle'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue