Skip to content

Responsive label in AreaChart #3146

Answered by ckifer
201flaviosilva asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @201flaviosilva

You can adjust theLabel by defining it with an object rather than giving a value directly

https://codesandbox.io/s/recharts-areachart-label-forked-58er5g?file=/src/App.js

label={{
      value: "MINUTES",
      angle: -90,
      position: "insideLeft"
}}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@201flaviosilva
Comment options

Answer selected by ckifer
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