lichess.org
Donate

Changing color of rating graph lines

Looks to be using the stroke style, but I cannot identify unique tags for each separate line.
Working on it here as a [WIP] but I'm not dedicating much time to it.
I did put in index as WIP. not in the thread title though.
actually, this has been worked out in #1 linked forum thread. has it been completed? @ChesswurmOTB
Current state of progress of linked thread as I can summarize:

(BerserkAsIfUWereMad) #7
www.w3schools.com/cssref/sel_firstchild.asp
www.w3schools.com/cssref/sel_nth-child.asp
then accessing only n-s elements, and this:
www.w3schools.com/cssref/sel_attribute_value.asp

(ChesswurmOTB) #8
This is all I have:
path {
stroke: red;
stroke-width: 2;
}

This was for the selector specific problem.
Another problem with the lines overlapping when time line base expanded to maximum for long time lichess usernames are also mentioned with hint to some solution in #11 (Toscani) of linked thread.

Here i would like to learn about the filiation selection to separate between individual lines. by solving this, if no objections. or at least making progress with some experiments, again, if no objections.

@ChesswurmOTB @berserkasifuweremad: why should this be a JS problem, anyone tried the filiation syntax from the w3 links?

This topic has been archived and can no longer be replied to.