`x` property is undefined for ticks in @nivo/stream chart
See original GitHub issueWhen using tickValues
option (e.g. tickValues = [‘a’, ‘b’, ‘c’]) in Stream
or ResponsiveStream
> axisBottom
all the labels get rendered on the left because x
is is undefined so the transform attribute is translate(undefined, y)
.
Also in the renderTick
function the argument is missing x
property. e.g.
{
format: undefined,
lineX: 0,
lineY: 5,
opacity: 1,
rotate: 0,
...
value: 'a'
x: undefined,
y: 0,
}
Thank you.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Chart.js - x-axis and tooltip label shows "undefined" in Chrome ...
I have an issue with Chart.js on my website. The chart is showing properly when the app language in Chrome is set to...
Read more >Tick Identification Chart Tick-borne Disease Chart - Virginia.gov
Tick Identification Chart. Tick-borne Disease Chart. For more information visit www.vdh.virginia.gov/TickBrochure. Original image by Litwak for CDC; ...
Read more >Tick-borne disease prevention - Mass.gov
Ticks are tiny bugs most likely found in shady, damp, brushy, wooded, or grassy areas (especially in tall grass), including your own backyard....
Read more >ReferenceError: reference to undefined property "x" - JavaScript
The JavaScript warning "reference to undefined property" occurs when a script attempted to access an object property which doesn't exist.
Read more >Cannot Read Property of Undefined in JavaScript - Rollbar
Table of Contents. What Causes TypeError: Cannot Read ... TypeError: Cannot read properties of undefined (reading x). Error type: TypeError ...
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
I’d like to change the structure of the data to match the line component so it’s easier to customize the scale type used on x axis.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!