Skip to content

DevExpress-Examples/how-to-generate-series-of-different-view-types-using-the-mvvm-binding-style-t500832

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

How to generate Series of different view types using the MVVM binding style

This example demonstrates how to generate different Series from a view model. Note that you can bind secondary axes and custom labels using the same approach. The XYDiagram2D.SeriesItemsSource property defines a collection of objects used to generate Series. To configure how the series view model is converted to a series on a chart, use the XYDiagram2D.SeriesItemTemplateSelector property.

See also: How to generate Series of identical view types using the MVVM binding style.

Description

To bind series view models to a chart, use the SeriesItemsSource property of a diagram. To configure how the series view model converts to a series on a chart, use SeriesItemTemplate or SeriesItemTemplateSelector. In this example, the Template Selector is used to convert the selected series type from Line to Range Area.


Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)