mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
![]() # 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. |
||
---|---|---|
.. | ||
2023-05-25-ctags.md | ||
2023-07-02-benchmarks.md | ||
2023-10-22-repomap.md | ||
2023-11-06-benchmarks-1106.md | ||
2023-11-06-benchmarks-speed-1106.md | ||
2023-12-21-unified-diffs.md | ||
2024-01-25-benchmarks-0125.md | ||
2024-03-08-claude-3.md | ||
2024-04-09-gpt-4-turbo.md | ||
2024-05-02-browser.md | ||
2024-05-13-models-over-time.md |