SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on where you can earn rep for your questions!



I would like to create a bitmap/png of the scichart surface.
How can i do this in MVVM?

I saw an example with a “ExportElementToPng(FrameworkElement element, string filename)” function.
This works in Code behind, but in mvvm I don’t have the SciChartSurface.


  • You must to post comments

Update: Since this is a frequently asked question, we’ve created a tutorial on Render to Bitmap, Screen Capture of Charts & XPS Printing.


Best regards,
SciChart Support

  • EJansen
    Thanks,This works great. Good tutorial.I still have 2 questions: I'm creating a scichart completely from code, so no view and viewmodel in between.- How can I set the theme? - How can I set the number of major gridlines to a specific number?I'm using the following code to create an xAxis NumericAxis xAxis = new NumericAxis(); xAxis.AutoRange = false; xAxis.DrawLabels = false; xAxis.DrawMajorGridLines = true; xAxis.DrawMinorGridLines = false; xAxis.MajorDelta = 0.004; xAxis.VisibleRange = new DoubleRange(-0.024, 0.024); scs.XAxis = xAxis;I expect 12 gridparts (0.048 / 0.004), but I only see 10?Thanks, Egbert
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.