Setting LineKind to Spline for XYChart

Posted 10 months ago by Avatar manu mohan


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.

Comments (1)

Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA


Sorry, the series' property is the only way to set the line kind.  If you simply update the existing series' ItemsSource (instead of making a new series) each time you need to "refresh" then you shouldn't have to update the line kind again.

Actipro Software Support
Information The latest build of this product (2018.1 build 0673) was released 29 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.