Pre loader

How to set Grid.Row and Grid.Column for SciChartSurface at Runtime

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


We currently have up to 4 charts that are stacked vertically and the data flows horizontally. However, we need to reverse it so that they are stacked horizontally and the data flows vertically. We currently have a grid setup for the charts to be set to but I can’t seem to figure out how to reset the Grid.Row and Grid.Column of each SciChartSurface at runtime.

Horizontally, this is how it looks…

<s:SciChartSurface x:Name="sciChartSurface1" Grid.Row="0" Grid.Column="1">

Vertically, it needs to be this…

<s:SciChartSurface x:Name="sciChartSurface1" Grid.Row="1" Grid.Column="0">

Is this possible to do at runtime/from the backend code?

  • You must to post comments

Hi Brett,

Thanks for your inquiry.
Unfortunately, your question regarding Grid.Row and Grid.Column is a WPF question – not SciChart related. That’s why it goes out of our support scope and we typically don’t answer such questions.
To give you a hint, there is plenty of such info on the internet. For example, here:

Regarding vertically oriented charts, you can find our “Vertical Charts” example useful. Please take a look:

Hope this helps.

With best regards,

  • Brett Bousman
    Thanks for that info! I’m fairly new to WPF so still learning a few things. As for the vertical charts, we’re also using a SciChartOverview control and when I set it to be vertical, the two sliders are actually horizontal. Is there a way to flip those? I don’t see any properties relating to that in the documentation.
  • Brett Bousman
    Disregard, figured it out.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.