feat: hide legend in leaderboard chart

This commit is contained in:
Paul Gauthier (aider) 2025-01-24 08:23:28 -08:00
parent 5a30ec1806
commit b4535bd29b
2 changed files with 1 additions and 2 deletions

View file

@ -96,7 +96,7 @@ document.addEventListener('DOMContentLoaded', function () {
options: {
plugins: {
legend: {
display: true,
display: false,
labels: {
generateLabels: function(chart) {
return [

View file

@ -63,7 +63,6 @@ which improved when paired with many different editor models.
{% assign data_source = edit_sorted %}
{% assign pass_rate_field = "pass_rate_2" %}
{% assign highlight_model = "+" %}
// add a setting to hide the legend ai!
{% include leaderboard.js %}
</script>
<style>