SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

0
0

I want to express a different graph according to the state of the button.

<s:SciChartSurface.Style>
            <Style TargetType="s:SciChartSurface">
                <Style.Triggers>
                    <DataTrigger Binding="{Binding Path=IsEnabled, ElementName=swStack}" Value="True">
                        <Setter Property="YAxes" Value="{Binding StackYAxisList}"/>
                        <Setter Property="RenderableSeries" Value="{s:SeriesBinding StackRenderableSeriesList}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding Path=IsEnabled, ElementName=swStack}" Value="False">
                        <Setter Property="YAxes" Value="{Binding TotalYAxisList}"/>
                        <Setter Property="RenderableSeries" Value="{s:SeriesBinding TotalRenderableSeriesList}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </s:SciChartSurface.Style>

I get an error saying that s:SeriesBinding is not supported.

What should I do?

Version
6.3.0.13476
  • You must to post comments
0
0

Hi Park Seong Gyu,

Thanks for your inquiry.
Could you please provide us with more information regarding what are you trying to achieve? An image or mockup of the desired state could be helpful.

Thanks in advance.

With best regards,
Oleksnadr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.