Hi,
We have a chart that uses the compare tool with the option to reset the comparison by using yAxis[0].setCompare("none"). It's based on this demo: https://jsfiddle.net/gh/get/library/pur ... setcompare
Our chart also uses the dataGrouping approximation setting, but this causes issues with setCompare. yAxis[0].setCompare("none") causes an error if the chart's series has the dataGrouping approximation setting defined. The error shown in the console is "caught TypeError: Cannot read properties of undefined (reading 'forEach')" Example (built on top of the demo linked above): https://jsfiddle.net/maliu/Lcfobpzg/10/
Thanks for any help with this issue!