Is it possible to enableSlices for both x and y?
See original GitHub issueHi,
According to the example and also the type definition ((JSX attribute) enableSlices?: false | "x" | "y" | undefined
) for the enableSlices attribute, I can only enable one at a time. Would it be possible, somehow, to add the horizontal dashed line on the hover (making a cross) but having the same behaviour as enableSlices=“x”? (like the tooltip showing all the current multiple line values)
Like this, but also having the horizontal line while hovering
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Line chart | nivo
Given an array of data series having an id and a nested array of points (with x, y properties), it will compute the...
Read more >Area color from marker [Line Chart] #652 - plouc/nivo - GitHub
If the line chart goes over that marker, I'd like to fill in a (red) area from the line to the marker. Is...
Read more >@nivo/line examples - CodeSandbox
Learn how to use @nivo/line by viewing and forking @nivo/line example apps on CodeSandbox.
Read more >Nivo line chart with X as dates and Y as number - Stack Overflow
I'm trying to implement a nivo line chart where the data from backend looks like this: const data = [ { id: 'events',...
Read more >microsoft excel - Graph keeps showing two different lines
X and Y table but it is showing two lines (x is a line and Y is a line) while what i want...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nigellima I’m glad you found a way to achieve what you wanted! I’m gonna close this then.
@wyze @plouc I’ve managed to achieve the results by customizing the single point tooltip (adding all values as it was enableSlices=“x”). Thanks for your support