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.

toggleSeries not working on Pie Chart

See original GitHub issue

Codepen

https://codepen.io/Micene09/pen/REJBWW

Explanation

Labels and serie names are correctly defined but, toggleSeries is not working and the serie selected in the example provided never disappear. Looking at the debugger, seems that there is something wrong about a data:realIndex attribute…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
junedchhipacommented, Jan 8, 2019

Alright, I will add this to the roadmap

1reaction
akmurcommented, Aug 1, 2020

I agree this would be nice and good looking.

Can anyone perhaps give me a working example of how to use the updateSeries in React?

When I try to simply setState, I get an error in console, although the series and the graph is updated correctly.

can't access property "getAttribute", t.parentNode is null
Read more comments on GitHub >

github_iconTop Results From Across the Web

flot pie chart toggle series not working - Stack Overflow
It doesn't work that way for Pie charts. I made a few changes to the dataset to make it work. Here is the...
Read more >
Methods - ApexCharts.js
Each chart method is described in great detail with examples and sample code. ... toggleSeries (seriesName) ... Not required in pie/donut/radialBar ...
Read more >
Toggling multiple series with a single legend item - amCharts
This tutorial will show how you can toggle several Series at once, with a single Legend item. Base chart#. Let's start with a...
Read more >
Pie Chart - Knowledge Base
By default, selecting other sort options does not work in a Pie chart. However, if you check the box for Unsorted Data in...
Read more >
Toggle Series Visibility in FlexChart - Wijmo Docs - GrapeCity
Clicking on legend entries: The chart sets the chart's option.legendToggle property to true, which toggles the visibility property of a series when its...
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