mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
fix: Prevent leaderboard x-axis labels from disappearing
This commit is contained in:
parent
87ba63c14c
commit
c9d561e7ad
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
},
|
},
|
||||||
x: {
|
x: {
|
||||||
ticks: {
|
ticks: {
|
||||||
|
autoSkip: false, // Prevent labels from being automatically skipped
|
||||||
|
maxRotation: 90, // Allow labels to rotate up to 90 degrees
|
||||||
|
minRotation: 90, // Force labels to rotate 90 degrees if needed
|
||||||
callback: function(value, index) {
|
callback: function(value, index) {
|
||||||
const label = this.getLabelForValue(value);
|
const label = this.getLabelForValue(value);
|
||||||
if (label.length <= "claude-3-5-sonnet".length) {
|
if (label.length <= "claude-3-5-sonnet".length) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue