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.
Example:
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?
- Brett Bousman asked 5 years ago
- last edited 5 years ago
- You must login 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:
https://social.msdn.microsoft.com/Forums/silverlight/en-US/c3fdbc15-f795-414f-af79-d427063c001e/setting-gridrow-in-code-behind-how?forum=silverlightnet
Regarding vertically oriented charts, you can find our “Vertical Charts” example useful. Please take a look:
https://www.scichart.com/example/wpf-chart-example-vertical-charts/
Hope this helps.
With best regards,
Oleksandr
- Oleksandr Shvets answered 5 years ago
- 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.
- Disregard, figured it out.
- You must login to post comments
Please login first to submit.