Ensure grid lines are rendered behind other chart elements
parent
7a4389d2e8
commit
2400e11bc6
|
@ -85,6 +85,7 @@ lichess.ratingDistributionChart = function (data) {
|
||||||
rotation: -45,
|
rotation: -45,
|
||||||
},
|
},
|
||||||
gridLineWidth: 1,
|
gridLineWidth: 1,
|
||||||
|
gridZIndex: -1,
|
||||||
tickInterval: 100,
|
tickInterval: 100,
|
||||||
plotLines: (function (v) {
|
plotLines: (function (v) {
|
||||||
var right = v > 1800;
|
var right = v > 1800;
|
||||||
|
@ -117,6 +118,7 @@ lichess.ratingDistributionChart = function (data) {
|
||||||
title: {
|
title: {
|
||||||
text: trans.noarg('players'),
|
text: trans.noarg('players'),
|
||||||
},
|
},
|
||||||
|
gridZIndex: -1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// cumulative
|
// cumulative
|
||||||
|
|
Loading…
Reference in New Issue