Setting legend.live to false and toggling a series fails
See original GitHub issueWhen I attempt to toggle a series after setting legend.live to false, it fails with the following error;
uPlot.esm.js:3743 Uncaught TypeError: Cannot read property 'parentNode' of undefined
at toggleDOM (uPlot.esm.js:3743)
at setSeries (uPlot.esm.js:3767)
at eval (uPlot.esm.js:2411)
at HTMLTableCellElement.eval (uPlot.esm.js:1041)
I have attempted to call setSeries
manually instead of using the legend buttons and I get the same issue.
I am using version 1.6.8 of uPlot.
I’m not doing anything that is wildly out of scope for what uPlot’s capabilities are so I am having trouble creating a reduced test case, but would like to help get this sorted. I wanted to avoid a situation wherein I had to recreate series toggling manually, but after resorting to that and seeing setSeries
fail anyway I’m at a loss.
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Reasons that ggplot2 legend does not appear - Stack Overflow
\ I currently have a similar problem (that's why I'm here:) ) . I have a plot including multiple geom_line() commands, I would...
Read more >Python Plotly - How to customize legend? - GeeksforGeeks
In plotly, we can customize the legend by changing order, changing orientation, we can either hide or show the legend and other ...
Read more >Plot Legend Not Correct - MATLAB Answers - MathWorks
So I have a code and want to plot a couple of features. Long story short, my plot legend is a little confused...
Read more >Hide Unhide Data Series in Chart on Legend Click | CanvasJS
Set the showInLegend property to false (showInLegend : false) for second, or third data series and try to click on the legend items!...
Read more >Using the fieldset and legend elements
In this example the question sits above the set of radio buttons, and visually it is clear that the question relates to the...
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 Free
Top 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
pun 💯
no problem. new release should be out by end of this week.