Using CSS to change line chart tick mark font
874685Aug 2 2011 — edited Aug 2 2011I apologize if this has been covered elsewhere, but I can't find any reference to help with this.
I have create a dark-background theme for my CSS and have run into a bit of a blind spot with the CSS. My chart has a dark background, and I can find no way to change the color of the font on the tick marks. I have resorted for now to setting the individual axis objects setTickLabelFill for now, but it would be nice to be able to set this in CSS.
With this, I can change the font size of the axis labels and tick marks, but the font name and color are ignored for the tick marks:
.axis {
-fx-font: 14px "Palatino Linotype";
-fx-text-fill: white;
}
Thank you for your help.
- Jim
Edited by: 871682 on Aug 2, 2011 11:47 AM