Home › forums › Chart Support › chart with data from json › Reply To: chart with data from json
Based on the data you have shared above and considering your requirement, using CanvasJS StockChart will suit your scenario. It comes with built-in features like inputfields and range buttons using which you can select a specific range that is needed to be displayed in the viewport. Selecting the last 250, 500 or 750 days can be achieved using custom range buttons for which you can define the range and rangeType property as shown in the below code snippet.
label: "250 Days",
label: "500 Days",
label: "750 Days",
Also, for selecting precise date range (data to date range), you can use inputFields. Please take a look at this JSFiddle for an example.