@ayomirotoye,
It seems to be working fine. Can you kindly share sample project over Onedrive or Google-Drive so that we can look into your code, understand your scenario better and help you out?
Please find the screenshot below:

—
Vishwas R
Team CanvasJS