Home Forums Feature Requests & Feedback Cannot read property 'textBlock' of undefined

Cannot read property 'textBlock' of undefined

Viewing 6 posts - 1 through 6 (of 6 total)
  • #13538

    I am evaluating CanvasJS for my company. I have everything working and it looks like it will do what we need, but I have run across one problem.

    If I use:

    includeZero: false

    And then click the legends to turn all of them off, I get:

    TypeError: Cannot read property ‘textBlock’ of undefined

    This also happens if I try to create a chart with no data.

    Here is a jsfiddle that shows the error:


    It is based on the thread here:


    I am not using Angular, but still have the problem.



    Thanks for reporting the issue. The issue has been fixed and will be releasing in couple of days.


    Any update on this? We bought it today and this is still a problem in the commercial version.



    We will be releasing the resolved one in couple of days.



    We have just released v1.9.5.1 with this bug fix. Please refer to the release blog for more information.

    Please download the latest version and let us know your feedback.

    Vishwas R
    Team CanvasJS


    It appears to be working fine now.


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.