Pre loader

Clone SciChartSurface to export to multiple bitmaps

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

0
0

Hi,

Is there a way to export the current surface to a bitmap while changing the VisibleRange ?

For example: when the XAxis is a DateTimeAxis, I want to export the chart per hour, per day or per week.

What is the best way to clone the current chart to render in memory ? Or is there a better option ?

Version
3.6
  • You must to post comments
0
0

Hi Bart,

There is, in v4.1.1 of SciChart, we have exposed a method

// SciChartSurface
protected virtual SciChartSurfaceBase CreateCloneOfSurfaceInMemory(Size newSize)
{
}

This returns a cloned chart at the specified size. If you inherit SciChartSurface you can expose or call this method.

In v3.6 there is no such method, but some people have reported success using our Serialization to serialize a chart to XML, then deseriaizle, to create a clone.

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies