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 Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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

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
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
Showing 2 results
Your Answer

Please first to submit.