Pre loader

How to place a groupbox within Scichart

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

1
0

I want a group box to be placed on SciChart to the extreme left corner where in if i copy and paste the SciChart to word document group box must be visible with SicChart

  • You must to post comments
0
0

Hi Anitha,

If you are calling SciChartSurface.ExportToBitma(), it will only export the elements that are actually within the SciChartSurface’s visual children.

So the GroupBox – depending on how it is placed on the SciChartSurface may not be a visual child, therefore will not be exported when you call ExportToBitmap().

To include an element in the visual children of the SciChartSurface, you have three choices:

  1. You can re-template the SciChartSurface control template. This is complex and over the top for what you want
  2. You can place elements inside the SciChartSurface.RootGrid, which is simply a grid, at the root of the SciChartSurface
  3. You can place elements on the SciChartSurface.ModifierCanvas, which is a canvas over the top of the SciChartSurface
  4. You can place elements inside a CustomAnnotation inside the SciChartSurface.

Once you do that, calling SciChartSurface.ExportToBitmap() should include the elements in the screenshot.

Best regards,
Andrew

  • You must to post comments
0
0

Please find attached pdf’s.
With groupbox pdf is my requirement and other one(without groupbox) is what iam getting currently when iam copying chart to word document. I just used groupbox and placed on scichart may be that is where iam going wrong. How to overcome this problem

  • You must to post comments
Showing 2 results
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