0👍
✅
It looks like you can tell if a segment is hidden now by looking at the chart
object using the _hiddenIndices
property:
hidden: chart._hiddenIndices[i] === true,
Alternate way using getDataVisibility
per yoduh’s comment:
hidden: !chart.getDataVisibility(i),
Source:stackexchange.com