Hello,
I am new to using CSS and I wanted to change the color lines of my chart. My chart consists of 2 lines and I know that I have to create the CSS code and paste it on the Settings- Appearance- Custom CSS, and then add the CSS class to my specific chart. I have the following code:
.graph-line-primary {
stroke: #FF5733; /* Orange color */
}
.graph-line-secondary {
stroke: #3498DB; /* Blue color */
}
My question is, do I need to change something inside the inspection code? Where do I paste that code? What would be my CSS class to paste on the chart?
That kinda works, but when you hover the mouse through the graph the relation of colors (nth-child) change. Also, it doesn’t change the colors in the legend, neither the static legend nor the hovering legend. I’ve been trying to find a workaround for that, but my knowledge of css is shallow.