Home forums Using CanvasJS images not working while integrating 2 charts on same page Reply To: images not working while integrating 2 charts on same page

#22645

Vishwas R
Keymaster

@abhishek3dmaster,

You are adding images on top of 1st chart-container even while adding it to 2nd chart because of which you can’t see images positioned on top of 2nd chart. Changing .appendTo($("#chartContainer>.canvasjs-chart-container")) to .appendTo($("#chartContainer2>.canvasjs-chart-container")) within ‘addimages2’ method should work fine in your case.


Vishwas R
Team CanvasJS