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

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 1 month ago.

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

    wonky
    Member

    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?

    #22648

    Vishwas R
    Keymaster

    @wonky,

    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.