Skip to content

Color for Axis #13

Answered by gampleman
stil4m asked this question in Q&A
Discussion options

You must be logged in to vote

You can use CSS to change these visual properties:

.domain { stroke: green; }
.tick line { stroke: green; }
.tick text { fill: green; }

will turn your axis green. You can use this technique to tune other things like the font or font size, or if you want to hide the tick marks for example.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gampleman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #13 on December 09, 2020 13:18.