Pre loader

Tag: baserenderableseries

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 votes
8k views

I do not seem to be able to set the property YAxis.Visibility of BaseRenderableSeries as part of a Trigger.

<Style TargetType="s:BaseRenderableSeries">
        <Style.Triggers>
            <Trigger Property="IsVisible" Value="True">
                <Setter Property="YAxis.Visibility" Value="Visible"/>
            </Trigger>

            <Trigger Property="IsVisible" Value="False">
                <Setter Property="YAxis.Visibility" Value="Collapsed"/>
            </Trigger>
        </Style.Triggers>
    </Style>

I want to make the associated yAxis Visiblity be a function of whether the matching Renderable Series is visible or not. I checked and BaseRenderableSeries has a YAxis property that can be set. Why is “YAxis.Visibility” in the setter property throwing an error in xaml?

Note: I have multiple yAxes in one surface and each renderable series has its own yAxis

Thanks

  • bbmat asked 8 years ago
  • last active 8 years ago
Showing 1 result

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies