Home › forums › Feature Requests & Feedback › https://canvasjs.com/jquery-charts/candlestick-chart-json-data-ajax/
Tagged: candlestick, JSON
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.
You must be logged in to reply to this topic.