Unexpected Area chart rendering
See original GitHub issueI’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:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top 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 >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
@jckr Yes. Thanks a lot for the help! I am closing this issue.
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.