You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I am trying to create an area stack chart (I am using an XYChart wrapper)
I want to use a logarithmic scale (to support a view where there is an extreme difference between the values).
I try to use the XYChart yScale prop like: yScale={{ type: "log", domain:[1,12000] }}
but the chart is broken... (with type linear it works)
Can you please assist?
Here is the link to a code sandbox code: https://codesandbox.io/s/affectionate-gould-zoivk?file=/src/App.js
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am trying to create an area stack chart (I am using an XYChart wrapper)
I want to use a logarithmic scale (to support a view where there is an extreme difference between the values).
I try to use the XYChart yScale prop like:
yScale={{ type: "log", domain:[1,12000] }}but the chart is broken... (with type linear it works)
Can you please assist?
Here is the link to a code sandbox code:
https://codesandbox.io/s/affectionate-gould-zoivk?file=/src/App.js
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions