Home forums Using CanvasJS Send chart through email templates

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23857

    how can i send chart created from canvasjs into email template ?

    #23865

    @rahultanwar,

    For Security reasons, modern email providers have disabled Javascript for incoming emails. Hence, it is not possible to integrate CanvasJS Charts in an email.

    However, you can render the chart on the server side using a headless browser like PhantomJS, then captures the chart image from a web page, save it to a particular location and use the same within your email template.

    Please download the sample project from this forum thread for more information.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.