Home Forums Chart Support Render a chart in a jquery modal

Render a chart in a jquery modal

Viewing 2 posts - 1 through 2 (of 2 total)
  • #42055

    Hi, I’ve got a modal which is shown by jquery with <a rel="modal:open" data-href="mypage.php?arg1=1&arg2=2">Open</a>

    mypage.php contains canvas.js file and when I show it directly, it works fine.

    But when I call it by <a> tag, the graph is not shown. Without any error in console.

    Please help :)

    • This topic was modified 1 year, 8 months ago by SierraGolf3.
    • This topic was modified 1 year, 8 months ago by SierraGolf3.
    • This topic was modified 1 year, 8 months ago by SierraGolf3.
    • This topic was modified 1 year, 8 months ago by Vishwas R.
    #42060

    @sierragolf3,

    Please take a look at this Gallery Page for an example on rendering chart inside jQuery modal.

    Chart inside jQuery Modal

    If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.