mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
fix: Add tick at base of cost column bars in leaderboards
This commit is contained in:
parent
8e8b18e9a9
commit
278f90acdd
1 changed files with 2 additions and 1 deletions
|
@ -196,7 +196,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
if (logMaxCost > 0) { // Ensure logMaxCost is positive to avoid division by zero or negative results
|
||||
const tickValues = [];
|
||||
// Generate ticks for $10, $20, $30... up to maxCost
|
||||
// Generate ticks starting at $0, then $10, $20, $30... up to maxCost
|
||||
tickValues.push(0); // Add tick at base (0 position)
|
||||
for (let tickCost = 10; tickCost <= maxCost; tickCost += 10) {
|
||||
tickValues.push(tickCost);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue