Chart Export - Security Message

Posted by: marcus.nixon on 3 April 2019, 8:37 pm EST

  • Posted 3 April 2019, 8:37 pm EST

    Hi. I’m having trouble exporting v5 charts under IE - I just get a security issue. Looks like someone else had the same issue, and the reply was

    “Please include CanvasRenderEngine.js(from FlexChartExport sample) to your project. It should resolve the security issue in IE.”

    Can you include a link to this file please, as I cannot find it in your sample code. I have run the sample explorer on line and it does indeed export under IE correctly, but that sample project doesnt seem to be included with your downloadable samples.

    https://www.grapecity.com/en/forums/wijmo/security-error-when-saving_1

  • Posted 3 April 2019, 11:06 pm EST

    Hello,

    To export charts in IE easily, use the wijmo.chart.render module. It provides various render engines to render the charts.

    API Reference:

    https://demos.wijmo.com/5/Angular/WijmoHelp/WijmoHelp/topic/wijmo.chart.render.Module.html

    chart.zip

  • Posted 4 April 2019, 8:20 pm EST

    Thanks for that, thats fixed the issue. However, it’s exporting the chart with a black background, rather than a white one. Is there anything I can do about that?

  • Posted 4 April 2019, 9:37 pm EST

    Query Link:

    https://www.grapecity.com/en/forums/wijmo/chart-export---security-me

    Hello,

    The background color of the charts dependent upon its image format. If the image is in PNG format, its background will be transparent and if it is JPEG, it will have a black background. Let me know if you need additional clarification.

  • Posted 4 April 2019, 9:37 pm EST

    Query Link:

    https://www.grapecity.com/en/forums/wijmo/chart-export---security-me

    Hello,

    The background color of the charts dependent upon its image format. If the image is in PNG format, its background will be transparent and if it is JPEG, it will have a black background. Let me know if you need additional clarification.

  • Posted 7 April 2019, 7:21 pm EST

    But if it’s a black background, you can’t read any of the black text? Surely that’s not very useful, or am I missing something? Is there no way to make the background white? If you wanted to insert that image into a document, it would look odd with a black background.

  • Posted 9 April 2019, 9:38 pm EST

    Hi,

    We have escalated this issue as bug to our Dev Team with Internal TrackingID 374664. We will update you on this soon.

  • Posted 17 April 2019, 5:17 pm EST

    Hi,

    Could you please try setting the Chart Background to white in css before exporting and let us know if this helps.

    wj-flexchart {
        background: white;
    }
    
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels