Home Forums Report Bugs Canvasjs Used with an hta extension

Canvasjs Used with an hta extension

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

    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:
    https://canvasjs.com/docs/charts/basics-of-creating-html5-chart/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

    @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

    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.