Export FlexChart image

Posted by: josh.nguyen on 1 May 2018, 3:12 am EST

    • Post Options:
    • Link

    Posted 1 May 2018, 3:12 am EST

    Hi,

    I followed this example to export FlexChart as image

    https://www.grapecity.com/en/blogs/web-api-export-flexchart-to-an-image

    It worked. However, my chart has several AnnotationLayers and they are not in the image. Is there a way to do this?

    Thank you,

  • Posted 1 May 2018, 10:38 pm EST

    Hi Josh,

    Please try the FlexChart saveImageToFile method to export FlexChart.

    Please refer to the following code snippet:

    var theChart=wijmo.Control.getControl("#theChart");
    theChart.saveImageToFile('chart');
    

    Please refer to the fiddle sample for the same:

    http://jsfiddle.net/zotdtf68/

    ~Manish

Need extra support?

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

Learn More

Forum Channels