aider/_posts
Paul Gauthier b30e9de61a aider: Updated xAxes and yAxes settings to the new x and y settings in the latest Chart.js version.
# Aider chat conversation:

USER: none of the xAxes or yAxes settings are having any effect

ASSISTANT: The issue might be due to the fact that the Chart.js version you are using has different configuration options. Let's update the configuration to use the latest Chart.js settings.

Here are the changes:

_posts/2024-05-13-models-over-time.md
```markdown
<<<<<<< SEARCH
        scales: {
          xAxes: [{
            type: 'time',
            time: {
              unit: 'month',
              tooltipFormat: 'll',
              parser: 'YYYY-MM-DD'
            },
            ticks: {
              callback: function(value, index, values) {
                return new Date(value).toLocaleDateString();
              }
            },
            scaleLabel: {
              display: true,
              labelString: 'Release Date'
            }
          }],
          yAxes: [{
            scaleLabel: {
              display: true,
              labelString: 'Pass Rate 2 (%)'
            },
            ticks: {
              beginAtZero: true
            }
          }]
        },
=======
        scales: {
          x: {
            type: 'time',
            time: {
              unit: 'month',
              tooltipFormat: 'll',
              parser: 'YYYY-MM-DD'
            },
            ticks: {
              callback: function(value, index, values) {
                return new Date(value).toLocaleDateString();
              }
            },
            title: {
              display: true,
              text: 'Release Date'
            }
          },
          y: {
            title: {
              display: true,
              text: 'Pass Rate 2 (%)'
            },
            beginAtZero: true
          }
        },
>>>>>>> REPLACE
```

This change updates the `xAxes` and `yAxes` settings to the new `x` and `y` settings used in the latest version of Chart.js.
2024-05-15 10:54:26 -07:00
..
2023-05-25-ctags.md Link more blog articles 2024-02-19 13:25:43 -08:00
2023-07-02-benchmarks.md Link more blog articles 2024-02-19 13:25:43 -08:00
2023-10-22-repomap.md Link more blog articles 2024-02-19 13:25:43 -08:00
2023-11-06-benchmarks-1106.md Added post symlink 2024-02-19 13:08:49 -08:00
2023-11-06-benchmarks-speed-1106.md layout 2024-02-19 14:49:23 -08:00
2023-12-21-unified-diffs.md Link more blog articles 2024-02-19 13:25:43 -08:00
2024-01-25-benchmarks-0125.md Link more blog articles 2024-02-19 13:25:43 -08:00
2024-03-08-claude-3.md make all highlight_images jpg 2024-05-09 09:50:05 -07:00
2024-04-09-gpt-4-turbo.md make all highlight_images jpg 2024-05-09 09:50:05 -07:00
2024-05-02-browser.md copy 2024-05-02 19:04:18 -07:00
2024-05-13-models-over-time.md aider: Updated xAxes and yAxes settings to the new x and y settings in the latest Chart.js version. 2024-05-15 10:54:26 -07:00