question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pie chart breaks updating from 0.22.3 to 0.22.4

See original GitHub issue

Updating to version 0.22.3 to version 0.22.4 breaks this chart.

            <PieChart width={330} height={250}>
              <Tooltip />
              <Pie
                data={quotaData}
                outerRadius={100}
                dataKey="email prova"
                innerRadius={30}
                fill="#8884d8"
                paddingAngle={1}
                label={({ value, date }) => `${date}GB`}
              >
                {quotaData.map((entry, index) => (
                  <Cell key={`cell-${index}`} fill={COLORS[index]} />
                ))}
              </Pie>
            </PieChart>

It doesn’t render anymore and gives no errors. Am I missing something? I see nothing related on the changelog.

It asks me for a dataKey prop on the <Pie> component to be required, but even adding it, it does not render.

Meanwhile, I will try to find out what happen and will report here more details if needed.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

4reactions
mattmastcommented, Jun 1, 2017

I have the same question as wesbos.

2reactions
pbdmcommented, Jun 2, 2017

have got the seme issue, on version 1.0.0-alpha.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Explode or expand a pie chart - Microsoft Support
Quickly change a pie chart in your presentation, document, or spreadsheet. Explode the entire pie chart or just one piece. Change to a...
Read more >
Update the data in an existing chart - Microsoft Support
Learn how to update the data in an existing chart from its source. Edit a chart in Excel, create a chart from a...
Read more >
Video: Customize a pie chart - Microsoft Support
Training: We've added our data to the pie chart. Now let's customize the chart so it has the details and style we want....
Read more >
How to Update, Move, and Create a Pie Chart in MS Office
In this video I show you basic editing of an Excel 2016 workbook. I show how to delete a background and organize data...
Read more >
How to: Update a Pie Chart in Slides - YouTube
Update a Pie Chart in Slides What is Google Workspace? → http://goo.gle/3vSjgUrSet up Google Workspace →https://goo.gle/3InFfYbLearn More ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found