I want to ask:
- Could I set priority of the Series's to control which one will overleap the others.
- Could I custom a lineSeries template to have arrow at the last point.
Please see attach's to clear the idea.
1. The series of the RadChartView are visual elements which reside in a Canvas. Whichever series you have declared last will be drawn on top of the others. So if you need to have a certain series drawn on top of the others, make sure it is the last in the Series collection of the ChartView. Another approach you can try is to set the ZIndex of the series you need to bring to the top ( <telerik:LineSeries ZIndex="1000" /> ).
2. I have attached a simple app that demonstrates the use of the PointTemplateSelector property of the chart. In the template selector you can determine whether this is the last data point and assign the appropriate data template.
Thanks for your help.I created a TemplateSelector as you sugested and now it works fine . One more thing: -The Chartview doesn't has the TooltipTemplateSelector as the Series have PointTemplateSelector.
-I don't want the first & last point to show tooltip, so how can we have difference tooltip template for each Series (or Points) ?
You can trigger the tooltip by setting the ToolTipTemplate property of ChartToolTipBehavior to a valid DataTemplate object during design-time. In the Template, you may control the Visibility of its content via Converter. You may find Petar's project modified and attached here with the ToolTip template mentioned above.