84 questions
0
votes
1
answer
11
views
How to conditionally change pointColor from Nivo Line Chart
I would like to conditionally change the pointColor of the Line Chart.
Depending of the data value from X Scale, the point should have a different color.
Example:
I've tried to use the prop ...
0
votes
0
answers
134
views
Cannot add property ref, object is not extensible when using @nivo/bar in React
I'm trying to render a bar chart using @nivo/bar in a React project, but when I render my component, I get the following error
import React from 'react';
import { ResponsiveBar } from '@nivo/bar';
...
0
votes
0
answers
46
views
How to add arrow in radial bar chart Nivo
Add arrow on bar chart in Nivo chart
Nivo radial bar chartradial bar chart, also known as a circular bar chart, is a graphical representation of data that uses bars arranged in a circular layout ...
0
votes
0
answers
45
views
Custom Point Tooltip for Nivo Area Bump Chart
I'm trying to create Custom Point Tooltip for Nivo Area Bump Chart some like this for Bump Chart
https://nivo.rocks/storybook/iframe.html?globals=backgrounds.grid:!false&args=&id=bump--custom-...
0
votes
1
answer
114
views
How to render a custom node for @nivo/tree
I am trying to make a tree structure in react. I was trying with @nivo/tree. There's very limited documentation for this library. I couldn't get it to render a custom node. Attaching the code here.
...
0
votes
0
answers
24
views
How to format axis values so that the currency sign is aligned in 1 column, no matter how many chars the number has?
My Line Chart
This is how I want it to align
I have this chart built with Nivo Responsive Line. I have a problem: I want to align currency signs in 1 column, no matter how many characters the number ...
0
votes
1
answer
456
views
How to align Nivo Bar chart label position to end of bar?
Hi I am trying to align the labels of my bar chart to the far right of the bar but haven't been able to do so yet. The docs for Nivo Bar suggests I use a labelPosition="end" property but on ...
0
votes
1
answer
95
views
Tooltip not displaying data with dynamic keys in BarChart
Description
Hi! I'm working on a bar chart. Everything is functioning as expected, except the default tooltip, which appears empty when I hover over the bars. My chart uses dynamic keys for the ...
0
votes
0
answers
190
views
How to make a bar chart in React Js with custom bar component?
I am trying to create a height comparison chart where I want to display the SVG's of kids, men and women based on height instead of bar. But, sometimes, my SVG does not appear completely on the chart ...
0
votes
1
answer
593
views
How does nivo calculate the width of the bars on a chart?
I want to dynamically allow the labels on the bar charts depending on the width of the bars - if it gets to thin the labels are not looking good and often overlap. However I don't really want to mess ...
0
votes
1
answer
204
views
npm ERR! code E404 while installing react packages
While building a Typescript based fullstack project i am getting the following error
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@mui%2ficon-material - Not found
npm ERR!...
0
votes
1
answer
188
views
Nivo stream chart change axisBottom values
I am trying to use nivo stream chart in react application
const data = [
{
cxp_differnce: 600,
cxp_utilized: 1000,
},
{
cxp_differnce: 7000,
cxp_utilized: 3000,
...
0
votes
0
answers
49
views
Months out of order using Nivo's ResponsiveBar
Using Nivo's Responsive Bar (official docs here) and React, I've managed to create a bar chart with data showing up but the months on the X-axis are out of order. Here's the code and currently the X-...
1
vote
0
answers
1k
views
Nivo format y axis for any chart type
Can anyone help me on how to format the y-axis in Nivo with any type of chart, my scenario is that I want to show the data example: 0, 4000, 8000, 12000 etc. But now in Nivo it always shows 0, 2000, ...
1
vote
1
answer
907
views
Remix.run and Nivo charts
I have a problem using Nivo charts with remix.run. Can't compile, error:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\tomer\Code\remix-es\node_modules\d3-color\src\index.js from C:\Users\...