Dynamically add multiple line series on an XYChart

Charts for WPF Forum

Posted 7 months ago by Fanis
Version: 22.1.1


I need to dynamically add multiple line series on a chart. Do you have any sample codes showing how this can be done as all the examples I have found add lines statically?

Thank you.

Comments (1)

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


You should be able to create your series programmatically, setting similar properties to the XAML examples.  Then add it to the chart via a line like this:


Actipro Software Support

The latest build of this product (v22.1.4) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.