You must be logged in to post your query.
Home › Forums › Report Bugs › Canvasjs Used with an hta extension
Tagged: Canvasjs Used with an hta extension
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.
@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
data: data, // random generator below
data: data // random generator below
— Vishwas R Team CanvasJS
Vishwas Thank You very much impeccable spotting !! Indeed It solves the issue .
You must be logged in to reply to this topic. Login/Register