Is it possible to style the x and y axis labels in a Frappe chart with different colors?
https://i.stack.imgur.com/A3vUq.png
While trying to identify the CSS selectors using Chrome DevTools, I found that a single text
element (representing an x axis label) had a specific complex selector:
#frappe-chart-0 > div > svg > g > g.x.axis > g:nth-child(3) > text
My page contains multiple instances of Frappe charts, each with a varying number of nth-child
elements. Ideally, I would prefer a CSS selector with placeholders for flexibility:
#frappe-chart-* > div > svg > g > g.*.axis > g:nth-child(*) > text
However, this wildcard approach is not feasible. Are there any alternative methods to achieve this?