Hi,
I would like to know if there’s a way to show a list of Annotations for which the coordinates are stored in lists in my c# code. I can bind the items in the lists like this:
s:SciChartSurface.Annotations …>
s:CustomAnnotation X1=”{Binding XList[0]}” Y1=”{Binding YList[0]}” …/>
s:CustomAnnotation X1=”{Binding XList[1]}” Y1=”{Binding YList[1]}” …/>
s:CustomAnnotation X1=”{Binding XList[2]}” Y1=”{Binding YList[2]}” …/>
s:CustomAnnotation X1=”{Binding XList[3]}” Y1=”{Binding YList[3]}” …/>
/s:SciChartSurface.Annotations …>
Is there a way to do this with something like ItemsControl?
Thanks,
Rachel
- Rachel Myrah asked 5 years ago
- last edited 5 years ago
-
Please pretend there’s “<” in front of the lines there, it won’t show if I include them.
- You must login to post comments
Please login first to submit.