Pre loader

Taking a screenshot of the graph after launch does not display the data points

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums



I’m trying to get the snapshot of SciChart when it’s first loaded to send the rendered graph to an external application without rendering it on the screen in WPF. Calling .ExportToBitmapSource() gets the graph without the data and annotations. I’m currently using v3.2.1.5511. If I bind the function to a button and call the function after it’s rendered, it has no problems and displays it nicely.

this is what my constructor looks like,

        _ChartSurface.Height = 500;
        _ChartSurface.Width = 500;
        _ChartSurface.Measure(new Size(this.ActualWidth, this.ActualHeight));
        _ChartSurface.Arrange(new Rect(new Point(0, 0), this.DesiredSize));

        var bmp = _ChartSurface.ExportToBitmapSource();

I have included a sample project for you guys to see what I’m talking about. The image is automatically copied to clipboard, so you can use a paint program to just paste the image. You can download the project from here, the site seems to have problems while uploading zip files.


  • You must to post comments
Best Answer

Hi Kewur.

Could you try to download the latest build fromNuget and test whether you can reproduce the issue with it? We have recently fixed some regressions in v3.2 related to export to bitmap and I think everything should be ok with latest build.

Thanks in advance.

  • kewur
    I can't seem to find the Nuget package with visual studio, is it still up?
  • Andrew Burnett-Thompson
    You can see our NuGet status here: It does seem to be up
  • kewur
    OK, turns out my company blocks port 81 (: I managed to test it, and it seems to be fixed now, thank you! P.S: you seem to have fixed some other problems I used to have too, so thanks for that. Axes seem to snap nicely with graphs now.
  • Andrew Burnett-Thompson
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.