SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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?
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
Please login first to submit.