mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
style: Allow horizontal x-axis labels on leaderboard chart
This commit is contained in:
parent
c9d561e7ad
commit
a4c9c10029
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
ticks: {
|
ticks: {
|
||||||
autoSkip: false, // Prevent labels from being automatically skipped
|
autoSkip: false, // Prevent labels from being automatically skipped
|
||||||
maxRotation: 90, // Allow labels to rotate up to 90 degrees
|
maxRotation: 90, // Allow labels to rotate up to 90 degrees
|
||||||
minRotation: 90, // Force labels to rotate 90 degrees if needed
|
minRotation: 0,
|
||||||
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