Home › forums › Using CanvasJS › PhantomJS screenshot problem
Tagged: phantomjs, screenshots
This topic contains 1 reply, has 2 voices, and was last updated by Suyash Singh 1 year, 3 months ago.
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):
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.ctx.shadowOffsetX = 2;
chart.ctx.shadowOffsetY = 2;
chart.ctx.shadowColor = "rgba(128, 128, 128, 0.5)";
chart.ctx.shadowBlur = 6;
We are looking into it & will get back to you at the earliest.
You must be logged in to reply to this topic.