@eioz2,
Creating a multi-series chart with data from 2 JSON files seems to be working fine. You can take a look at this code-snippet for an example where the JSON data is fetched,
$.getJSON("https://canvasjs.com/data/docs/btcusd2018.json", function(data1) {
for( var i = 0; i < data1.length; i++) {
dataPoints1.push({ x: new Date(data1[i].date), y: data1[i].open });
}
chart.render();
});
$.getJSON("https://canvasjs.com/data/docs/btcusd2018.json", function(data2) {
for( var i = 0; i < data2.length; i++) {
dataPoints2.push({ x: new Date(data2[i].date), y: data2[i].close });
}
chart.render();
})
Kindly refer to this updated JSFiddle for an example on the same.
If you are still facing any issues, kindly create a sample project (PHP project) along with a sample JSON reproducing the issue and share it with us over Google-Drive or Onedrive so that we can run it locally to understand the scenario better and help you out.
—
Adithya Menon
Team CanvasJS