Hi,
We are adding number of ScatterSeries in the chart dynamically and it is showing data proerly, and assigning a list of objects to the series.We need to add marker with some label other then XMemberPath, YMemberPath. Can you help me to define Cutom marker like WorldStat demo?
Thanks
Thanks a lot, irt is working for me,
I am using following
<
DataTemplate x:Key="TopChartMarkerTemplate">
Is it possible to force the rectangle to use the system assigned to marker or legend in fill property?
You can set the MarkerTemplate property of the series to a DataTemplate to use to display the markers for that series. The DataTemplate can refer to any of the properties of its containing series or any of the properties of the Item with which it is associated. For example, if you wanted your markers to be 5x5 rectangles that were colored based on a brush stored in each item in a property called Color, you could use this DataTemplate:
<DataTemplate> <Rectangle Width="5" Height="5" Fill="{Binding Item.Color}" /> </DataTemplate>
Hope this helps!
-Graham