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?
- Park Seong Gyu asked 3 years ago
- You must login to post comments
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
- Oleksandr Shvets answered 3 years ago
- You must login to post comments
Please login first to submit.