-
I have create a nivo line chart that looks like this How can I make x-axis line bold at 0 |
Beta Was this translation helpful? Give feedback.
Answered by
wyze
Jun 16, 2021
Replies: 1 comment
-
You can customize the const MyLineChart = () => <Line axisLeft={{ renderTick: (value) => <text style={{ fontWeight: value === 0 ? 'bold' : 'normal'}}>{value}</text> }} /> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wyze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can customize the
renderTick
function ofaxisLeft
. It will look similar to the following: