@charthelpplz,
The StackBlitz shared above seems to be working fine. Please refer to the screenshot below.
If you are still facing issue, kindly create an example reproducing the issue in StackBlitz and share it with us so that we can look into the code, understand the scenario better and help you resolve.
___________
Indranil Deo
Team CanvasJS