SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I’m using few synchronized charts to display different data series, I would like to have an ItemsControl which shows points info from all the charts, is it possible?
Hi there,
I just tried to implement desired behavior in this way:
<Grid Grid.Row="1"> <Grid.Resources> <CompositeCollection x:Key="SeriesInfos"> <CollectionContainer Collection="{Binding ChartModifier[RolloverModifier].RolloverData.SeriesInfo, Source={x:Reference chart0}}" /> <CollectionContainer Collection="{Binding ChartModifier[RolloverModifier].RolloverData.SeriesInfo, Source={x:Reference chart1}}" /> .......... </CompositeCollection> </Grid.Resources> <ItemsControl ItemsSource="{StaticResource SeriesInfos}" ItemTemplate="{StaticResource ChartDataTemplate}" /> </Grid>
It seems to be working well, but usage of this approach assumes that you have permanent amount of charts.
Please, let us know if this is suitable solution for you.
Best regards,
Yuriy
Please login first to submit.