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.

Event data for transformed traces is inconsistent

See original GitHub issue

This plot is throws an error whenever I hover in 1.28.2:

https://codepen.io/rsreusser/pen/bRRBjg

Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.exports.appendArrayPointValue (plotly-1.28.2.js:113510)
    at _hover (plotly-1.28.2.js:113987)
    at Object.hover (plotly-1.28.2.js:113608)
    at SVGRectElement.maindrag.onmousemove (plotly-1.28.2.js:138465)

Apologies this isn’t a simpler plot type, but I’ve noticed this while working on groupby and the splinter tests now seem to be failing because of it. I tried and failed to reproduce it with a plain codepen, so this is the first time I’ve been able to reproduce it in a couple lines.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
etpinardcommented, Nov 16, 2017

A quick note about this ticket post-https://github.com/plotly/plotly.js/pull/2162 (see also https://github.com/plotly/plotly.js/issues/2128) where all transforms now compute indexToPoints map objects.

Adding indexToPoints to the ohlc and candlestick transform modules could somewhat easily resolve this ticket here.

That said, I think we should instead spend the time (not more than 1-week) rewriting ohlc and candlestick w/o transforms altogether. Making ohlc and candlestick conventional trace types with there own calc step and thoughtfully reusing Scatter.plot and Box.plot in their plot step would make them a lot less painful to work with (especially in the plotly workspace and for fixing https://github.com/plotly/plotly.js/issues/2004).

1reaction
etpinardcommented, Jun 26, 2017

@rreusser 's https://github.com/plotly/plotly.js/pull/1808 brought back hover for finance traces, but this issue isn’t completely resolved.

Event data for finance traces and, more generally, all transformed traces isn’t currently showing all array attribute values as what PR https://github.com/plotly/plotly.js/pull/1770 put forward for non-transformed traces.

Changing the issue title accordingly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Telemetry Data 101 - New Relic
Traces —or more precisely, “distributed traces”—are samples of causal chains of events (or transactions) between different components in a microservices ...
Read more >
TraceState: Probability Sampling - OpenTelemetry
As stated in the completeness guarantee, traces will be possibly incomplete when configuring multiple consistent probability samplers in the same trace. One way ......
Read more >
Comparative Effects of Event Detection Methods on ... - Frontiers
Events were identified from each ROI trace using either a dF/F0 thresholding method or continuous wavelet transform of each trace followed ...
Read more >
Failover Clustering system log events | Microsoft Learn
A list of Failover Clustering events in the Windows Server System log. These events can be used to troubleshoot a cluster.
Read more >
Repairing Event Logs with Missing Events to Support ... - NCBI
Therefore, it is essential to repair the event data before analysis. ... we aim to transform incomplete event data into complete event data....
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