Hi, is there a way to fully incorporate style classes into an Apex Chart?
Currently i am making do by setting some components to use css variables where i can, so that the color changes with themes.
Currently i have set my style.backgroundColor = --neutral-20
, which sorts out that.
I’m currently struggling to get the axis title text color changed, there doesn’t seem to be a property for that?
Also struggling with the tooltip popup colors:
Edit 1: Found the variables i needed for axis tick labels: xaxis.axisTicks.color
, and axis title coloring: xaxis.title.style.color
Edit 2: Managed to do an expression Map binding based on session theme to choose between “light” and “dark” for tooltip.theme
which did the trick for the tooltip popup.
Doesn’t look too shabby now!