Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Notification when chart has finished rendering
posted

Hi,

Does chart component have event/property to indicate that rendering process has finished (chart is fully rendered so whole page can, for example, be exported as pdf)? 

Thanks

  • 34810
    Offline posted

    Hello Anton,

    The current implementation of the igx-data-chart does not have an event/notification that is specifically tailored to when the chart has finished rendering at the time of writing this, but I can offer an alternative to this.

    My recommendation as an alternative is to call the flush() method on the chart before you try to print the page or evaluate the visual of the chart. This method will ensure that the chart finishes any deferred work before printing or evaluating the visual.

    If you would like to see a method specifically for when the chart finishes rendering, I would recommend suggesting a new feature request for this at our Ignite UI for Angular GitHub page, here: https://github.com/igniteUI/igniteui-angular/issues. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.

    Please let me know if you have any other questions or concerns on this matter.