Ensure grid lines are rendered behind other chart elements

pull/9928/head
Ciaran Moran 2021-10-04 00:22:53 +01:00
parent 7a4389d2e8
commit 2400e11bc6
No known key found for this signature in database
GPG Key ID: 21178E749D2287D5
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ lichess.ratingDistributionChart = function (data) {
rotation: -45,
},
gridLineWidth: 1,
gridZIndex: -1,
tickInterval: 100,
plotLines: (function (v) {
var right = v > 1800;
@ -117,6 +118,7 @@ lichess.ratingDistributionChart = function (data) {
title: {
text: trans.noarg('players'),
},
gridZIndex: -1,
},
{
// cumulative