Raphaël Benitte
Raphaël Benitte
@shellyscheng, line breaks are not supported (SVG limitation), regarding customization, it's doable if you're familiar with SVG, while not exactly the same, you can have a look at this example:...
@shellyscheng, you can pass the following layers: `'links' | 'nodes' | 'labels' | 'legends'`. It's not possible to use a custom layer only for certain elements as it replaces all....
This has been fixed for the Bump component via https://github.com/plouc/nivo/pull/2735.
`getColor` is already returned by the `useBar` hook, so I'd suggest to pass this instead of recomputing the same color scale inside the custom layer.
@uson1x, I reviewed the previous PR as it already came from another PR 😅 I think you could submit a PR once the other one is merged, with the added...
As the previous one seems inactive, we should probably go for yours instead.
@uson1x, I think you forgot to run `make fmt`.
I'll try to have a look at this once I'm done with a big PR I'm working on.
Here is a codesandbox for this: https://codesandbox.io/p/devbox/nivo-line-react-19-forked-ng2wjz?workspaceId=ws_Wbxoz5kWYrbECfDsUZGqpu, also, it's best to define `chartData` outside of the component (or to memoize it), otherwise a change in the `App` state will generate...
btw, thank you for the detailed report, even if you didn't provide something I could immediately run, it was straightforward to reproduce (however, it's best to mention the version you're...