Hi Bharath,
Greetings from Syncfusion.
We have analyzed your requirement “Change the color of the Line series in SfDataTimeRangeNavigator” and we would like to let you know that by default, data has been visualized using LineSeries. To achieve your requirement, clear the default Series and add SplineAreaSeries as the content of SfDataTimeRangeNavigator with assigning the desired color using Color property in it as per in below code snippet.
Code Snippet [C#]:
((SfChart)RangeNavigator.Content). Series.Clear();
((SfChart)RangeNavigator.Content). Series.Add(new SplineAreaSeries() { ItemsSource = series.ItemsSource, XBindingPath = "XValue", YBindingPath = "YValue", Color = Color.Red }); |
Please refer below link to know more:
And we have prepared a sample based your requirement and you can download the sample from the below link.
Screenshot:
Please let us know if you need any further assistance.
Regards,
Hemalatha M.