Afternoon guys, I’ve got an overview defined as below:
<Grid Name="MainWindowGrid" Margin="0,0,0,0" DataContext="{Binding Source={StaticResource ViewModel}}"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> <RowDefinition Height="25"/> </Grid.RowDefinitions> <Menu Height="23" VerticalAlignment="Top" Width="Auto" Grid.Row="0" IsMainMenu ="True"> ...Stuff </Menu> <Grid Name="ChartsGrid" Grid.Row="1"/> <Grid/> <SciChart:SciChartOverview x:Name="overview" Grid.Row="2" SciChart:ThemeManager.Theme="ExpressionLight" Margin="1,0,1,1"/> </Grid>
I define all of my different surfaces within the ChartsGrid grid and then attempt to bind the first one to the overview below it. I can manage to get the two linked by doing
overview.ParentSurface = (ChartsGrid.Children[0] as BaseChart).Surface;
which gets me a functional (though not ideal) association. My issue for now comes in with simply trying to change the color of the overview fill. AreaBrush doesn’t seem to change anything, but the only other coloring option I’ve got is AreaColor and that has been documented as obsolete. Suggestions? Help? The only thing I can manage is, no matter the color input, I get a fill color of beige/flesh tone.
- rcannon asked 10 years ago
- You must login to post comments
What happened to NonSelectedRangeColor and AreaColor in v3? They’ve been wiped off SciChartOverview. Any suggestions what should be used instead?
I’m trying to upgrade to v3.x from v2.2 and your search engine gives a very humble result about these properties.
- Klaus answered 9 years ago
- last edited 9 years ago
-
Hi Klaus, have a look here https://www.scichart.com/questions/question/styling-the-overview and here http://support.scichart.com/index.php?/Knowledgebase/Article/View/17251/43/scichartscrollbar---per-axis-scrollbars-api. In SciChart v3.2 onwards, the SciChartOverview is based on the new SciChartScrollBar API. You can style the overview directly by applying the SciChartOverview.ScrollbarStyle. I hope this helps, if you have any other questions, just open a new FAQ on the forums and we'll answer!
- You must login to post comments
Hi there,
Please, try changing the NonSelectedRangeColor property.
Thanks for reporting this. We are aware the Overview has usability issues, it is in our plans to improve it. Probably it will be done in one of the updates to v3.0. If you have any suggestions, ideas or requirements concerning the Overview, please, feel free to email us.
Best regards,
Yuriy
- Yuriy Zadereckiy answered 10 years ago
- You must login to post comments
Please login first to submit.