Pre loader

Android SciChart - Export chart to bitmap in memory

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 have issue with export SciChart to Bitamp. I have to generate pdf report from data. Report contains two charts.

It is possible to render chart in memory and export to bitmap? I know it is possible in WPF but I couldn’t achive this in Android.

Now my solution is that I render this charts on fragments and wait 1s on each to render and then save chart. But this solution is not good. For slower devices chart is not exported correctly.

For example on one device have strange grid (only exported bitmap, fragment with this chart looks good):


  • You must to post comments
Best Answer

Hi Marcin,

Yes, it’s possible to render chart in memory. We have an example in our demo application which we use internally for testing of chart export. You can use it as reference for implementing chart export in memory for your application:

 public void exportChartInMemory() {
    final SciChartSurface sciChartSurface = new SciChartSurface(getActivity());

    setRenderSurface(sciChartSurface, renderSurface);


    SciChartSurfaceExportUtil.prepareSurfaceForExport(sciChartSurface, 800, 600);


Hope that this will help you!

Best regards,

  • Marcin K
    It’s works. Thank You
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.