Home Forums Feature Requests & Feedback https://canvasjs.com/jquery-charts/candlestick-chart-json-data-ajax/


Viewing 2 posts - 1 through 2 (of 2 total)
  • #22641

    Hey! This is a pretty example, but the JSON formatting looks really contrived. What if we don’t we get data handed to us on a silver platter like this? Isn’t it more realisitic to use 4 fields for HLOC values? Is there an example for thatl, perchance…noob friendly?



    You can store JSON data the way you want. But before passing dataPoints to the chart, you need to parse it to the format accepted by CanvasJS. Please take a look at this JSFiddle where Open, High, Low, Close data are stored separately.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.