Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to bind a numeric chart range control client to a point collection

$
0
0

This example demonstrates how to bind a numeric chart range control client to a System.Windows.Media.PointCollection containing System.Windows.Point objects.

For this, declare a point collection as a static resource, bind it to the ChartRangeControlClient.ItemsSource property and set the ChartRangeControlClient.ArgumentDataMember property to "X" and the ChartRangeControlClient.ValueDataMember property to "Y".

Note that the numeric chart client sorts data from the point collection by arguments in the ascending order (if the ChartRangeControlClient.ArgumentDataMember property is specified). If you wish to see data in the order in which points have been added to the collection, do not use the ChartRangeControlClient.ArgumentDataMember property.

See also:

- How to bind a numeric chart range control client to an array of integers;
- How to bind a numeric chart range control client to a list of custom objects.


Viewing all articles
Browse latest Browse all 7205

Latest Images

Trending Articles



Latest Images