Questions tagged [recharts]

Recharts is a composable charting library built on React components and D3

Rechart's website, Rechart on GitHub

773 questions
-1
votes
1 answer

how to achieve inside curve of barchart using recharts

Expected Output I want to achieve similar charts using recharts library is there any thing that i can achieve similar charts? here is my snippet
Mayank Pandav
  • 425
  • 5
  • 20
-1
votes
1 answer

Recharts tooltip crashes only when logger removed from redux middleware

This application has been working fine for a while now. My local environment works but production gets crashed when tooltip moves too quickly or over too much of the line chart. After i updated some features it still worked normally in development.…
lnuikcek85
  • 19
  • 5
-1
votes
2 answers

how to access color in recharts from json?

I'm using barchart in recharts const data = [ { name: 'Page A', uv: 4000, pv: 2400, color:'yellow', amt: 2400 }, ]; const SimpleBarChart = (data) => ({ return (
ronnie
  • 69
  • 1
  • 10
-1
votes
1 answer

downhole chart - recharts or chart.js or anything else?

good day, a non typical question, please don't bite. I am using a react library. I need to implement a downhole plot chart and typically, for charts, I use recharts library (https://recharts.org/en-US/). But I never met such graphs that our designer…
deathfry
  • 626
  • 1
  • 7
  • 28
-1
votes
1 answer

Multi series not working in Bar Chart in Recharts

I need to create a bar graph with one of the format below. data1 or data2 const data1 = [ { day: 'ABC', data :[ {job_name: "Mon", value: 4}, {job_name: "Tue", value: 5}, {job_name: "Thu", value: 18}, {job_name: "Fri", value: 5} ] }, { day: 'DEF',…
-1
votes
1 answer

Is it possible in recharts to set how big the interval should be between tics?

I am trying to customize number of xaxis tics in my bar chart. I like how recharts automatically has squeezed most of the data points before 50 but I would really like the tics to be more like 0,50,100,150,200,250. If I ad type="number" and…
Henke
  • 99
  • 8
-1
votes
1 answer

Real timeyness in recharts?

Sorry if this is not appropriate question for SO: I want to open a socket and feed data to a simple line graph as real time as possible. maybe 4 refreshes per second? A lot of google searching and not much has turned up wrt how to handle this. is…
Azeli
  • 698
  • 7
  • 16
-2
votes
3 answers

How can I get totals from array of objects with string values?

Input: [ { 15: "3.0", 20: "6.0", 34: "4.0, Dosis: "First", Sex: "Male" }, { 15: "3.0", 27: "6.0", 32: "4.0, Dosis: "Second", Sex: "Male" }, { 15: "", 23: "12.0", 44: "7.0, Dosis:…
1 2 3
51
52