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.

Unexpected Area chart rendering

See original GitHub issue

I’m trying to render Area Chart + Mark Series and I’m running into a case where I have datapoints with same y values. For some reason react-vis area chart is just displaying a line ending in the middle. The same with d3 seems to work fine.

Here is the problem i’m seeing, React-vis example: https://www.webpackbin.com/bins/-KoVm5udhH58CbwxUmaQ D3-example: https://codepen.io/ajainarayanan/pen/gRBPNB?editors=0110

Not sure if I’m doing something wrong or if its a known issue (xDomain not being used to calculate x, y and y0 props for d3.area)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ajainarayanancommented, Jul 10, 2017

@jckr Yes. Thanks a lot for the help! I am closing this issue.

0reactions
jckrcommented, Jul 10, 2017

that should address both your issues btw. It’s the same cause for your 2nd chart. the yDomain for that series is [10,10] so the y-position is, arbitrarily, to the top of the range.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[explore] "Unexpected Error"/chart not render on SUM metric
You will see that data section has correct results but chart can't be rendered. It seems like the SUM metrics are incorrectly being...
Read more >
Google Charts area chart custom tooltip not working as expected
I'm trying to add tooltips to a Google Area Chart, but I'm getting unexpected behavior. I took the Area Chart JSFiddle example and...
Read more >
Area chart options | Looker - Google Cloud
Render log charts with values between 0 and 1. Each y-axis has its own set of configuration options and displays one or more...
Read more >
an error is preventing the chart from being displayed
Cause: This message is displayed when the chart encounters an unexpected exception during rendering. Troubleshooting:.
Read more >
Strange Behavior when rendering chart series via view model
I try to add data series and have them rendered on a chart surface. ... new data series via the viewmodel and here...
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