Home forums Report Bugs Canvasjs Used with an hta extension

This topic contains 2 replies, has 2 voices, and was last updated by  ipapop 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20466

    ipapop
    Member

    Hello

    In general all canvasjsexamples.html work seamlessly when launched with an hta extensions.
    One particularly interesting example including dates within an array however generates a syntax error.

    Zooming and Panning With dateTime Values mentionned here:

    Zooming & Panning

    It seems to be a syntax error (missing tag) that i cannot pinpoint.
    I am wondering if any one has been able to identify it.

    #20468

    Vishwas R
    Keymaster

    @ipapop,

    Thanks for bringing it to our notice. You were facing the issue due to trailing comma in chart-options data: data, // random generator below. Removing trailing comma should work fine in your case. We have updated the code in docs, please try with latest code or try removing trailing comma data: data // random generator below


    Vishwas R
    Team CanvasJS

    #20469

    ipapop
    Member

    Vishwas Thank You very much impeccable spotting !!
    Indeed It solves the issue .

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

You must be logged in to reply to this topic.