When we click on legend buttons, only bars/chart area related to that specific category is being displayed. But the tooltip is showing both the categories’ values instead of showing only the related category value.
We have just released CanvasJS Charts v3.7 with a few bug fixes related to tooltip & it’s content. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.