Pre loader

Overview Code-Behind issues

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

0
0

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.

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

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

  • 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