![Avatar](https://secure.gravatar.com/avatar/ebdf46378cd523509ea018fd59bedff9.jpg?s=64&d=identicon&r=g)
Hi,
I am using XYChart for plotting line series data. I want to display data as normal line series and also as spline.
Now i need to set the LineKind at LineSeries level when i create the data for the chart as given below.
new LineSeries
{
ItemsSource = {},
XPath = "Time",
YPath = "Value",
LineKind = XYSeriesLineKind.Spline,
MarkerVisibility = ChartMarkerVisibility.All
}
Is there a way to set the LineKind for the entire control when we create the instance of the control itself, so that when i am refreshing it at a particular interval i dont have to set it each time.