Home forums Using CanvasJS PhantomJS screenshot problem

This topic contains 1 reply, has 2 voices, and was last updated by  Suyash Singh 3 weeks, 3 days ago.

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

    Cristi S.
    Member

    Hi guys,

    For this chart, I later take a screenshot with phantomJS. I used it successfully for many CanvasJS charts, but in this case here is what I get back, even if I wait 20 seconds to be fully rendered (and I have animation and interactivity turned offf):

    screenshot

    Any idea what this could be? I only suspect it is the way I apply the shadows, at the end, or the render calls.

    
    ...
    var chart = new CanvasJS.Chart("chart_div", options);
    chart.render();
    chart.ctx.shadowOffsetX = 2;
    chart.ctx.shadowOffsetY = 2;
    chart.ctx.shadowColor = "rgba(128, 128, 128, 0.5)";
    chart.ctx.shadowBlur = 6;
    chart.render();
    

    Thanks,
    Cristian

    #17660

    Suyash Singh
    Moderator

    @cristian,

    We are looking into it & will get back to you at the earliest.

    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.